MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

Methodeval_f1
(predict: str, answer: Union[str, List])
SWF/src/metric.py:154
Methodeval_pred_list
(self, pred_list)
VISTA/LLaVA-VISTA/llava/eval/m4c_evaluator.py:264
Methodeval_pred_list
(self, pred_list)
VISTA/LLaVA-VISTA/llava/eval/m4c_evaluator.py:289
Methodeval_pred_list
(self, pred_list)
VISTA/LLaVA-VISTA/llava/eval/m4c_evaluator.py:321
Methodeval_pred_list
(self, pred_list)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/m4c_evaluator.py:264
Methodeval_pred_list
(self, pred_list)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/m4c_evaluator.py:289
Methodeval_pred_list
(self, pred_list)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/m4c_evaluator.py:321
Methodevaluate
evaluation stage.
HATE/basic_hate/agentverse/environments/tasksolving_env/rules/base_final.py:162
Methodevaluate
Evaluate video using Gemini 2.5 Pro. Args: script_text: Reference script text. video_path: Path to video file
ScriptAgent/code/critic_agent_video.py:1087
Methodevaluate
Evaluate video using Qwen3-Omni. Args: script_text: Reference script text. video_path: Path to video file.
ScriptAgent/code/critic_agent_video.py:1325
Functionevaluate_dagger
(env, agent, num_games, debug=False)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/eval/evaluate_dagger.py:11
Functionevaluate_dqn
(env, agent, num_games, debug=False)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/eval/evaluate_dqn.py:10
Functionevaluate_vision_dagger
(env, agent, num_games, debug=False)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/eval/evaluate_vision_dagger.py:10
Methodexecute
execution stage. Use the executor to finish the task.
HATE/basic_hate/agentverse/environments/tasksolving_env/rules/base_final.py:142
Methodexecute_all
(self, method_name: str, *args, **kwargs)
RLVER/code/verl/single_controller/ray/base.py:329
Methodexecute_all
(self, method_name: str, *args, **kwargs)
RLVMR/code/verl/single_controller/ray/base.py:349
Methodexecute_func_rank_zero
(self, func, *args, **kwargs)
RLVMR/code/verl/single_controller/base/worker.py:215
Methodexecute_rank_zero
(self, method_name: str, *args, **kwargs)
RLVER/code/verl/single_controller/ray/base.py:326
Methodexecute_rank_zero
(self, method_name: str, *args, **kwargs)
RLVMR/code/verl/single_controller/ray/base.py:346
Methodexecute_rank_zero_sync
(self, method_name: str, *args, **kwargs)
RLVER/code/verl/single_controller/ray/base.py:319
Methodexecute_rank_zero_sync
(self, method_name: str, *args, **kwargs)
RLVMR/code/verl/single_controller/ray/base.py:339
Methodexecute_with_func_generator
(self, func, *args, **kwargs)
RLVMR/code/verl/single_controller/base/worker.py:210
Functionexists
(val)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/resampler.py:54
Functionexists
r"""Works like os.path.exists() but supports hdfs. Test whether a path exists. Returns False for broken symbolic links. Args: path (
RLVER/code/verl/utils/hdfs_io.py:27
Functionexists
r"""Works like os.path.exists() but supports hdfs. Test whether a path exists. Returns False for broken symbolic links. Args: path (
RLVMR/code/verl/utils/hdfs_io.py:27
Methodexpand2square
(pil_img, background_color=(122, 116, 104))
VISTA/LLaVA-VISTA/llava/conversation.py:114
Methodexpand2square
(pil_img, background_color)
VISTA/LLaVA-VISTA/llava/train/train.py:704
Methodexplore_scene
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/mrcnn.py:69
Methodexplore_scene
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/oracle.py:53
Methodexplore_scene_exhaustively
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/mrcnn.py:117
Methodextra_repr
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:450
Methodextra_repr
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:604
Methodextra_repr
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:738
Functionextract_boxed_answer
从包含数学解题过程的字符串中提取所有 \boxed{} 标签内的答案。 Args: solution_string: 包含解题过程的字符串,可能包含 \boxed{} 标签。 Returns: 一个列表,包含所有找到的 \boxed{}
SWF/src/utils.py:89
Functionextract_json
(content)
SWF/src/utils.py:75
Functionextract_json
(text, **kwargs)
RolePlay_Villain/codes/utils.py:390
Functionextract_json_from_response
Extract JSON data from response text Args: response_text: Text containing JSON data Returns: Extracted JSON
BatonVoice/audio_feature_extractor.py:1247
Functionextract_multi_choice_answer
(pred_str)
RLVER/code/verl/utils/reward_score/simplerl_utils/paser.py:355
Functionextract_pg_from_exist
(resource_pools: Dict[str, RayResourcePool], src_role_names: List[str], resource_poo
RLVER/code/verl/single_controller/ray/base.py:91
Functionextract_pg_from_exist
(resource_pools: Dict[str, RayResourcePool], src_role_names: List[str], resource_poo
RLVMR/code/verl/single_controller/ray/base.py:111
Functionextract_rlvmr_rewards_from_batch
(batch_data, device=None)
RLVMR/code/rlvmr/core_rlvmr.py:148
Functionextract_step
(path)
RLVER/code/verl/trainer/fsdp_sft_trainer.py:59
Functionextract_step
(path)
RLVMR/code/verl/trainer/fsdp_sft_trainer.py:59
Functionextract_theoremqa_answer
(pred: str, answer_flag: bool = True)
RLVER/code/verl/utils/reward_score/simplerl_utils/paser.py:461
Methodfeed_forward_chunk
(self, attention_output)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:542
Methodfeed_forward_chunk_query
(self, attention_output)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:547
Functionfetch_params
(module)
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:69
Functionfetch_params
(module)
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:73
Methodfind_prefixsum_idx
Find the highest index `i` in the array such that sum(arr[0] + arr[1] + ... + arr[i - i]) <= prefixsum if array values a
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/segment_tree.py:99
Functionfit
The training loop of PPO. The driver process only need to call the compute functions of the worker group through RPC to construct the PPO dat
RLVER/code/examples/split_placement/split_monkey_patch.py:26
Functionfit
The training loop of PPO. The driver process only need to call the compute functions of the worker group through RPC to construct the PPO dat
RLVMR/code/examples/split_placement/split_monkey_patch.py:26
Methodfit
The training loop of PPO. The driver process only need to call the compute functions of the worker group through RPC to construct the
RLVER/code/verl/trainer/ppo/ray_trainer_think.py:929
Functionflag_last_response
(state, model_selector, request: gr.Request)
VISTA/LLaVA-VISTA/llava/serve/gradio_web_server.py:106
Methodflush
(self)
RLVER/code/verl/utils/logger/aggregate_logger.py:37
Functionfold_batch_dim
Fold a batch dim from [bsz, xxx] into [new_bsz, bsz // new_bsz, xxx]
RLVMR/code/verl/protocol.py:112
Methodfoo
(self, y)
RLVER/code/tests/ray/test_worker_group_basics.py:48
Methodformat
(self, record: LogRecord)
HATE/basic_hate/agentverse/logging.py:256
Functionforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None, position_i
VISTA/LLaVA-VISTA/llava/train/llama_flash_attn_monkey_patch.py:16
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
VISTA/LLaVA-VISTA/llava/model/language_model/llava_llama.py:61
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Optional[Tuple[
VISTA/LLaVA-VISTA/llava/model/language_model/llava_mpt.py:60
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
VISTA/LLaVA-VISTA/llava/model/language_model/llava_mistral.py:57
Methodforward
(self, x, *args, **kwargs)
VISTA/LLaVA-VISTA/llava/model/multimodal_projector/builder.py:10
Methodforward
(self, x)
VISTA/LLaVA-VISTA/llava/model/multimodal_projector/builder.py:28
Methodforward
(self, images)
VISTA/LLaVA-VISTA/llava/model/multimodal_encoder/clip_encoder.py:46
Methodforward
(self, images)
VISTA/LLaVA-VISTA/llava/model/multimodal_encoder/clip_encoder.py:134
Methodforward
(self, hidden_states)
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:87
Methodforward
(self, x, position_ids)
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:153
Methodforward
(self, x, position_ids)
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:180
Methodforward
(self, x, position_ids)
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:190
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:381
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.LongTe
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:517
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:748
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:860
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:1108
Methodforward
( self, input_ids=None, attention_mask=None, position_ids=None
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:1374
Methodforward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:1671
Methodforward
r""" start_positions (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for position (index) of the start of the la
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:1800
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
VISTA/TinyLLaVA-VISTA/tinyllava/model/modeling_tinyllava.py:110
Methodforward
Forward pass through the OpenELMRMSNorm layer. Args: x (torch.Tensor): The input tensor. Returns: tor
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:368
Methodforward
The forward function of RoPE embeddings. Args: query: Query embeddings in the transformer model. The shape of query embed
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:503
Methodforward
Forward pass of multi-head self-attention. Args: hidden_states: Input tensor of the shape [batch size, sequence length, m
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:610
Methodforward
Forward function of FFN layer. Args: x: Input tensor of the shape [batch size, sequence length, model dimension]. Returns:
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:741
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:769
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:909
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:1125
Methodforward
(self, x, seq_len=None)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:106
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:304
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.LongTensor] = None
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:418
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:631
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)`
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:745
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:951
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:1121
Methodforward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:1343
Methodforward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:1466
Methodforward
(self, x)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:40
Methodforward
( self, input_ids=None, position_ids=None, query_embeds=None, past_key
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:144
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:235
Methodforward
(self, hidden_states, input_tensor)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:351
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:388
Methodforward
(self, hidden_states)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:424
← previousnext →3,901–4,000 of 5,073, ranked by callers