MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

↓ 2 callersFunctionfind_intersected_type
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_easy.c:617
↓ 2 callersFunctionfind_latest_ckpt_path
(path, directory_format="global_step_{}")
RLVER/code/verl/utils/checkpoint/checkpoint_manager.py:113
↓ 2 callersFunctionfind_latest_ckpt_path
(path, directory_format="global_step_{}")
RLVMR/code/verl/utils/checkpoint/checkpoint_manager.py:124
↓ 2 callersMethodfit
The training loop of PPO. The driver process only need to call the compute functions of the worker group through RPC to construct the
RLVMR/code/verl/trainer/ppo/ray_trainer.py:850
↓ 2 callersMethodformat_obs
(self, text_obs)
RLVMR/code/agent_system/environments/env_manager.py:417
↓ 2 callersMethodforward
Args: input_ids: input ids. shape (batch_size, seq_length) attention_mask: attention_mask. shape (batch_size, seq_le
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:117
↓ 2 callersMethodforward
Args: input_ids: input ids. shape (batch_size, seq_length) attention_mask: attention_mask. shape (batch_size, seq_le
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:117
↓ 2 callersMethodforward
Args: input_ids: input ids. shape (batch_size, seq_length) attention_mask: attention_mask. shape (batch_size, seq_le
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:121
↓ 2 callersMethodforward
Args: input_ids: input ids. shape (batch_size, seq_length) attention_mask: attention_mask. shape (batch_size, seq_le
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:121
↓ 2 callersMethodforward_backward_batch
(self, data: DataProto, forward_only=False)
RLVER/code/verl/workers/critic/megatron_critic.py:119
↓ 2 callersMethodforward_backward_batch
We assume: - The model takes input: (input_ids, attention_mask, position_ids). No rmpad for the input - The communication sha
RLVER/code/verl/workers/actor/megatron_actor.py:232
↓ 2 callersMethodforward_backward_batch
(self, data: DataProto, forward_only=False)
RLVMR/code/verl/workers/critic/megatron_critic.py:109
↓ 2 callersMethodforward_backward_batch
We assume: - The model takes input: (input_ids, attention_mask, position_ids). No rmpad for the input - The communication sha
RLVMR/code/verl/workers/actor/megatron_actor.py:233
↓ 2 callersFunctionfree_ParseExpNode
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:936
↓ 2 callersFunctionfree_TypedListList
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:1234
↓ 2 callersMethodfrom_task
Build an AgentVerse from a task name. The task name should correspond to a directory in `tasks` directory. Then this method will load
HATE/basic_hate/agentverse/agentverse.py:26
↓ 2 callersMethodgenerate
call LLM to generate response based on the history messages Args: messages: the history messages
SWF/src/base.py:92
↓ 2 callersMethodgenerate
( self, nodes: List[str], final_video_path: str, node_output_dir: str,
ScriptAgent/code/director_agent.py:1795
↓ 2 callersFunctiongenerate_attrs
(corpus_by_cat, k, save_name)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/attributes/generate_attrs.py:140
↓ 2 callersMethodgenerate_prosodic_features
Main method to generate prosodic features for given text and instruction. This is the primary interface method that orchestr
BatonVoice/openrouter_gemini_client.py:292
↓ 2 callersMethodget_action
(self, action_or_ind)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/game_state_base.py:206
↓ 2 callersMethodget_action_candidate_representations
(self, action_candidate_list, use_model="online")
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/base_agent.py:297
↓ 2 callersMethodget_all_object_ids_types_referents_LUTJSON
Returns look up table mapping object ids to objects with keys "type_id" and "referents"
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:244
↓ 2 callersMethodget_all_object_types_LUTJSON
Returns look up table mapping object ids to type ids
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:237
↓ 2 callersMethodget_all_params
Get all the parameters of the models in all pp ranks Returns: params: List[List[Dict[str, Tensor]]]: a list of parameters in all
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:179
↓ 2 callersMethodget_all_params
Get all the parameters of the models in all pp ranks Returns: params: List[List[Dict[str, Tensor]]]: a list of parameters in all
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:181
↓ 2 callersFunctionget_api_result
Anonymization
HATE/basic_hate/agentverse/llms/openai.py:51
↓ 2 callersMethodget_checkpoint_name
Determine the directory name for this rank's checkpoint.
RLVMR/code/verl/utils/checkpoint/megatron_checkpoint_manager.py:123
↓ 2 callersFunctionget_common_default_kwargs_for_parallel_linear
()
RLVER/code/verl/utils/megatron/tensor_parallel.py:47
↓ 2 callersFunctionget_common_default_kwargs_for_parallel_linear
()
RLVMR/code/verl/utils/megatron/tensor_parallel.py:47
↓ 2 callersFunctionget_conv_log_filename
()
VISTA/LLaVA-VISTA/llava/serve/gradio_web_server.py:32
↓ 2 callersFunctionget_corpus
keys: `name`, `small_description`, `review` category_type: `category`, `query`
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/attributes/generate_attrs.py:76
↓ 2 callersFunctionget_cosine_schedule_with_warmup
Create a schedule with a learning rate that decreases following the values of the cosine function between the initial lr set in the optimizer
RLVER/code/verl/utils/torch_functional.py:431
↓ 2 callersMethodget_cost
(self, usages)
SWF/src/base.py:198
↓ 2 callersMethodget_cost
1/100: scaling factor * / 1000: total k token
SWF/src/base.py:316
↓ 2 callersFunctionget_dataset
(name, image_set, transform)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/train.py:23
↓ 2 callersFunctionget_dataset
(split, mem=False)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_choice_il.py:171
↓ 2 callersFunctionget_dataset
(name, flip=False, variant=None, size=None)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_search_il.py:72
↓ 2 callersFunctionget_embedding
(text: str, attempts=3)
HATE/basic_hate/agentverse/llms/openai.py:603
↓ 2 callersMethodget_env_feedback
Get environment feedback
SWF/src/base.py:351
↓ 2 callersMethodget_exploration_frames
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_thor_env.py:373
↓ 2 callersMethodget_extended_attention_mask
Makes broadcastable attention and causal masks so that future and masked tokens are ignored. Arguments: attention_mask (
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:779
↓ 2 callersMethodget_filter_crit
(self, goal_type)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/task_game_state.py:83
↓ 2 callersMethodget_frames
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_thor_env.py:367
↓ 2 callersFunctionget_generation_config
( model: str, trust_remote_code: bool = False, )
RLVER/code/verl/utils/model.py:58
↓ 2 callersFunctionget_generation_config
( model: str, trust_remote_code: bool = False, )
RLVMR/code/verl/utils/model.py:58
↓ 2 callersMethodget_goal_satisfied
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:219
↓ 2 callersFunctionget_goals
(all_products, product_prices, human_goals=True)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/engine/goal.py:16
↓ 2 callersMethodget_gold_action_sequence
Get the gold action sequence. The gold action sequence is a sequence of actions that leads to a winning state (there is no guarantee i
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:398
↓ 2 callersFunctionget_gsm8k_data
()
RLVER/code/tests/verl/utils/dataset/test_sft_dataset.py:21
↓ 2 callersFunctionget_huggingface_actor_config
(model_name: str, override_config_kwargs=None, trust_remote_code=False)
RLVER/code/verl/utils/model.py:47
↓ 2 callersFunctionget_huggingface_actor_config
(model_name: str, override_config_kwargs=None, trust_remote_code=False)
RLVMR/code/verl/utils/model.py:47
↓ 2 callersFunctionget_human_anns_task_desc
(traj_data, rng=random)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/utils/misc.py:115
↓ 2 callersMethodget_immediacy
Exploit GPT to evaluate the immediacy of this memory
HATE/basic_hate/agentverse/memory_manipulator/reflection.py:152
↓ 2 callersMethodget_importance
Exploit GPT to evaluate the importance of this memory
HATE/basic_hate/agentverse/memory_manipulator/reflection.py:136
↓ 2 callersMethodget_info
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_thor_env.py:175
↓ 2 callersMethodget_instance_seg
Ground-truth instance segemetations (with consistent object IDs) from THOR
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/mrcnn.py:307
↓ 2 callersMethodget_list_of_receptacles_of_type
(self, recep_cls)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/expert/handcoded_expert.py:83
↓ 2 callersFunctionget_megatron_optimizer
( model, config: OptimizerConfig, no_weight_decay_cond=None, scale_lr_cond=Non
RLVMR/code/verl/utils/megatron/optimizer.py:27
↓ 2 callersFunctionget_model_config
(model)
RLVER/code/verl/utils/megatron_utils.py:38
↓ 2 callersFunctionget_model_config
(model)
RLVMR/code/verl/utils/megatron_utils.py:37
↓ 2 callersFunctionget_model_list
()
VISTA/LLaVA-VISTA/llava/serve/gradio_web_server.py:38
↓ 2 callersMethodget_n_tokens
(self,prompt,add_generation_prompt=False)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd_think.py:372
↓ 2 callersMethodget_n_tokens
(self,prompt,add_generation_prompt=False)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:374
↓ 2 callersMethodget_num_moves
Get the current number of moves.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:283
↓ 2 callersFunctionget_obj
(env, open_test_objs, reachable_points, agent_height, scene_name, good_obj_point)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/layouts/precompute_layout_locations.py:18
↓ 2 callersMethodget_obj_coords
(self, box, cls, obj_name, points, known_point=None, object_type=None, current_scene=No
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/task_game_state_full_knowledge.py:209
↓ 2 callersMethodget_object_types
Get a dict mapping object names to the object id. The object name is the name of the actual file, for example "scienceworld.objects.containers
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:260
↓ 2 callersMethodget_objects
(self, str)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/generic.py:240
↓ 2 callersMethodget_objects_and_classes
(self, obs)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/expert/handcoded_expert.py:54
↓ 2 callersFunctionget_objects_of_type
(object_type, metadata)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/game_util.py:292
↓ 2 callersFunctionget_optimizer_checkpoint_path
(checkpoint_path, use_distributed_optimizer=True)
RLVMR/code/verl/utils/megatron_utils.py:269
↓ 2 callersMethodget_parent_receps
(self, object_id)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/game_state_base.py:855
↓ 2 callersFunctionget_peft_state_maybe_zero_3
(named_params, bias)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/train_utils.py:41
↓ 2 callersMethodget_plan
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/planner/ff_planner_handler.py:201
↓ 2 callersMethodget_plan_action
(self, action)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/planned_game_state.py:390
↓ 2 callersFunctionget_plan_from_file
(args)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/planner/ff_planner_handler.py:135
↓ 2 callersMethodget_plan_move
(pose0, pose1)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/graph/graph_obj.py:356
↓ 2 callersMethodget_possible_actions_with_IDs
Get a list of dictionaries that map "action_example" to the action template and "template_id" to the id.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:203
↓ 2 callersMethodget_possible_object_referent_LUT
Returns lookup table (dict) mapping object IDs to their referents.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:214
↓ 2 callersMethodget_possible_object_referent_types_LUT
Returns lookup table (dict) mapping object type IDs to a dict of all objects of that type.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:221
↓ 2 callersMethodget_possible_simplifications
Gets the 6 possible simplifications. Those are: - teleportAction: Adds actions to teleport directly to any possible location -
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:168
↓ 2 callersFunctionget_pred_idx
Get the index (e.g. 2) from the prediction (e.g. 'C')
VISTA/LLaVA-VISTA/llava/eval/eval_science_qa_gpt4.py:28
↓ 2 callersFunctionget_pred_idx
Get the index (e.g. 2) from the prediction (e.g. 'C')
VISTA/LLaVA-VISTA/llava/eval/eval_science_qa.py:28
↓ 2 callersFunctionget_pred_idx
Get the index (e.g. 2) from the prediction (e.g. 'C')
VISTA/TinyLLaVA-VISTA/tinyllava/eval/eval_science_qa.py:28
↓ 2 callersFunctionget_product_per_page
(top_n_products, page)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/engine/engine.py:176
↓ 2 callersMethodget_queue_length
(self)
VISTA/LLaVA-VISTA/llava/serve/model_worker.py:108
↓ 2 callersMethodget_queue_length
(self)
VISTA/LLaVA-VISTA/llava/serve/sglang_worker.py:118
↓ 2 callersMethodget_random_task_vals
(self, scene=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/task_game_state.py:49
↓ 2 callersMethodget_random_variation_train
Get a single random variation from those available for the training set.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:385
↓ 2 callersFunctionget_relevant_objs
(action, plan, idx=0)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/game_util.py:203
↓ 2 callersFunctionget_response
(model, messages)
RolePlay_Villain/codes/utils.py:115
↓ 2 callersFunctionget_response_json
Get and process a response from an LLM with retries and error handling. This function handles: 1. Getting responses from the LLM
RolePlay_Villain/codes/utils.py:478
↓ 2 callersFunctionget_return_value
(env, asin, options, search_terms, page_num, product)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/app.py:95
↓ 2 callersFunctionget_rng_states_checkpoint_path
(checkpoint_path, data_parallel_random_init=False)
RLVMR/code/verl/utils/megatron_utils.py:279
↓ 2 callersFunctionget_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
RLVMR/code/verl/models/transformers/qwen2_vl.py:32
↓ 2 callersFunctionget_rotation_matrix
(pose)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/game_util.py:73
↓ 2 callersFunctionget_seqlen_balanced_partitions
get order of seq lengths to make partitions balanced, this is used in balacing sum of seqlength across dp ranks and microbatches Paramete
RLVMR/code/verl/utils/seqlen_balancing.py:152
↓ 2 callersMethodget_spend
(self)
HATE/basic_hate/agentverse/environments/tasksolving_env/basic.py:127
↓ 2 callersMethodget_spend
(self)
HATE/basic_hate/agentverse/agents/base.py:53
← previousnext →1,001–1,100 of 5,073, ranked by callers