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
Function
math_equal_process
(param)
RLVER/code/verl/utils/reward_score/simplerl_utils/grader.py:265
Method
median
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:47
Method
megatron_actor_model_provider
(pre_process, post_process)
RLVER/code/tests/ray/detached_worker/server.py:93
Method
megatron_actor_model_provider
(pre_process, post_process)
RLVER/code/verl/workers/megatron_workers.py:163
Method
megatron_actor_model_provider
(pre_process, post_process)
RLVMR/code/verl/workers/megatron_workers.py:171
Method
megatron_critic_model_provider
(pre_process, post_process)
RLVER/code/verl/workers/megatron_workers.py:506
Method
megatron_critic_model_provider
(pre_process, post_process)
RLVMR/code/verl/workers/megatron_workers.py:547
Method
megatron_rm_model_provider
(pre_process, post_process)
RLVER/code/verl/workers/megatron_workers.py:671
Method
megatron_rm_model_provider
(pre_process, post_process)
RLVMR/code/verl/workers/megatron_workers.py:736
Method
memory_buffers
(self)
RLVER/code/verl/utils/memory_buffer.py:216
Method
memory_buffers
(self)
RLVMR/code/verl/utils/memory_buffer.py:216
Method
merge
(self, other)
RLVER/code/verl/utils/seqlen_balancing.py:72
Method
merge
(self, other)
RLVMR/code/verl/utils/seqlen_balancing.py:72
Function
merge_megatron_ckpt_llama
Merge sharded parameters of a Megatron module into a merged checkpoint. Args: wrapped_modelss (list of megatron.core.distributed.Distribu
RLVER/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py:76
Function
merge_megatron_ckpt_llama
Merge sharded parameters of a Megatron module into a merged checkpoint. Args: wrapped_models (list of megatron.core.distributed.Distribut
RLVER/code/verl/models/llama/megatron/checkpoint_utils/llama_saver.py:80
Function
merge_megatron_ckpt_llama
Merge sharded parameters of a Megatron module into a merged checkpoint. Args: wrapped_models (list of megatron.core.distributed.Distribut
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_saver.py:68
Function
merge_megatron_ckpt_qwen2
Merge sharded parameters of a Megatron module into a merged checkpoint. Args: wrapped_models (list of megatron.core.distributed.Distribut
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py:68
Function
merge_resource_pool
(rp1: RayResourcePool, rp2: RayResourcePool)
RLVMR/code/verl/single_controller/ray/base.py:134
Method
messages
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/message.py:30
Function
meta_device_init
Create model parameters with meta device. Note buffers in model will still be initialized in default device (e.g., CPU), since the buffe
RLVER/code/verl/utils/fsdp_utils.py:172
Function
meta_device_init
Create model parameters with meta device. Note buffers in model will still be initialized in default device (e.g., CPU), since the buffe
RLVMR/code/verl/utils/fsdp_utils.py:176
Function
mkdir
(path)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:245
Method
modality_lengths
(self)
VISTA/LLaVA-VISTA/llava/train/train.py:685
Method
modality_lengths
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/data/dataset.py:49
Function
mode1_text_features_to_audio
Mode 1: Convert text and features to audio using unified_tts mode 2. This function takes text input along with prosodic features and gen
BatonVoice/gradio_tts_interface.py:128
Function
mode2_text_to_features_audio
Mode 2: Convert text to features and audio using unified_tts mode 1. This function takes only text input and generates both prosodic fea
BatonVoice/gradio_tts_interface.py:184
Function
mode3_audio_to_features
Mode 3: Extract text features from audio using audio_feature_extractor. This function takes an uploaded audio file and extracts both the
BatonVoice/gradio_tts_interface.py:258
Function
mode4_text_instruction_to_features
Mode 4: Generate features from text and instruction using OpenRouter Gemini. This function takes text and an emotional/stylistic instruc
BatonVoice/gradio_tts_interface.py:337
Method
model_name
(self)
SWF/src/base.py:54
Function
multireplace
Given a string and a replacement map, it returns the replaced string. :param str string: string to execute replacements on :param dict re
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/py_util.py:23
Method
name
(self)
SWF/src/base.py:58
Method
navigate
(self, teleport_loc)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/oracle_astar.py:51
Method
navigate
(self, teleport_loc)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/mrcnn_astar.py:53
Function
new_FluentValue
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:296
Function
new_ParseExpNode
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:150
Function
new_TypedList
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:117
Function
new_TypedListList
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:134
Function
new_axiom_op_list
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:219
Method
next
Run the environment for one step and return the return message.
HATE/basic_hate/agentverse/agentverse.py:58
Method
noop
do nothing
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:237
Function
normalize_answer
(answer: Optional[str])
RLVER/code/verl/utils/reward_score/prime_math/math_normalize.py:43
Function
normalize_answer
(answer: Optional[str])
RLVMR/code/verl/utils/reward_score/prime_math/math_normalize.py:43
Function
normalize_color_size
Get mappings of all colors, sizes to corresponding values in COLOR_SET, SIZE_PATTERNS
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/engine/normalize.py:64
Method
num_patches
(self)
VISTA/LLaVA-VISTA/llava/model/multimodal_encoder/clip_encoder.py:87
Method
num_patches_per_side
(self)
VISTA/LLaVA-VISTA/llava/model/multimodal_encoder/clip_encoder.py:83
Function
numpy_to_torch
(array, device)
RLVMR/code/agent_system/multi_turn_rollout/utils.py:36
Method
observation
Compiles state into either the `html` or `text` observation mode
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_site_env.py:169
Method
observation
Compiles state into either the `html` or `text` observation mode
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_text_env.py:191
Method
observation_space
(self)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_site_env.py:187
Method
observe
(self, obs)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/expert/handcoded_expert.py:569
Method
output_hook
(module, input, output)
VISTA/TinyLLaVA-VISTA/tinyllava_visualizer/tinyllava_visualizer.py:137
Method
p2p_messages
(self, agents, messages)
HATE/basic_hate/agentverse/environments/tasksolving_env/rules/decision_maker/base.py:40
Method
pad_
(tensor, n)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:278
Method
pad_
(tensor, n)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:386
Function
pad_dataproto_to_divisor
Pad a DataProto to size divisible by size_divisor Args: size_divisor (int): size divisor Returns: data: (DataProto): the pad
RLVMR/code/verl/protocol.py:41
Function
pad_packed_inputs
pad the tokens such that the total length is a multiple of size. This function is useful when applying sequence parallel and context parallel
RLVER/code/verl/utils/model.py:325
Function
pad_packed_inputs
pad the tokens such that the total length is a multiple of size. This function is useful when applying sequence parallel and context parallel
RLVMR/code/verl/utils/model.py:334
Function
pad_to_max_stack
(tensor_list: List[torch.Tensor], pad_token_id: int)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd_think.py:85
Function
pad_to_max_stack
(tensor_list: List[torch.Tensor], pad_token_id: int)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout.py:77
Method
pad_token_id
`Optional[int]`: Id of the padding token in the vocabulary. Returns `None` if the token has not been set.
RLVER/code/verl/workers/rollout/tokenizer.py:36
Method
pad_token_id
`Optional[int]`: Id of the padding token in the vocabulary. Returns `None` if the token has not been set.
RLVMR/code/verl/workers/rollout/tokenizer.py:36
Function
parallel_init_module_fn
Generate a function to initialize sub-modules in the `module` with `shard_states` from huggingface checkpoint. Args: module (tor
RLVER/code/verl/utils/fsdp_utils.py:259
Function
parallel_init_module_fn
Generate a function to initialize sub-modules in the `module` with `shard_states` from huggingface checkpoint. Args: module (tor
RLVMR/code/verl/utils/fsdp_utils.py:263
Function
parallel_load_safetensors
Parallel load safetensors from huggingface checkpoint Huggingface checkpoint contains: - config.json: a json file for model configurati
RLVER/code/verl/utils/fsdp_utils.py:203
Function
parallel_load_safetensors
Parallel load safetensors from huggingface checkpoint Huggingface checkpoint contains: - config.json: a json file for model configurati
RLVMR/code/verl/utils/fsdp_utils.py:207
Function
parallel_put
(data_list, max_workers=None)
RLVMR/code/verl/utils/ray_utils.py:23
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:42
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:62
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:90
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:111
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:132
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:172
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:211
Method
parse
( self, agent: "BaseAgent", environment: "BaseEnvironment", output: LLMResult )
HATE/basic_hate/agentverse/output_parser/output_parser.py:239
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:302
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:310
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:326
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:434
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:483
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:558
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:598
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:621
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:633
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:665
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:699
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:731
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:754
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:780
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:830
Method
parse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:841
Function
parse_plan_from_file
(self, path)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/planner/ff_planner_handler.py:130
Function
parse_question
(example, data_name)
RLVER/code/verl/utils/reward_score/simplerl_utils/paser.py:656
Method
parse_response
Extracts the utterance of a specific character from a (unexpected) multi-character response. Args
RolePlay_Villain/codes/agent.py:370
Function
pipeline
(s, prompt, max_tokens)
VISTA/LLaVA-VISTA/llava/serve/sglang_worker.py:45
Method
plot_trend_analysis
绘制趋势分析图
HATE/basic_hate/evaluation/topic_ana.py:191
Function
point_to_mask
single point to dense pixelwise mask
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/image_util.py:16
Method
point_to_mask
(point)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:621
Function
populateModels
(models)
VISTA/LLaVA-VISTA/llava/eval/webpage/script.js:70
Function
populateQuestions
(questions)
VISTA/LLaVA-VISTA/llava/eval/webpage/script.js:81
Function
post_process_logits
(input_ids, logits, temperature, top_k, top_p)
RLVER/code/verl/utils/torch_functional.py:411
← previous
next →
4,501–4,600 of 5,073, ranked by callers