MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

↓ 2 callersFunctionall_gather_data_proto
(data: DataProto, process_group)
RLVMR/code/verl/protocol.py:654
↓ 2 callersFunctionall_to_all_tensor
( local_input: Tensor, scatter_dim: int, gather_dim: int, group: Optional[dist.ProcessGroup] =
RLVER/code/verl/utils/ulysses.py:132
↓ 2 callersFunctionall_to_all_tensor
( local_input: Tensor, scatter_dim: int, gather_dim: int, group: Optional[dist.ProcessGroup] =
RLVMR/code/verl/utils/ulysses.py:132
↓ 2 callersMethodallgather_params
allgather params of all pp ranks. Return a list of handles
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:133
↓ 2 callersMethodallgather_params
allgather params of all pp ranks. Return a list of handles
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:135
↓ 2 callersFunctionanalyze_list_trend
分析列表元素随索引变化的趋势 Parameters: ----------- data : List[Union[int, float]] 要分析的数据列表 show_plot : bool, optional 是否
HATE/basic_hate/evaluation/test_topic_SFR.py:52
↓ 2 callersFunctionanalyze_list_trend
分析列表元素随索引变化的趋势 Parameters: ----------- data : List[Union[int, float]] 要分析的数据列表 show_plot : bool, optional 是否
HATE/basic_hate/evaluation/test_topic_SFR_new.py:52
↓ 2 callersMethodanalyze_round_trends
分析轮次趋势: 1. m个模型的平均余弦相似度随轮次的变化 2. 每个模型各自的余弦相似度随轮次的变化 Returns: dict: 包含趋势分析结果的字典
HATE/basic_hate/evaluation/topic_ana.py:64
↓ 2 callersFunctionappend_video_dialogue_records
(output_path: str, mapping: Dict[str, str])
ScriptAgent/code/director_agent.py:654
↓ 2 callersFunctionapply_kl_penalty
(data: DataProto, kl_ctrl: core_algos.AdaptiveKLController, kl_penalty='kl')
RLVER/code/verl/trainer/ppo/ray_trainer.py:105
↓ 2 callersFunctionapply_kl_penalty
(data: DataProto, kl_ctrl: core_algos.AdaptiveKLController, kl_penalty='kl')
RLVMR/code/verl/trainer/ppo/ray_trainer.py:168
↓ 2 callersFunctionassign_value
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:2428
↓ 2 callersFunctionauto_upgrade
(config)
VISTA/LLaVA-VISTA/llava/model/utils.py:4
↓ 2 callersMethodbeam_search_choice_act_greedy
(self, observation_strings, task_desc_strings, previous_dynamics)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/text_dqn_agent.py:120
↓ 2 callersMethodblacklist_obj
(self, obj)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/expert/handcoded_expert.py:99
↓ 2 callersFunctionbuild_prompt_chatbot
(problems, shot_qids, prompt_format, use_caption=False, options=["A", "B", "C", "D", "E"], is_test=False)
VISTA/LLaVA-VISTA/scripts/convert_sqa_to_llava_base_prompt.py:221
↓ 2 callersFunctionbuild_sciworld_envs
( seed: int = 0, env_num: int = 1, group_n: int = 1, task_nums: Union[int, list] = 1, spl
RLVMR/code/agent_system/environments/env_package/sciworld/envs.py:170
↓ 2 callersMethodbuild_text_obs
This function builds the text observation for the agent.
RLVMR/code/agent_system/environments/env_manager.py:81
↓ 2 callersMethodbuild_text_obs
This function builds the text observation for the agent.
RLVMR/code/agent_system/environments/env_manager.py:270
↓ 2 callersMethodbuild_text_obs
This function builds the text observation for the agent.
RLVMR/code/agent_system/environments/env_manager.py:451
↓ 2 callersFunctionbuild_vision_projector
(config, delay_load=False, **kwargs)
VISTA/LLaVA-VISTA/llava/model/multimodal_projector/builder.py:33
↓ 2 callersFunctionbuild_vision_tower
(vision_tower_cfg, **kwargs)
VISTA/LLaVA-VISTA/llava/model/multimodal_encoder/builder.py:5
↓ 2 callersFunctionbuild_webshop_envs
Mirror *build_sokoban_envs* so higher‑level code can swap seamlessly.
RLVMR/code/agent_system/environments/env_package/webshop/envs.py:212
↓ 2 callersMethodcalculate_clip_score
Calculate CLIP score between video and text. Args: video_path: Path to video file. text: Reference text (scri
ScriptAgent/code/critic_agent_video.py:580
↓ 2 callersFunctioncall_api
(prompt,mode="dsv3")
RLVER/code/verl/workers/rollout/vllm_rollout/hard_player_simulator_dsv3.py:35
↓ 2 callersFunctioncall_llm
(prompt)
SAGE/profile/build_profile.py:20
↓ 2 callersMethodchat
Generate responses for a chat conversation. The chat conversation is converted into a text prompt using the tokenizer and ca
RLVER/code/llm.py:646
↓ 2 callersMethodchat_player
(self,player_data)
RLVER/code/verl/workers/rollout/vllm_rollout/hard_player_simulator_dsv3.py:96
↓ 2 callersFunctionchoice_answer_clean
(pred: str)
RLVER/code/verl/utils/reward_score/simplerl_utils/paser.py:369
↓ 2 callersFunctionclassify_trend_strength
(corr_coef: float)
HATE/basic_hate/evaluation/test_topic_SFR.py:93
↓ 2 callersFunctionclassify_trend_strength
(corr_coef: float)
HATE/basic_hate/evaluation/test_topic_SFR_new.py:93
↓ 2 callersMethodclearRunHistories
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:701
↓ 2 callersMethodclose
Close all subprocesses
RLVMR/code/agent_system/environments/env_package/alfworld/envs.py:194
↓ 2 callersMethodclose
(self)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/env.py:237
↓ 2 callersFunctioncollate_fn
(data_list: list[dict])
RLVMR/code/verl/utils/dataset/rl_dataset.py:31
↓ 2 callersMethodcolon_expected
(self)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:645
↓ 2 callersMethodcommand_generation_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:314
↓ 2 callersFunctioncompress_mask
compress mask array
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/image_util.py:37
↓ 2 callersFunctioncompute_advantage
(data: DataProto, adv_estimator, gamma=1.0, lam=1.0, num_repeat=1)
RLVER/code/verl/trainer/ppo/ray_trainer.py:138
↓ 2 callersFunctioncompute_advantage
(data: DataProto, adv_estimator, gamma=1.0, lam=1.0, step_advantage_w=1.0, gigpo_mode="mean_std_norm", num_rep
RLVMR/code/verl/trainer/ppo/ray_trainer.py:204
↓ 2 callersFunctioncompute_aspect_ratios
(dataset, indices=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/group_by_aspect_ratio.py:154
↓ 2 callersFunctioncompute_data_metrics
(batch, use_critic=True)
RLVER/code/verl/trainer/ppo/ray_trainer.py:234
↓ 2 callersFunctioncompute_data_metrics
(batch, use_critic=True)
RLVMR/code/recipe/prime/prime_ray_trainer.py:54
↓ 2 callersFunctioncompute_dpo_abs_accuracy
(token_level_scores, acc, eos_mask, n_samples)
RLVMR/code/recipe/prime/prime_core_algos.py:143
↓ 2 callersFunctioncompute_dpo_accuracy
(token_level_scores, acc, eos_mask, n_samples)
RLVMR/code/recipe/prime/prime_core_algos.py:118
↓ 2 callersFunctioncompute_heads
Compute the number of heads. Args: model_dim: Model dimension. head_dim: Head dimension. Returns: An integer denoting
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:68
↓ 2 callersFunctioncompute_response_mask
(data: DataProto)
RLVMR/code/verl/trainer/ppo/ray_trainer.py:197
↓ 2 callersMethodcompute_rm_score
(self, data: DataProto)
RLVMR/code/verl/workers/fsdp_workers.py:1130
↓ 2 callersFunctioncompute_timing_metrics
(batch, timing_raw)
RLVER/code/verl/trainer/ppo/ray_trainer.py:342
↓ 2 callersFunctioncompute_timing_metrics
(batch, timing_raw)
RLVMR/code/recipe/prime/prime_ray_trainer.py:125
↓ 2 callersMethodcompute_values
(self, data: DataProto)
RLVMR/code/verl/workers/fsdp_workers.py:808
↓ 2 callersMethodconstruct_messages
( self, prepend_prompt: str, history: List[dict], append_prompt: str )
HATE/basic_hate/agentverse/llms/openai.py:512
↓ 2 callersMethodconvert_html_to_text
Strip HTML of tags and add separators to convert observation into simple mode
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_text_env.py:219
↓ 2 callersFunctionconvert_to_xywh
(boxes)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/coco_eval.py:158
↓ 2 callersFunctionconvert_web_app_string_to_var
(name, string)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/engine/engine.py:131
↓ 2 callersFunctioncopy_Wff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:2258
↓ 2 callersFunctioncount_message_tokens
( messages: Union[Dict, List[Dict]], model: str = "gpt-3.5-turbo" )
HATE/basic_hate/agentverse/llms/utils/token_counter.py:29
↓ 2 callersFunctioncreate_and_sync_state
(param_name, state, is_param)
RLVER/code/verl/utils/fsdp_utils.py:281
↓ 2 callersFunctioncreate_and_sync_state
(param_name, state, is_param)
RLVMR/code/verl/utils/fsdp_utils.py:285
↓ 2 callersFunctioncreate_intersected_type
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_easy.c:547
↓ 2 callersFunctioncreate_one_example
(format, question, context, choice, answer, lecture, solution, test_example=True)
VISTA/LLaVA-VISTA/scripts/convert_sqa_to_llava_base_prompt.py:106
↓ 2 callersFunctioncreate_one_example_gpt4
(format, question, context, choice, answer, lecture, solution, test_example=True)
VISTA/LLaVA-VISTA/scripts/convert_sqa_to_llava_base_prompt.py:162
↓ 2 callersFunctiondebug
(*args)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:262
↓ 2 callersMethoddecision_making
( self, task_description: str, agents: List[BaseAgent], previous_plan: str,
HATE/basic_hate/agentverse/environments/tasksolving_env/rules/base.py:106
↓ 2 callersFunctiondecrement_inferior_vars
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:1579
↓ 2 callersFunctiondelete_save
(in_parallel)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/scripts/generate_trajectories.py:680
↓ 2 callersMethoddemangle_alfred_name
(self, text)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/utils/misc.py:64
↓ 2 callersFunctiondetect_existing_nodes
Detect existing node videos Returns: - existing_videos: List of existing video file paths (sorted by index) - next_node_
ScriptAgent/code/director_agent.py:1559
↓ 2 callersFunctiondetect_tautologies_in_wff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:2450
↓ 2 callersFunctiondetermine_artificial_fl_levels
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:876
↓ 2 callersFunctiondisplayAnswers
(index)
VISTA/LLaVA-VISTA/llava/eval/webpage/script.js:116
↓ 2 callersFunctiondo_Astar_epsilon
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:1250
↓ 2 callersFunctiondo_axiom_update
need to make sure that there are no "axiom deletes", ie * derived predicates do not appear as negated preconditions * anywhere... means: derived pre
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:2254
↓ 2 callersFunctiondo_best_first_search
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:856
↓ 2 callersFunctiondo_enforced_hill_climbing
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:140
↓ 2 callersMethoddumpkvs
(self)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:360
↓ 2 callersFunctionduplicate
Duplicate the output based on the action sizes.
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/models/modules.py:8
↓ 2 callersMethodencode
Converts a string to a sequence of ids (integer), using the tokenizer and vocabulary. Args: text (`str`, `List[str]` or
RLVMR/code/verl/workers/rollout/tokenizer.py:70
↓ 2 callersMethodencode_images
(self, images)
VISTA/LLaVA-VISTA/llava/model/llava_arch.py:140
↓ 2 callersMethodencode_text
(self, observation_strings, use_model)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/base_agent.py:346
↓ 2 callersFunctionenforce_assign
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:2472
↓ 2 callersFunctionenforce_increase
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:2494
↓ 2 callersFunctionepisode
(model, idx=None, verbose=False, softmax=False, rule=False, bart_model=None)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/test.py:71
↓ 2 callersMethodestimate_flops
Estimate the FLOPS based on the number of valid tokens in the current batch and the time taken. Args: batch_seqlens (Lis
RLVER/code/verl/utils/flops_counter.py:107
↓ 2 callersFunctioneval_model
(args)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/run_tiny_llava.py:37
↓ 2 callersFunctioneval_single
(annotation_file, result_file)
VISTA/LLaVA-VISTA/llava/eval/eval_textvqa.py:35
↓ 2 callersFunctioneval_single
(annotation_file, result_file)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/eval_textvqa.py:35
↓ 2 callersFunctionevaluate
(model, data_loader, device)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/engine.py:69
↓ 2 callersFunctionevaluate
(agent, env, split, nb_episodes=10)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_rl.py:24
↓ 2 callersMethodevaluate
evaluation stage.
HATE/basic_hate/agentverse/environments/tasksolving_env/rules/base.py:154
↓ 2 callersFunctionevaluate_episode
(agent, env, split, method='greedy', idx=None)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_rl.py:40
↓ 2 callersMethodexecute
execution stage. Use the executor to finish the task.
HATE/basic_hate/agentverse/environments/tasksolving_env/rules/base.py:134
↓ 2 callersMethodexecute_all_async
(self, method_name: str, *args, **kwargs)
RLVMR/code/verl/single_controller/ray/base.py:355
↓ 2 callersFunctionextend_fluent_levels
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:905
↓ 2 callersMethodextra_repr
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:379
↓ 2 callersFunctionextract_admissible_commands_with_heuristics
Heavily engineered admissible commands extraction. Lots of commonsense and heuristics used to prune list.
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/utils/misc.py:137
↓ 2 callersFunctionextract_last_frame
Extract last frame of video (entry function - enhanced version)
ScriptAgent/code/director_agent.py:1067
↓ 2 callersMethodextract_visual_features
(self, images)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/vision_dagger_agent.py:132
↓ 2 callersFunctionfind_all_linear_names
(model, skip_keywords=['connector', 'vision_tower'])
VISTA/TinyLLaVA-VISTA/tinyllava/utils/train_utils.py:82
↓ 2 callersMethodfind_best_plan
(self, parsed_plans)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/planner/ff_planner_handler.py:218
← previousnext →901–1,000 of 5,073, ranked by callers