MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

↓ 1 callersFunction_word_to_id
(word, word2id)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/generic.py:46
↓ 1 callersFunctionacc_reward
(predict_str: str, ground_truth: str)
RLVMR/code/verl/utils/reward_score/geo3k.py:25
↓ 1 callersFunctionachieve_goals
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:1962
↓ 1 callersFunctionactivate_ef
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:1061
↓ 1 callersMethodaddHeading
(self, strIn: str)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/scienceworld-web-server-example.py:33
↓ 1 callersMethodaddPreformattedText
(self, strIn: str)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/scienceworld-web-server-example.py:42
↓ 1 callersMethodaddSubheading
(self, strIn: str)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/scienceworld-web-server-example.py:36
↓ 1 callersMethodadd_args
(self, model_args)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/base.py:23
↓ 1 callersFunctionadd_history_upto_token_limit
( prompt: List[dict], history: List[dict], t_limit: int, model: str )
HATE/basic_hate/agentverse/memory/chat_history.py:223
↓ 1 callersMethodadd_image
(self, image, index=0)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/message.py:22
↓ 1 callersMethodadd_meter
(self, name, meter)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:179
↓ 1 callersFunctionadd_speaker_name
(dialogue: str, speaker: str)
RolePlay_Villain/codes/utils.py:160
↓ 1 callersFunctionadd_to_initial_state
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:2994
↓ 1 callersFunctionadjust_batch
(config, data: DataProto)
RLVMR/code/agent_system/multi_turn_rollout/utils.py:71
↓ 1 callersMethodadmissible_commands_act_random
(self, observation_strings, task_desc_strings, action_candidate_list, previous_dynamics)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/text_dqn_agent.py:72
↓ 1 callersMethodadmissible_commands_greedy_generation
(self, observation_strings, task_desc_strings, action_candidate_list, previous_dynamics)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/text_dagger_agent.py:202
↓ 1 callersMethodadmissible_commands_recurrent_teacher_force
(self, seq_observation_strings, seq_task_desc_strings, seq_action_candidate_list, seq_target_indices, contains
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/text_dagger_agent.py:133
↓ 1 callersMethodadmissible_commands_teacher_force
(self, observation_strings, task_desc_strings, action_candidate_list, target_indices)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/text_dagger_agent.py:60
↓ 1 callersFunctionall_gather_tensor
(local_tensor: Tensor, group: Optional[dist.ProcessGroup] = None, async_op: bool = False)
RLVER/code/verl/utils/ulysses.py:154
↓ 1 callersFunctionall_gather_tensor
(local_tensor: Tensor, group: Optional[dist.ProcessGroup] = None, async_op: bool = False)
RLVMR/code/verl/utils/ulysses.py:154
↓ 1 callersFunctionall_goals_activated
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:1416
↓ 1 callersFunctionanalyze_cosine_similarity_from_file
从JSONL文件分析余弦相似度趋势的主函数 Args: jsonl_file_path (str): JSONL文件路径 model_count (int): 模型数量 m
HATE/basic_hate/evaluation/topic_ana.py:400
↓ 1 callersFunctionanalyze_questionnaire_results
分析问卷结果并生成统计报告 参数: responses: list of str, 每个元素是一份问卷的回答 返回: dict: 包含所有统计结果
HATE/basic_hate/evaluation/sharemoney_mode0_eval.py:4
↓ 1 callersFunctionanalyze_questionnaire_results
分析问卷结果并生成统计报告 参数: responses: list of str, 每个元素是一份问卷的回答 返回: dict: 包含所有统计结果
HATE/basic_hate/evaluation/sharemoney_mode1_eval.py:4
↓ 1 callersFunctionanalyze_questionnaire_results
分析问卷结果并生成统计报告 参数: responses: list of str, 每个元素是一份问卷的回答 返回: dict: 包含所有统计结果
HATE/basic_hate/evaluation/sharemoney_mode0_eval_v1.py:6
↓ 1 callersFunctionanalyze_topic_similarity
简化的主题相似度分析函数 Parameters: ----------- topic_sentence : str 主题句 paragraphs : List[str] 段落列表 paragraph_labe
HATE/basic_hate/evaluation/test_topic_SFR.py:450
↓ 1 callersFunctionanalyze_topic_similarity
简化的主题相似度分析函数 Parameters: ----------- topic_sentence : str 主题句 paragraphs : List[str] 段落列表 paragraph_labe
HATE/basic_hate/evaluation/test_topic_SFR_new.py:450
↓ 1 callersFunctionannotate
(attr_path)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/attributes/annotate.py:16
↓ 1 callersFunctionappend_response_record
( responses_path: str, index: int, response_text: str, metadata: Optional[Dict[str, Any]] = No
ScriptAgent/code/director_agent.py:637
↓ 1 callersFunctionapply_delta
(base_model_path, target_model_path, delta_path)
VISTA/LLaVA-VISTA/llava/model/apply_delta.py:13
↓ 1 callersFunctionapply_ef
this one is used to apply effects already there * at later time steps - necessary because their * numeric effects might have changed. */
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:1166
↓ 1 callersFunctionapply_invalid_action_penalty
(data: DataProto, invalid_action_penalty_coef=float)
RLVMR/code/verl/trainer/ppo/ray_trainer.py:141
↓ 1 callersFunctionapply_kl_penalty
(data: DataProto, kl_ctrl: core_algos.AdaptiveKLController, kl_penalty='kl')
RLVER/code/verl/trainer/ppo/ray_trainer_think.py:104
↓ 1 callersFunctionapply_rotary_pos_emb
(q, k, cos, sin, position_ids)
RLVER/code/verl/models/qwen2/megatron/layers/parallel_attention.py:123
↓ 1 callersFunctionapply_rotary_pos_emb
(q, k, cos, sin, position_ids)
RLVER/code/verl/models/llama/megatron/layers/parallel_attention.py:123
↓ 1 callersFunctionapply_rotary_pos_emb
(q, k, cos, sin, position_ids)
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_attention.py:123
↓ 1 callersFunctionapply_rotary_pos_emb
(q, k, cos, sin, position_ids)
RLVMR/code/verl/models/llama/megatron/layers/parallel_attention.py:155
↓ 1 callersFunctionapply_rotary_pos_emb_rmpad_flash
(q, k, cos, sin, cu_seqlens, max_seqlen)
RLVER/code/verl/models/qwen2/megatron/layers/parallel_attention.py:304
↓ 1 callersFunctionapply_rotary_pos_emb_rmpad_flash
(q, k, cos, sin, cu_seqlens, max_seqlen)
RLVER/code/verl/models/llama/megatron/layers/parallel_attention.py:320
↓ 1 callersFunctionapply_rotary_pos_emb_rmpad_flash
(q, k, cos, sin, cu_seqlens, max_seqlen)
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_attention.py:304
↓ 1 callersFunctionapply_rotary_pos_emb_rmpad_flash
(q, k, cos, sin, cu_seqlens, max_seqlen)
RLVMR/code/verl/models/llama/megatron/layers/parallel_attention.py:360
↓ 1 callersFunctionare_equal_under_sympy
(ground_truth_normalized: str, given_normalized: str)
RLVER/code/verl/utils/reward_score/prime_math/__init__.py:212
↓ 1 callersFunctionare_equal_under_sympy
(ground_truth_normalized: str, given_normalized: str)
RLVMR/code/verl/utils/reward_score/prime_math/__init__.py:240
↓ 1 callersFunctionare_lists_similar
(a, b)
RLVER/code/tests/rollout/test_vllm_hf_loader.py:51
↓ 1 callersFunctionare_lists_similar
(a, b)
RLVER/code/tests/rollout/test_vllm_spmd.py:49
↓ 1 callersMethodastep
( self, role_assigner: RoleAssignerAgent, group_members: List[CriticAgent], ad
HATE/basic_hate/agentverse/environments/tasksolving_env/rules/role_assigner/role_description.py:19
↓ 1 callersFunctionat_end_of_block_comment
(text: str, i: int)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:139
↓ 1 callersFunctionbart_predict
(input)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/app.py:66
↓ 1 callersFunctionbart_predict
(input, model, skip_special_tokens=True, **kwargs)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/test.py:21
↓ 1 callersMethodbeam_search_choice_act_random
(self, observation_strings, task_desc_strings, previous_dynamics)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/text_dqn_agent.py:135
↓ 1 callersFunctionbehavior
(text, model)
HATE/basic_hate/evaluation/eval_v2_benchmark.py:188
↓ 1 callersFunctionbert_predict
(obs, info, softmax=True)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/app.py:73
↓ 1 callersFunctionbroadcast_params
(module)
RLVER/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:66
↓ 1 callersFunctionbroadcast_params
(module)
RLVER/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:68
↓ 1 callersFunctionbroadcast_params
(module)
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader_depracated.py:69
↓ 1 callersFunctionbroadcast_params
(module)
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader_depracated.py:73
↓ 1 callersFunctionbuild_argument_parser
Build command-line argument parser.
ScriptAgent/code/critic_agent_script.py:649
↓ 1 callersFunctionbuild_argument_parser
Build command-line argument parser.
ScriptAgent/code/critic_agent_video.py:1744
↓ 1 callersFunctionbuild_argument_parser
()
ScriptAgent/code/director_agent.py:2058
↓ 1 callersFunctionbuild_connectivity_graph
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_final.c:1925
↓ 1 callersFunctionbuild_demo
(embed_mode, cur_dir=None, concurrency_count=10)
VISTA/LLaVA-VISTA/llava/serve/gradio_web_server.py:315
↓ 1 callersFunctionbuild_demo
()
VISTA/TinyLLaVA-VISTA/tinyllava/serve/app.py:206
↓ 1 callersFunctionbuild_easy_action_templates
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_easy.c:56
↓ 1 callersFunctionbuild_hard_action_templates
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_hard.c:71
↓ 1 callersFunctionbuild_memory_reference
Build the memory references. The memory buffers are built using the build_memory_buffer API. This API will allocate a weight buffer pointer to the
RLVER/code/verl/utils/memory_buffer.py:116
↓ 1 callersFunctionbuild_memory_reference
Build the memory references. The memory buffers are built using the build_memory_buffer API. This API will allocate a weight buffer pointer to the
RLVMR/code/verl/utils/memory_buffer.py:116
↓ 1 callersFunctionbuild_orig_constant_list
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/parse.c:153
↓ 1 callersFunctionbuild_rag_corpus
Build a retrieval-augmented generation (RAG) corpus from a character database. This function creates different types of document collection
RolePlay_Villain/codes/agent.py:108
↓ 1 callersFunctionbuild_simplification_str
Build simplification_str from args.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/random_agent.py:140
↓ 1 callersFunctionbuild_simplification_str
Build simplification_str from args.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/human.py:156
↓ 1 callersFunctionbuild_step_group
Group observations by index and then cluster identical observations within each index group. Assigns a unique step_group_uid (UUID) to each c
RLVMR/code/gigpo/core_gigpo.py:175
↓ 1 callersFunctioncalculate_bleu_rouge
(reference, simulation)
RolePlay_Villain/codes/utils.py:704
↓ 1 callersFunctioncalculate_character_scores_for_case
计算单个case中每个角色的最终得分 使用参考代码中的评分方法
RolePlay_Villain/codes/main.py:140
↓ 1 callersMethodcalculate_fvd_score
Calculate Frechet Video Distance (FVD) score. FVD measures the distance between feature distributions of generated and refere
ScriptAgent/code/critic_agent_video.py:845
↓ 1 callersMethodcalculate_vsa_score
Calculate Video Semantic Accuracy (VSA) score. VSA measures how well the video content matches the semantic meaning of the sc
ScriptAgent/code/critic_agent_video.py:661
↓ 1 callersFunctioncall_LLM
(prompt, model_name)
RolePlay_Villain/codes/self_models.py:2
↓ 1 callersMethodcall_data_eval
( self, text: str, pic_path: Optional[List[str]], pic_func: Optional[List[str]
ScriptAgent/code/director_agent.py:1369
↓ 1 callersMethodcall_for_batch
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
VISTA/LLaVA-VISTA/llava/mm_utils.py:249
↓ 1 callersMethodcall_for_batch
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/eval_utils.py:31
↓ 1 callersFunctioncall_method
(method, inputs)
RLVER/code/verl/utils/reward_score/prime_code/testing_util.py:617
↓ 1 callersFunctioncall_method
(method, inputs)
RLVMR/code/verl/utils/reward_score/prime_code/testing_util.py:617
↓ 1 callersFunctioncall_npc
(player_history)
SAGE/npc_response.py:11
↓ 1 callersFunctioncall_with_timeout
(func, *args, timeout=1, **kwargs)
RLVER/code/verl/utils/reward_score/simplerl_utils/grader.py:340
↓ 1 callersFunctioncapitalizeFirstChar
(str)
VISTA/LLaVA-VISTA/llava/eval/webpage/script.js:41
↓ 1 callersFunctionceildiv
(a, b)
RLVER/code/verl/utils/seqlen_balancing.py:220
↓ 1 callersFunctionceildiv
(a, b)
RLVMR/code/verl/utils/seqlen_balancing.py:220
↓ 1 callersMethodchange_agents_score_select
(self, advice: str, rule: int)
HATE/basic_hate/agentverse/environments/tasksolving_env/basic_final.py:194
↓ 1 callersMethodchat
Generates a response based on the conversation history and available knowledge. This method: 1. Retrieves releva
RolePlay_Villain/codes/agent.py:339
↓ 1 callersFunctioncheck_acc
(data, args)
HATE/basic_hate/evaluation/eval_compute_v2_benchmark_acc.py:73
↓ 1 callersFunctioncheck_assigncycles
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:2424
↓ 1 callersMethodcheck_clean
Handle special case when Faucet is toggled on. In this case, we need to execute a `CleanAction` in the simulator on every object in t
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:490
↓ 1 callersMethodcheck_consistency
Check the consistency of the DataProto. Mainly for batch and non_tensor_batch We expose this function as a public one so that user can call th
RLVER/code/verl/protocol.py:250
↓ 1 callersMethodcheck_consistency
Check the consistency of the DataProto. Mainly for batch and non_tensor_batch We expose this function as a public one so that user can call th
RLVMR/code/verl/protocol.py:251
↓ 1 callersFunctioncheck_megatron_checkpoint_path
(model_path)
RLVER/code/scripts/model_merger.py:212
↓ 1 callersFunctioncheck_megatron_checkpoint_path
(model_path)
RLVMR/code/scripts/model_merger.py:192
↓ 1 callersFunctioncheck_monotonicity
(arr: np.ndarray)
HATE/basic_hate/evaluation/test_topic_SFR.py:131
↓ 1 callersFunctioncheck_monotonicity
(arr: np.ndarray)
HATE/basic_hate/evaluation/test_topic_SFR_new.py:131
↓ 1 callersMethodcheck_post_conditions
handle special action post-conditions
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:181
↓ 1 callersMethodcheck_subgoal_completion
(self, game_state)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/expert/handcoded_expert.py:108
↓ 1 callersFunctioncheck_text_v2
(di, args)
HATE/basic_hate/evaluation/eval_v2_benchmark.py:193
← previousnext →1,701–1,800 of 5,073, ranked by callers