Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BeastyZ/ConvSearch-R1
/ functions
Functions
1,207 in github.com/BeastyZ/ConvSearch-R1
⨍
Functions
1,207
◇
Types & classes
166
↳
Endpoints
40
↓ 1 callers
Function
get_args
()
src/eval/get_metrics_using_ance.py:302
↓ 1 callers
Function
get_args
()
src/eval/get_metrics_using_bm25.py:139
↓ 1 callers
Function
get_args
()
index/dense/dense_index.py:81
↓ 1 callers
Function
get_args
()
index/dense/distributed_dense_index.py:73
↓ 1 callers
Function
get_aux_metrics
(self, test_proto)
verl/tests/ray/test_driverfunc_to_worker.py:42
↓ 1 callers
Method
get_availale_master_addr_port
(self)
verl/verl/single_controller/base/worker.py:61
↓ 1 callers
Function
get_checkpoint_tracker_filename
Tracker file rescords the latest chckpoint during training to restart from.
verl/verl/utils/checkpoint/checkpoint_manager.py:134
↓ 1 callers
Method
get_collate_fn
(args)
src/eval/data_format.py:51
↓ 1 callers
Method
get_config
(self)
verl/tests/e2e/envs/digit_completion/tokenizer.py:132
↓ 1 callers
Function
get_custom_reward_fn
(config)
verl/verl/trainer/main_ppo.py:24
↓ 1 callers
Function
get_default_model_parallel_config
()
verl/verl/utils/megatron/tensor_parallel.py:43
↓ 1 callers
Function
get_device_flops
(unit="T")
verl/verl/utils/flops_counter.py:21
↓ 1 callers
Function
get_gsm8k_data
()
verl/tests/verl/utils/dataset/test_rl_dataset.py:20
↓ 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:
verl/verl/utils/fs.py:40
↓ 1 callers
Method
get_megatron_global_info
(self)
verl/verl/single_controller/base/megatron/worker.py:23
↓ 1 callers
Function
get_micro_data_parallel_rank
()
verl/verl/workers/sharding_manager/megatron_vllm.py:443
↓ 1 callers
Function
get_model_size
(model: nn.Module, scale='auto')
verl/verl/utils/model.py:119
↓ 1 callers
Method
get_n_gpus
Get the number of gpus in this cluster.
verl/verl/trainer/ppo/ray_trainer.py:100
↓ 1 callers
Function
get_nccl_id_store_by_name
(name)
verl/verl/utils/rendezvous/ray_backend.py:34
↓ 1 callers
Method
get_partitions
(self)
verl/verl/utils/seqlen_balancing.py:63
↓ 1 callers
Function
get_predefined_dispatch_fn
(dispatch_mode)
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 '
verl/verl/single_controller/base/decorator.py:350
↓ 1 callers
Function
get_random_string
(length: int)
verl/verl/single_controller/ray/base.py:29
↓ 1 callers
Function
get_retriever
(config)
src/retrieval/server.py:292
↓ 1 callers
Function
get_rm_data
()
verl/tests/verl/utils/dataset/test_rm_dataset.py:21
↓ 1 callers
Function
get_rope_index
Gets the position ids for Qwen2-VL, it should be generated before sharding the sequence. The batch dim has been removed and the input_ids sho
verl/verl/models/transformers/qwen2_vl.py:32
↓ 1 callers
Method
get_state
(self)
verl/tests/e2e/envs/digit_completion/task.py:61
↓ 1 callers
Method
get_supported_archs
()
verl/verl/models/registry.py:74
↓ 1 callers
Function
get_test_query_embedding
(args)
src/eval/get_metrics_using_ance.py:106
↓ 1 callers
Function
get_ulysses_sequence_parallel_rank
Get ulysses sequence parallel rank.
verl/verl/utils/ulysses.py:53
↓ 1 callers
Function
get_weight_loader
(arch: str)
verl/verl/models/weight_loader_registry.py:16
↓ 1 callers
Function
get_weight_saver
(arch: str)
verl/verl/models/weight_loader_registry.py:30
↓ 1 callers
Function
handle_base
(x)
verl/verl/utils/reward_score/prime_math/grader.py:138
↓ 1 callers
Function
handle_pi
(string, pi)
verl/verl/utils/reward_score/prime_math/grader.py:147
↓ 1 callers
Function
hydra_entry
(cfg: DictConfig)
verl/tests/sft/test_sp_loss_match.py:125
↓ 1 callers
Method
init_megatron
(self, default_megatron_kwargs: Optional[Dict] = None)
verl/verl/single_controller/ray/megatron.py:58
↓ 1 callers
Method
init_model
(self)
verl/tests/ray/detached_worker/server.py:73
↓ 1 callers
Function
initialize_global_process_group
(timeout_second=36000)
verl/tests/rollout/test_sglang_spmd.py:82
↓ 1 callers
Function
is_equiv
(str1, str2, verbose=False)
verl/verl/utils/reward_score/math.py:32
↓ 1 callers
Function
is_megatron_core_available
()
verl/verl/utils/import_utils.py:24
↓ 1 callers
Function
is_nl_query
(query)
index/dense/utils.py:223
↓ 1 callers
Function
json_dumps_arguments
(output_path, args)
index/dense/utils.py:30
↓ 1 callers
Function
karmarkar_karp
(seqlen_list: List[int], k_partitions: int, equal_size: bool)
verl/verl/utils/seqlen_balancing.py:25
↓ 1 callers
Function
last_boxed_only_string
(string)
verl/verl/utils/reward_score/math.py:63
↓ 1 callers
Function
levenshtein
(s1, s2)
verl/tests/rollout/test_vllm_hf_loader.py:30
↓ 1 callers
Function
levenshtein
(s1, s2)
verl/tests/rollout/test_sglang_spmd.py:40
↓ 1 callers
Function
levenshtein
(s1, s2)
verl/tests/rollout/test_vllm_spmd.py:28
↓ 1 callers
Method
load_checkpoint
(self, path=None, del_local_after_load=False, *args, **kwargs)
verl/verl/utils/checkpoint/fsdp_checkpoint_manager.py:61
↓ 1 callers
Function
load_docid
(corpus_docid_path: str)
src/retrieval/server.py:111
↓ 1 callers
Method
load_from_disk
(filepath)
verl/verl/protocol.py:228
↓ 1 callers
Function
load_megatron_param_and_grad
(module_list: nn.ModuleList, device_id, load_grad=False, hybrid_engine=None)
verl/verl/utils/megatron_utils.py:242
↓ 1 callers
Function
load_model
(model_path: str)
src/retrieval/server.py:64
↓ 1 callers
Method
load_model_cls
(model_arch: str, value=False)
verl/verl/models/registry.py:58
↓ 1 callers
Method
load_params_to_cuda
(self)
verl/verl/workers/reward_model/megatron/reward_model.py:262
↓ 1 callers
Method
load_rng_state
(rng_state)
verl/verl/utils/checkpoint/checkpoint_manager.py:107
↓ 1 callers
Method
local_mkdir
(path)
verl/verl/utils/checkpoint/checkpoint_manager.py:76
↓ 1 callers
Method
log_generations_to_swanlab
Log samples to swanlab as text
verl/verl/utils/tracking.py:206
↓ 1 callers
Method
log_generations_to_wandb
Log samples to wandb as a table
verl/verl/utils/tracking.py:179
↓ 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] logits
verl/verl/utils/torch_functional.py:317
↓ 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
verl/verl/utils/torch_functional.py:333
↓ 1 callers
Function
log_seqlen_unbalance
(seqlen_list: List[int], partitions: List[List[int]], prefix)
verl/verl/utils/seqlen_balancing.py:186
↓ 1 callers
Function
logprobs_from_logits_flash_attn
(logits, labels)
verl/verl/utils/torch_functional.py:64
↓ 1 callers
Function
main
()
src/eval/get_metrics_using_ance.py:293
↓ 1 callers
Function
main
with open(wiki_file, 'r') as input: reader = csv.reader(input, delimiter="\t") with open(output_file, 'w') as output:
index/bm25/convert_to_pyserini_file.py:15
↓ 1 callers
Function
main
(config)
verl/recipe/prime/main_prime.py:38
↓ 1 callers
Function
main
(config)
verl/tests/checkpoint/test_megatron_ckpt.py:137
↓ 1 callers
Function
main
Main function to run trainer tests. Args: config: Configuration object with training parameters
verl/tests/sft/test_sp_loss_match.py:110
↓ 1 callers
Function
main
()
verl/tests/rollout/run_fsdp_vllm.py:30
↓ 1 callers
Function
main
(config)
verl/tests/e2e/arithmetic_sequence/rl/main_trainer.py:86
↓ 1 callers
Function
main
(config)
verl/verl/trainer/main_ppo.py:53
↓ 1 callers
Function
main
(config)
verl/verl/trainer/main_generation.py:40
↓ 1 callers
Function
main
(config)
verl/verl/trainer/main_eval.py:35
↓ 1 callers
Function
main
(config)
verl/verl/trainer/fsdp_sft_trainer.py:521
↓ 1 callers
Function
main
(config)
verl/examples/split_placement/main_ppo_split.py:93
↓ 1 callers
Function
main
()
preprocess/topiocqa/download_data.py:446
↓ 1 callers
Function
make_map_fn
(split)
verl/examples/data_preprocess/topiocqa_sft.py:44
↓ 1 callers
Function
make_map_fn
(split)
verl/examples/data_preprocess/qrecc_sft.py:44
↓ 1 callers
Function
make_reward_function
(tokenizer, num_examine)
verl/tests/checkpoint/test_megatron_ckpt.py:31
↓ 1 callers
Function
make_reward_function
(tokenizer, num_examine)
verl/tests/e2e/arithmetic_sequence/rl/main_trainer.py:29
↓ 1 callers
Method
masked_mean
(self, t, mask)
src/retrieval/server.py:55
↓ 1 callers
Method
masked_mean
(self, t, mask)
index/dense/models.py:54
↓ 1 callers
Method
masked_mean_or_first
(self, emb_all, mask)
src/eval/models.py:43
↓ 1 callers
Method
masked_mean_or_first
(self, emb_all, mask)
src/retrieval/server.py:49
↓ 1 callers
Method
masked_mean_or_first
(self, emb_all, mask)
index/dense/models.py:48
↓ 1 callers
Function
masked_var
Compute variance of tensor with masked values.
verl/verl/utils/torch_functional.py:123
↓ 1 callers
Function
match_answer
(response)
verl/verl/utils/reward_score/prime_math/__init__.py:363
↓ 1 callers
Function
merge_by_placement
(tensors: List[torch.Tensor], placement: Placement)
verl/scripts/model_merger.py:25
↓ 1 callers
Function
merge_resource_pool
(rp1: RayResourcePool, rp2: RayResourcePool)
verl/verl/single_controller/ray/base.py:134
↓ 1 callers
Method
nb_docs
(self)
index/dense/libs.py:74
↓ 1 callers
Function
normalize_model_name
Transform the model name in each model_chunk in each pp stage into the name in inference engine
verl/verl/utils/model.py:209
↓ 1 callers
Method
numba_score_float
(inverted_index_ids: numba.typed.Dict, inverted_index_floats: numba.typed.Dict,
index/dense/libs.py:169
↓ 1 callers
Function
offload_megatron_param_and_grad
(module_list: nn.ModuleList, offload_grad=False, hybrid_engine=None)
verl/verl/utils/megatron_utils.py:227
↓ 1 callers
Method
offload_params_to_cpu
offload params of models that are not of current pp rank to cpu
verl/verl/workers/sharding_manager/megatron_vllm.py:173
↓ 1 callers
Function
only_int_check
(val)
verl/verl/utils/reward_score/prime_code/testing_util.py:89
↓ 1 callers
Function
output_test_res
( alll_query_embedding2id: List[np.ndarray], all_retrieved_scores_mat: List[Any], # score_mat: score m
src/eval/get_metrics_using_ance.py:156
↓ 1 callers
Function
pad_2d_list_to_length
pad a 2D list (e.g. responses, logprobs) to a 2D tensor.
verl/verl/utils/torch_functional.py:228
↓ 1 callers
Function
pad_to_sequence_parallel
pad the tokens such that the total length is a multiple of sp world size Args: unpad_tokens: (total_nnz, ...). Tokens after removing padd
verl/verl/utils/megatron/sequence_parallel.py:29
↓ 1 callers
Function
padding_seq_to_same_length
(input_ids, max_pad_length, pad_token = 0)
src/eval/data_format.py:10
↓ 1 callers
Function
parallel_put
(data_list, max_workers=None)
verl/verl/utils/ray_utils.py:23
↓ 1 callers
Function
parse_args
()
src/infer/infer.py:31
← previous
next →
501–600 of 1,207, ranked by callers