Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/digitalhuman
/ functions
Functions
5,073 in github.com/Tencent/digitalhuman
⨍
Functions
5,073
◇
Types & classes
810
↳
Endpoints
92
Method
eval_f1
(predict: str, answer: Union[str, List])
SWF/src/metric.py:154
Method
eval_pred_list
(self, pred_list)
VISTA/LLaVA-VISTA/llava/eval/m4c_evaluator.py:264
Method
eval_pred_list
(self, pred_list)
VISTA/LLaVA-VISTA/llava/eval/m4c_evaluator.py:289
Method
eval_pred_list
(self, pred_list)
VISTA/LLaVA-VISTA/llava/eval/m4c_evaluator.py:321
Method
eval_pred_list
(self, pred_list)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/m4c_evaluator.py:264
Method
eval_pred_list
(self, pred_list)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/m4c_evaluator.py:289
Method
eval_pred_list
(self, pred_list)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/m4c_evaluator.py:321
Method
evaluate
evaluation stage.
HATE/basic_hate/agentverse/environments/tasksolving_env/rules/base_final.py:162
Method
evaluate
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
Method
evaluate
Evaluate video using Qwen3-Omni. Args: script_text: Reference script text. video_path: Path to video file.
ScriptAgent/code/critic_agent_video.py:1325
Function
evaluate_dagger
(env, agent, num_games, debug=False)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/eval/evaluate_dagger.py:11
Function
evaluate_dqn
(env, agent, num_games, debug=False)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/eval/evaluate_dqn.py:10
Function
evaluate_vision_dagger
(env, agent, num_games, debug=False)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/eval/evaluate_vision_dagger.py:10
Method
execute
execution stage. Use the executor to finish the task.
HATE/basic_hate/agentverse/environments/tasksolving_env/rules/base_final.py:142
Method
execute_all
(self, method_name: str, *args, **kwargs)
RLVER/code/verl/single_controller/ray/base.py:329
Method
execute_all
(self, method_name: str, *args, **kwargs)
RLVMR/code/verl/single_controller/ray/base.py:349
Method
execute_func_rank_zero
(self, func, *args, **kwargs)
RLVMR/code/verl/single_controller/base/worker.py:215
Method
execute_rank_zero
(self, method_name: str, *args, **kwargs)
RLVER/code/verl/single_controller/ray/base.py:326
Method
execute_rank_zero
(self, method_name: str, *args, **kwargs)
RLVMR/code/verl/single_controller/ray/base.py:346
Method
execute_rank_zero_sync
(self, method_name: str, *args, **kwargs)
RLVER/code/verl/single_controller/ray/base.py:319
Method
execute_rank_zero_sync
(self, method_name: str, *args, **kwargs)
RLVMR/code/verl/single_controller/ray/base.py:339
Method
execute_with_func_generator
(self, func, *args, **kwargs)
RLVMR/code/verl/single_controller/base/worker.py:210
Function
exists
(val)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/resampler.py:54
Function
exists
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
Function
exists
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
Method
expand2square
(pil_img, background_color=(122, 116, 104))
VISTA/LLaVA-VISTA/llava/conversation.py:114
Method
expand2square
(pil_img, background_color)
VISTA/LLaVA-VISTA/llava/train/train.py:704
Method
explore_scene
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/mrcnn.py:69
Method
explore_scene
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/oracle.py:53
Method
explore_scene_exhaustively
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/mrcnn.py:117
Method
extra_repr
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:450
Method
extra_repr
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:604
Method
extra_repr
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:738
Function
extract_boxed_answer
从包含数学解题过程的字符串中提取所有 \boxed{} 标签内的答案。 Args: solution_string: 包含解题过程的字符串,可能包含 \boxed{} 标签。 Returns: 一个列表,包含所有找到的 \boxed{}
SWF/src/utils.py:89
Function
extract_json
(content)
SWF/src/utils.py:75
Function
extract_json
(text, **kwargs)
RolePlay_Villain/codes/utils.py:390
Function
extract_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
Function
extract_multi_choice_answer
(pred_str)
RLVER/code/verl/utils/reward_score/simplerl_utils/paser.py:355
Function
extract_pg_from_exist
(resource_pools: Dict[str, RayResourcePool], src_role_names: List[str], resource_poo
RLVER/code/verl/single_controller/ray/base.py:91
Function
extract_pg_from_exist
(resource_pools: Dict[str, RayResourcePool], src_role_names: List[str], resource_poo
RLVMR/code/verl/single_controller/ray/base.py:111
Function
extract_rlvmr_rewards_from_batch
(batch_data, device=None)
RLVMR/code/rlvmr/core_rlvmr.py:148
Function
extract_step
(path)
RLVER/code/verl/trainer/fsdp_sft_trainer.py:59
Function
extract_step
(path)
RLVMR/code/verl/trainer/fsdp_sft_trainer.py:59
Function
extract_theoremqa_answer
(pred: str, answer_flag: bool = True)
RLVER/code/verl/utils/reward_score/simplerl_utils/paser.py:461
Method
feed_forward_chunk
(self, attention_output)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:542
Method
feed_forward_chunk_query
(self, attention_output)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:547
Function
fetch_params
(module)
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:69
Function
fetch_params
(module)
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:73
Method
find_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
Function
fit
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
Function
fit
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
Method
fit
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
Function
flag_last_response
(state, model_selector, request: gr.Request)
VISTA/LLaVA-VISTA/llava/serve/gradio_web_server.py:106
Method
flush
(self)
RLVER/code/verl/utils/logger/aggregate_logger.py:37
Function
fold_batch_dim
Fold a batch dim from [bsz, xxx] into [new_bsz, bsz // new_bsz, xxx]
RLVMR/code/verl/protocol.py:112
Method
foo
(self, y)
RLVER/code/tests/ray/test_worker_group_basics.py:48
Method
format
(self, record: LogRecord)
HATE/basic_hate/agentverse/logging.py:256
Function
forward
( 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
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
VISTA/LLaVA-VISTA/llava/model/language_model/llava_llama.py:61
Method
forward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Optional[Tuple[
VISTA/LLaVA-VISTA/llava/model/language_model/llava_mpt.py:60
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
VISTA/LLaVA-VISTA/llava/model/language_model/llava_mistral.py:57
Method
forward
(self, x, *args, **kwargs)
VISTA/LLaVA-VISTA/llava/model/multimodal_projector/builder.py:10
Method
forward
(self, x)
VISTA/LLaVA-VISTA/llava/model/multimodal_projector/builder.py:28
Method
forward
(self, images)
VISTA/LLaVA-VISTA/llava/model/multimodal_encoder/clip_encoder.py:46
Method
forward
(self, images)
VISTA/LLaVA-VISTA/llava/model/multimodal_encoder/clip_encoder.py:134
Method
forward
(self, hidden_states)
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:87
Method
forward
(self, x, position_ids)
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:153
Method
forward
(self, x, position_ids)
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:180
Method
forward
(self, x, position_ids)
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:190
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:381
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.LongTe
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:517
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:748
Method
forward
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
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:1108
Method
forward
( self, input_ids=None, attention_mask=None, position_ids=None
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:1374
Method
forward
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
Method
forward
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
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
VISTA/TinyLLaVA-VISTA/tinyllava/model/modeling_tinyllava.py:110
Method
forward
Forward pass through the OpenELMRMSNorm layer. Args: x (torch.Tensor): The input tensor. Returns: tor
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:368
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:909
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:1125
Method
forward
(self, x, seq_len=None)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:106
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:304
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.LongTensor] = None
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:418
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:631
Method
forward
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
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:951
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:1121
Method
forward
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
Method
forward
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
Method
forward
(self, x)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:40
Method
forward
( self, input_ids=None, position_ids=None, query_embeds=None, past_key
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:144
Method
forward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:235
Method
forward
(self, hidden_states, input_tensor)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:351
Method
forward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:388
Method
forward
(self, hidden_states)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:424
← previous
next →
3,901–4,000 of 5,073, ranked by callers