MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

↓ 1 callersFunctioncreate_trainer
Create and initialize a trainer instance with the given config. Args: config: Configuration object with training parameters
RLVER/code/tests/sft/test_sp_loss_match.py:89
↓ 1 callersFunctioncreate_worker_group_register_center
(name, info)
RLVER/code/verl/single_controller/base/register_center/ray.py:28
↓ 1 callersFunctioncreate_worker_group_register_center
(name, info)
RLVMR/code/verl/single_controller/base/register_center/ray.py:28
↓ 1 callersFunctioncustom_compare_
(output, ground_truth)
RLVER/code/verl/utils/reward_score/prime_code/testing_util.py:595
↓ 1 callersFunctioncustom_compare_
(output, ground_truth)
RLVMR/code/verl/utils/reward_score/prime_code/testing_util.py:595
↓ 1 callersFunctiondata_collator
(batch)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/app.py:43
↓ 1 callersFunctiondata_collator
(batch)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_choice_il.py:189
↓ 1 callersMethoddec
(self, by: int = 1)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:175
↓ 1 callersFunctiondecompress_mask
decompress compressed mask array
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/image_util.py:26
↓ 1 callersMethoddecompress_mask
(compressed_mask)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:625
↓ 1 callersFunctiondecrement_inferior_vars_in_literals
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_hard.c:286
↓ 1 callersFunctiondecrement_inferior_vars_in_numeric_effects
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_hard.c:308
↓ 1 callersMethoddefault_tp_concat_fn
name: name of the parameter param: training parameters infer_params (List[torch.Tensor]): a list of parameters all-gathered f
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:283
↓ 1 callersMethoddefault_tp_concat_fn
name: name of the parameter param: training parameters infer_params (List[torch.Tensor]): a list of parameters all-gathered f
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:285
↓ 1 callersFunctiondetect_repetitions
Check for consecutive repetitions of token sequences
RolePlay_Villain/codes/utils.py:562
↓ 1 callersFunctiondetect_repetitions2
Check for non-consecutive repetitions of token sequences
RolePlay_Villain/codes/utils.py:586
↓ 1 callersFunctiondetermine_fl_relevance
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:2503
↓ 1 callersFunctiondetermine_next_index
(responses_path: str)
ScriptAgent/code/director_agent.py:563
↓ 1 callersFunctiondict_to_fake_html
(data, page_type, asin=None, sub_page_type=None, options=None, prod_map={}, query="")
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/webshop_lite.py:89
↓ 1 callersFunctiondiscount_reward
(transitions, last_values, gamma)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/agent.py:18
↓ 1 callersMethoddispatch_fn
(x, i, chunks)
RLVER/code/verl/protocol.py:633
↓ 1 callersMethoddispatch_fn
(x, i, chunks)
RLVMR/code/verl/protocol.py:631
↓ 1 callersFunctiondispatch_megatron_compute
User passes in dp data. The data is dispatched to all tp/pp ranks with the same dp
RLVER/code/verl/single_controller/base/decorator.py:74
↓ 1 callersFunctiondispatch_megatron_compute
User passes in dp data. The data is dispatched to all tp/pp ranks with the same dp
RLVMR/code/verl/single_controller/base/decorator.py:74
↓ 1 callersFunctiondispatch_megatron_pp_as_dp
treat pp as dp.
RLVER/code/verl/single_controller/base/decorator.py:161
↓ 1 callersFunctiondispatch_megatron_pp_as_dp
treat pp as dp.
RLVMR/code/verl/single_controller/base/decorator.py:161
↓ 1 callersFunctiondivide_to_patches
Divides an image into patches of a specified size. Args: image (PIL.Image.Image): The input image. patch_size (int): The siz
VISTA/LLaVA-VISTA/llava/mm_utils.py:78
↓ 1 callersFunctiondivide_to_patches
Divides an image into patches of a specified size. Args: image (PIL.Image.Image): The input image. patch_size (int): The siz
VISTA/TinyLLaVA-VISTA/tinyllava/utils/data_utils.py:54
↓ 1 callersFunctiondo_inertia_preprocessing_step_1
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:1061
↓ 1 callersMethoddo_nothing
(self, data)
RLVER/code/tests/ray/test_data_transfer.py:44
↓ 1 callersFunctiondo_weighted_Astar
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:1049
↓ 1 callersMethoddone
Render and return HTML for done page
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_text_env.py:485
↓ 1 callersFunctiondownload_files_distributed
(download_fn)
RLVER/code/verl/utils/dataset/rm_dataset.py:27
↓ 1 callersFunctiondownload_files_distributed
(download_fn)
RLVMR/code/verl/utils/dataset/rm_dataset.py:27
↓ 1 callersFunctiondownload_json
(url: str, dest: Path)
VISTA/LLaVA-VISTA/predict.py:54
↓ 1 callersFunctiondownload_weights
(baseurl: str, basedest: str, files: list[str])
VISTA/LLaVA-VISTA/predict.py:62
↓ 1 callersFunctiondump_data
(data, name)
RLVER/code/verl/utils/debug/trajectory_tracker.py:69
↓ 1 callersFunctiondump_data
(data, name)
RLVMR/code/verl/utils/debug/trajectory_tracker.py:69
↓ 1 callersFunctiondump_data_dict
()
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/scripts/generate_trajectories.py:674
↓ 1 callersMethoddynamic_multi_turn_loop
Conduct dynamic rollouts until a target batch size is met. Keeps sampling until the desired number of effective trajectories is coll
RLVMR/code/agent_system/multi_turn_rollout/rollout_loop.py:393
↓ 1 callersMethodembedding_init
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:227
↓ 1 callersMethodencode
Converts a string to a sequence of ids (integer), using the tokenizer and vocabulary. Args: text (`str`, `List[str]` or
RLVER/code/verl/workers/rollout/tokenizer.py:70
↓ 1 callersFunctionencode_domain_in_integers
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:101
↓ 1 callersFunctionencode_easy_unaries_as_types
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_easy.c:404
↓ 1 callersMethodencode_images
(self, images)
VISTA/TinyLLaVA-VISTA/tinyllava/model/modeling_tinyllava.py:203
↓ 1 callersFunctionencode_lfns_as_artificial_fluents
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:1988
↓ 1 callersMethodencode_text
(self, input_word_ids)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/model.py:118
↓ 1 callersFunctionends_with_comma_or_newline
(text: str)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:85
↓ 1 callersFunctionenforce_artificial_goal
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:2270
↓ 1 callersFunctionensure_dependencies
Validate third-party dependencies to avoid runtime errors.
ScriptAgent/code/director_agent.py:353
↓ 1 callersFunctionepisode_norm_reward
Compute episode-level advantage using mean-std normalization for GiGPO. (with only one scalar reward for each episode). Args: tok
RLVMR/code/gigpo/core_gigpo.py:124
↓ 1 callersFunctionepisode_norm_reward
( token_level_rewards: torch.Tensor, eos_mask: torch.Tensor, index: np.array, epsilon: float =
RLVMR/code/rlvmr/core_rlvmr.py:42
↓ 1 callersMethodestimate_seconds
(self, text: str)
ScriptAgent/code/director_agent.py:282
↓ 1 callersFunctioneval_acc
(preds, answers)
SWF/src/metric.py:71
↓ 1 callersMethodeval_acc
(predict: str, answer: Union[str, List])
SWF/src/metric.py:161
↓ 1 callersFunctioneval_em
(preds: List[str], answers: List[List[str]])
SWF/src/metric.py:55
↓ 1 callersFunctioneval_f1
(preds, answers)
SWF/src/metric.py:115
↓ 1 callersMethodeval_math
(predict: str, answer: str)
SWF/src/metric.py:139
↓ 1 callersFunctioneval_model
(args)
VISTA/LLaVA-VISTA/llava/eval/model_vqa_loader.py:79
↓ 1 callersFunctioneval_model
(args)
VISTA/LLaVA-VISTA/llava/eval/model_vqa_mmbench.py:54
↓ 1 callersFunctioneval_model
(args)
VISTA/LLaVA-VISTA/llava/eval/model_vqa_science.py:29
↓ 1 callersFunctioneval_model
(model_name, questions_file, answers_file)
VISTA/LLaVA-VISTA/llava/eval/model_qa.py:14
↓ 1 callersFunctioneval_model
(args)
VISTA/LLaVA-VISTA/llava/eval/run_llava.py:50
↓ 1 callersFunctioneval_model
(args)
VISTA/LLaVA-VISTA/llava/eval/model_vqa.py:29
↓ 1 callersFunctioneval_model
(args)
VISTA/TinyLLaVA-VISTA/scripts/convert_answer_to_mmmu.py:6
↓ 1 callersFunctioneval_model
(args)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/model_vqa_loader.py:75
↓ 1 callersFunctioneval_model
(args)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/model_vqa_mmmu.py:84
↓ 1 callersFunctioneval_model
(args)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/model_vqa_science.py:27
↓ 1 callersFunctioneval_model
(args)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/model_vqa_pope.py:75
↓ 1 callersFunctioneval_model
(args)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/model_vqa.py:27
↓ 1 callersFunctioneval_pope
(answers, label_file)
VISTA/LLaVA-VISTA/llava/eval/eval_pope.py:5
↓ 1 callersFunctioneval_pope
(answers, label_file)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/eval_pope.py:5
↓ 1 callersMethodeval_pred_list
(self, pred_list)
VISTA/LLaVA-VISTA/llava/eval/m4c_evaluator.py:248
↓ 1 callersMethodeval_pred_list
(self, pred_list)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/m4c_evaluator.py:248
↓ 1 callersFunctionevaluate
Run evaluation for given experiment args
RolePlay_Villain/codes/main.py:840
↓ 1 callersFunctionevaluate
Run per image evaluation on given images and store results (a list of dict) in self.evalImgs :return: None
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/coco_eval.py:300
↓ 1 callersMethodevaluate
Evaluate a generated script. Args: source_dialogue: Original coarse-grained dialogue text. generated_script:
ScriptAgent/code/critic_agent_script.py:367
↓ 1 callersMethodevaluate
Evaluate video. Args: script_text: Reference script text. video_path: Path to video file.
ScriptAgent/code/critic_agent_video.py:1497
↓ 1 callersMethodevaluate_final
evaluation stage.
HATE/basic_hate/agentverse/environments/tasksolving_env/rules/base_final.py:205
↓ 1 callersMethodevaluate_from_files
Evaluate scripts from paired files. Args: scripts_jsonl: Path to JSONL file with generated scripts (key: "response").
ScriptAgent/code/critic_agent_script.py:458
↓ 1 callersMethodevaluate_from_folder
Evaluate videos from folder with script mapping. Args: video_folder: Path to folder containing videos. mappin
ScriptAgent/code/critic_agent_video.py:1556
↓ 1 callersFunctionevaluate_single_result
Evaluate a single simulation result
RolePlay_Villain/codes/main.py:485
↓ 1 callersFunctionex_fl_in_nF_of_pre_cond_eff_goal
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:1229
↓ 1 callersFunctionex_non_minimal_lnf_in_pre_cond_goal_eff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:2028
↓ 1 callersMethodexecute_func_rank_zero
(self, func, *args, **kwargs)
RLVER/code/verl/single_controller/base/worker.py:183
↓ 1 callersMethodexecute_plan
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/agents/plan_agent.py:17
↓ 1 callersMethodexecute_with_func_generator
(self, func, *args, **kwargs)
RLVER/code/verl/single_controller/base/worker.py:178
↓ 1 callersMethodexpand2square
(cls, pil_img, background_color)
VISTA/TinyLLaVA-VISTA/tinyllava/data/image_preprocess.py:29
↓ 1 callersFunctionexpand_first_node
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:355
↓ 1 callersMethodexplore_scene
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/base.py:100
↓ 1 callersMethodexplore_scene_exhaustively
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/base.py:103
↓ 1 callersMethodextract_audio_features
Extract comprehensive audio features for word segments (compatible with extractor.py format) Args: audio: Audio
BatonVoice/audio_feature_extractor.py:870
↓ 1 callersFunctionextract_characters_from_simulation
从simulation中提取所有参与对话的角色(不包括NSP和Environment)
RolePlay_Villain/codes/main.py:124
↓ 1 callersMethodextract_content
(self,content)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd_think.py:398
↓ 1 callersFunctionextract_dialogue_text
(node_text: str)
ScriptAgent/code/director_agent.py:234
↓ 1 callersMethodextract_exploration_frame_feats
(self, exploration_frames)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/vision_dagger_agent.py:319
↓ 1 callersMethodextract_features
Main method to extract features from audio file Args: audio_path: Path to audio file text: Optional
BatonVoice/audio_feature_extractor.py:1066
↓ 1 callersFunctionextract_install_requires
Extracts the install_requires list from setup.py using AST parsing.
RLVER/code/tests/distro/requirements.py:24
↓ 1 callersFunctionextract_json_from_response
Extract JSON object from model response text. This function searches for JSON content within markdown code blocks in the model's respons
BatonVoice/openrouter_gemini_client.py:95
↓ 1 callersFunctionextract_max_values_and_indices
(tensor, k)
VISTA/TinyLLaVA-VISTA/tinyllava_visualizer/tinyllava_visualizer.py:35
← previousnext →1,901–2,000 of 5,073, ranked by callers