Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeapLabTHU/limit-of-RLVR
/ functions
Functions
1,933 in github.com/LeapLabTHU/limit-of-RLVR
⨍
Functions
1,933
◇
Types & classes
193
↳
Endpoints
42
↓ 1 callers
Method
exitPostfix
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:212
↓ 1 callers
Method
exitPostfix_nofunc
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:221
↓ 1 callers
Method
exitPostfix_op
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:230
↓ 1 callers
Method
exitRelation
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:122
↓ 1 callers
Method
exitRelation_list
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:131
↓ 1 callers
Method
exitRelation_list_content
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:140
↓ 1 callers
Method
exitSubeq
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:563
↓ 1 callers
Method
exitSubexpr
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:545
↓ 1 callers
Method
exitSupeq
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:572
↓ 1 callers
Method
exitSupexpr
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:554
↓ 1 callers
Method
exitTransform_assignment
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:68
↓ 1 callers
Method
exitTransform_atom
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:41
↓ 1 callers
Method
exitTransform_scale
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:50
↓ 1 callers
Method
exitTransform_swap
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:59
↓ 1 callers
Method
exitTranspose
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:32
↓ 1 callers
Method
exitUnary
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:194
↓ 1 callers
Method
exitUnary_nofunc
(self, ctx)
math/examples/math_eval/latex2sympy/gen/PSListener.py:203
↓ 1 callers
Function
extract_last_boxed
Extract content inside the last \boxed in LaTeX text
math/examples/math_eval/sh/collect_results.py:19
↓ 1 callers
Function
extract_program_output
extract output between ```output\n...\n```, use regex, there might be multiple outputs, each output may have multiple lines
math/examples/math_eval/trajectory.py:109
↓ 1 callers
Function
extract_reward_from_line
(line)
code/DeepCoder/verl/tests/e2e/check_results.py:20
↓ 1 callers
Function
extract_solution
(solution_str, method='strict')
code/DeepCoder/verl/verl/utils/reward_score/gsm8k.py:18
↓ 1 callers
Function
extract_solution
(solution_str)
code/DeepCoder/verl/examples/data_preprocess/gsm8k.py:26
↓ 1 callers
Function
extract_solution
(solution_str)
code/DeepCoder/verl/examples/data_preprocess/math_dataset.py:27
↓ 1 callers
Function
find_box
(pred_str: str)
math/examples/math_eval/parser.py:411
↓ 1 callers
Method
fit
(self)
code/DeepCoder/verl/verl/trainer/fsdp_sft_trainer.py:313
↓ 1 callers
Function
fix_a_slash_b
(string)
code/DeepCoder/verl/verl/utils/reward_score/math.py:125
↓ 1 callers
Function
fix_fracs
(string)
code/DeepCoder/verl/verl/utils/reward_score/math.py:93
↓ 1 callers
Function
fix_sqrt
(string)
code/DeepCoder/verl/verl/utils/reward_score/math.py:150
↓ 1 callers
Function
fold_batch_dim
Fold a batch dim from [bsz, xxx] into [new_bsz, bsz // new_bsz, xxx]
code/DeepCoder/verl/verl/protocol.py:110
↓ 1 callers
Method
foo
(self, wait_time)
code/DeepCoder/verl/tests/ray/check_worker_alive/main.py:33
↓ 1 callers
Method
foo_all_to_all
(self, x, y)
code/DeepCoder/verl/tests/ray/test_worker_group_basics.py:60
↓ 1 callers
Method
foo_custom
(self, x, y)
code/DeepCoder/verl/tests/ray/test_worker_group_basics.py:64
↓ 1 callers
Method
foo_one_to_all
(self, x, y)
code/DeepCoder/verl/tests/ray/test_worker_group_basics.py:56
↓ 1 callers
Method
foo_rank_zero
(self, x, y)
code/DeepCoder/verl/tests/ray/test_worker_group_basics.py:52
↓ 1 callers
Function
format_grouped_contest_data
Groups problems by contest ID (including problem letters like A1) into a list of tuples.
code/DeepCoder/scripts/deepcoder/benchmark/cf_elo_calc.py:139
↓ 1 callers
Method
forward
(self, *inputs, **kwargs)
code/DeepCoder/verl/verl/workers/sharding_manager/megatron_vllm.py:127
↓ 1 callers
Method
forward_batch
We assume: - The model takes input: (input_ids, attention_mask, position_ids). No rmpad for the input - The communication sha
code/DeepCoder/verl/verl/workers/reward_model/megatron/reward_model.py:185
↓ 1 callers
Function
func_generator
(self, method_name, dispatch_fn, collect_fn, execute_fn, blocking)
code/DeepCoder/verl/verl/single_controller/ray/base.py:36
↓ 1 callers
Method
func_normal_functions_multi_arg
(self)
math/examples/math_eval/latex2sympy/gen/PSParser.py:4895
↓ 1 callers
Method
func_normal_functions_single_arg
(self)
math/examples/math_eval/latex2sympy/gen/PSParser.py:4844
↓ 1 callers
Method
func_operator_names_multi_arg
(self)
math/examples/math_eval/latex2sympy/gen/PSParser.py:5057
↓ 1 callers
Method
func_operator_names_single_arg
(self)
math/examples/math_eval/latex2sympy/gen/PSParser.py:4994
↓ 1 callers
Function
gather_from_labels
Gather the label from data. The value in label should be [0, vocab_size) Args: data: (..., vocab_size) label (torch.IntTensor) :
code/DeepCoder/verl/verl/utils/torch_functional.py:34
↓ 1 callers
Function
generate_function
(name)
code/DeepCoder/verl/verl/single_controller/ray/base.py:395
↓ 1 callers
Function
generate_ground_truth_response
Generate ground truth response given a prompt.
code/DeepCoder/verl/tests/e2e/envs/digit_completion/task.py:117
↓ 1 callers
Function
generate_rl_dataset
(target_hdfs_path_dir, local_dir='~/data/full_hh_rlhf/rl')
code/DeepCoder/verl/examples/data_preprocess/full_hh_rlhf.py:86
↓ 1 callers
Function
generate_rm_dataset
(target_hdfs_path_dir, local_dir='~/data/full_hh_rlh/rm')
code/DeepCoder/verl/examples/data_preprocess/full_hh_rlhf.py:58
↓ 1 callers
Function
generate_sft_dataset
(target_hdfs_path_dir, local_dir='~/data/full_hh_rlh/sft')
code/DeepCoder/verl/examples/data_preprocess/full_hh_rlhf.py:30
↓ 1 callers
Method
get_all_prompts
(self)
code/DeepCoder/verl/tests/e2e/envs/digit_completion/task.py:81
↓ 1 callers
Function
get_aux_metrics
(self, test_proto)
code/DeepCoder/verl/tests/ray/test_driverfunc_to_worker.py:42
↓ 1 callers
Method
get_availale_master_addr_port
(self)
code/DeepCoder/verl/verl/single_controller/base/worker.py:63
↓ 1 callers
Function
get_benchmark_name
Extract benchmark name from path
math/examples/math_eval/sh/collect_results.py:56
↓ 1 callers
Method
get_config
(self)
code/DeepCoder/verl/tests/e2e/envs/digit_completion/tokenizer.py:132
↓ 1 callers
Function
get_default_model_parallel_config
()
code/DeepCoder/verl/verl/utils/megatron/tensor_parallel.py:43
↓ 1 callers
Function
get_device_flops
(unit="T")
code/DeepCoder/verl/verl/utils/flops_counter.py:21
↓ 1 callers
Function
get_examples
()
math/examples/math_eval/examples.py:4
↓ 1 callers
Function
get_gsm8k_data
()
code/DeepCoder/verl/tests/verl/utils/dataset/test_rl_dataset.py:20
↓ 1 callers
Function
get_huggingface_actor_config
(model_name: str, override_config_kwargs=None, trust_remote_code=False)
code/DeepCoder/verl/verl/utils/model.py:47
↓ 1 callers
Function
get_jsonl_path
Get corresponding jsonl file path
math/examples/math_eval/sh/collect_results.py:116
↓ 1 callers
Function
get_local_temp_path
Return a local temp path that joins cache_dir and basename of hdfs_path Args: hdfs_path: cache_dir: Returns:
code/DeepCoder/verl/verl/utils/fs.py:37
↓ 1 callers
Method
get_megatron_global_info
(self)
code/DeepCoder/verl/verl/single_controller/base/megatron/worker.py:25
↓ 1 callers
Function
get_micro_data_parallel_rank
()
code/DeepCoder/verl/verl/workers/sharding_manager/megatron_vllm.py:427
↓ 1 callers
Function
get_model_size
(model: nn.Module, scale='auto')
code/DeepCoder/verl/verl/utils/model.py:102
↓ 1 callers
Function
get_nccl_id_store_by_name
(name)
code/DeepCoder/verl/verl/utils/rendezvous/ray_backend.py:34
↓ 1 callers
Method
get_partitions
(self)
code/DeepCoder/verl/verl/utils/seqlen_balancing.py:63
↓ 1 callers
Function
get_predefined_dispatch_fn
(dispatch_mode)
code/DeepCoder/verl/verl/single_controller/base/decorator.py:300
↓ 1 callers
Function
get_predefined_execute_fn
Note that here we only asks execute_all and execute_rank_zero to be implemented Leave the choice of how these two functions handle argument '
code/DeepCoder/verl/verl/single_controller/base/decorator.py:350
↓ 1 callers
Function
get_random_string
(length: int)
code/DeepCoder/verl/verl/single_controller/ray/base.py:29
↓ 1 callers
Function
get_rm_data
()
code/DeepCoder/verl/tests/verl/utils/dataset/test_rm_dataset.py:21
↓ 1 callers
Method
get_supported_archs
()
code/DeepCoder/verl/verl/models/registry.py:65
↓ 1 callers
Function
get_tokenizer
Get or create thread-local tokenizer
math/examples/math_eval/sh/collect_results.py:27
↓ 1 callers
Function
get_ulysses_sequence_parallel_rank
Get ulysses sequence parallel rank.
code/DeepCoder/verl/verl/utils/ulysses.py:53
↓ 1 callers
Function
get_weight_loader
(arch: str)
code/DeepCoder/verl/verl/models/weight_loader_registry.py:16
↓ 1 callers
Function
handle_exp
(func)
math/examples/math_eval/latex2sympy/latex2sympy2.py:1055
↓ 1 callers
Function
handle_integral
(func)
math/examples/math_eval/latex2sympy/latex2sympy2.py:980
↓ 1 callers
Function
handle_limit
(func)
math/examples/math_eval/latex2sympy/latex2sympy2.py:1035
↓ 1 callers
Method
init_megatron
(self, default_megatron_kwargs: Optional[Dict] = None)
code/DeepCoder/verl/verl/single_controller/ray/megatron.py:58
↓ 1 callers
Method
init_model
(self)
code/DeepCoder/verl/tests/ray/detached_worker/server.py:73
↓ 1 callers
Function
is_equiv
(str1, str2, verbose=False)
code/DeepCoder/verl/verl/utils/reward_score/math.py:32
↓ 1 callers
Function
is_execution_success
(output)
math/examples/math_eval/trajectory.py:63
↓ 1 callers
Function
is_megatron_core_available
()
code/DeepCoder/verl/verl/utils/import_utils.py:24
↓ 1 callers
Function
is_repeat
(text, window_size=10, threshold=0.85, min_length=20)
math/examples/math_eval/sh/collect_results.py:93
↓ 1 callers
Function
is_transformers_version_in_range
(min_version: str, max_version: str)
code/DeepCoder/verl/verl/models/transformers/monkey_patch.py:66
↓ 1 callers
Function
karmarkar_karp
(seqlen_list: List[int], k_partitions: int, equal_size: bool)
code/DeepCoder/verl/verl/utils/seqlen_balancing.py:25
↓ 1 callers
Function
levenshtein
(s1, s2)
code/DeepCoder/verl/tests/rollout/test_vllm_hf_loader.py:30
↓ 1 callers
Function
load_data
(data_name, split, data_dir="./data")
math/examples/math_eval/data_loader.py:9
↓ 1 callers
Method
load_from_disk
(filepath)
code/DeepCoder/verl/verl/protocol.py:226
↓ 1 callers
Function
load_jsonl
(file_path)
code/DeepCoder/scripts/sft/chat_completions_sft.py:20
↓ 1 callers
Function
load_megatron_param_and_grad
(module_list: nn.ModuleList, device_id, load_grad=False, hybrid_engine=None)
code/DeepCoder/verl/verl/utils/megatron_utils.py:241
↓ 1 callers
Method
load_model_cls
(model_arch: str, value=False)
code/DeepCoder/verl/verl/models/registry.py:49
↓ 1 callers
Method
load_params_to_cuda
(self)
code/DeepCoder/verl/verl/workers/reward_model/megatron/reward_model.py:270
↓ 1 callers
Function
log_probs_from_logits_response
Compute the response log_probs from full logits. Note that logits = model(input_ids) Args: input_ids: [batch_size, seqlen] lo
code/DeepCoder/verl/verl/utils/torch_functional.py:284
↓ 1 callers
Function
log_probs_from_logits_response_rmpad
Compute the log_probs from logits with rmpad logits and pad input. Note that logits_rmpad = model(input_ids_rmpad). For each sentences, there is a
code/DeepCoder/verl/verl/utils/torch_functional.py:300
↓ 1 callers
Function
log_seqlen_unbalance
(seqlen_list: List[int], partitions: List[List[int]], prefix)
code/DeepCoder/verl/verl/utils/seqlen_balancing.py:186
↓ 1 callers
Function
logprobs_from_logits_flash_attn
(logits, labels)
code/DeepCoder/verl/verl/utils/torch_functional.py:65
↓ 1 callers
Function
lower_keys
(example)
math/examples/math_eval/utils.py:41
↓ 1 callers
Function
main
(llm, tokenizer, data_name, args)
math/examples/math_eval/math_eval.py:183
↓ 1 callers
Function
main
(args)
math/examples/math_eval/sh/collect_results.py:456
↓ 1 callers
Function
main
(args)
code/DeepCoder/scripts/sft/chat_completions_sft.py:145
↓ 1 callers
Function
main
()
code/DeepCoder/scripts/deepcoder/benchmark/cf_elo_calc.py:165
← previous
next →
601–700 of 1,933, ranked by callers