MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

Functionmath_equal_process
(param)
RLVER/code/verl/utils/reward_score/simplerl_utils/grader.py:265
Methodmedian
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:47
Methodmegatron_actor_model_provider
(pre_process, post_process)
RLVER/code/tests/ray/detached_worker/server.py:93
Methodmegatron_actor_model_provider
(pre_process, post_process)
RLVER/code/verl/workers/megatron_workers.py:163
Methodmegatron_actor_model_provider
(pre_process, post_process)
RLVMR/code/verl/workers/megatron_workers.py:171
Methodmegatron_critic_model_provider
(pre_process, post_process)
RLVER/code/verl/workers/megatron_workers.py:506
Methodmegatron_critic_model_provider
(pre_process, post_process)
RLVMR/code/verl/workers/megatron_workers.py:547
Methodmegatron_rm_model_provider
(pre_process, post_process)
RLVER/code/verl/workers/megatron_workers.py:671
Methodmegatron_rm_model_provider
(pre_process, post_process)
RLVMR/code/verl/workers/megatron_workers.py:736
Methodmemory_buffers
(self)
RLVER/code/verl/utils/memory_buffer.py:216
Methodmemory_buffers
(self)
RLVMR/code/verl/utils/memory_buffer.py:216
Methodmerge
(self, other)
RLVER/code/verl/utils/seqlen_balancing.py:72
Methodmerge
(self, other)
RLVMR/code/verl/utils/seqlen_balancing.py:72
Functionmerge_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
Functionmerge_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
Functionmerge_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
Functionmerge_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
Functionmerge_resource_pool
(rp1: RayResourcePool, rp2: RayResourcePool)
RLVMR/code/verl/single_controller/ray/base.py:134
Methodmessages
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/message.py:30
Functionmeta_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
Functionmeta_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
Functionmkdir
(path)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:245
Methodmodality_lengths
(self)
VISTA/LLaVA-VISTA/llava/train/train.py:685
Methodmodality_lengths
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/data/dataset.py:49
Functionmode1_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
Functionmode2_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
Functionmode3_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
Functionmode4_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
Methodmodel_name
(self)
SWF/src/base.py:54
Functionmultireplace
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
Methodname
(self)
SWF/src/base.py:58
Methodnavigate
(self, teleport_loc)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/oracle_astar.py:51
Methodnavigate
(self, teleport_loc)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/mrcnn_astar.py:53
Functionnew_FluentValue
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:296
Functionnew_ParseExpNode
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:150
Functionnew_TypedList
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:117
Functionnew_TypedListList
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:134
Functionnew_axiom_op_list
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:219
Methodnext
Run the environment for one step and return the return message.
HATE/basic_hate/agentverse/agentverse.py:58
Methodnoop
do nothing
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:237
Functionnormalize_answer
(answer: Optional[str])
RLVER/code/verl/utils/reward_score/prime_math/math_normalize.py:43
Functionnormalize_answer
(answer: Optional[str])
RLVMR/code/verl/utils/reward_score/prime_math/math_normalize.py:43
Functionnormalize_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
Methodnum_patches
(self)
VISTA/LLaVA-VISTA/llava/model/multimodal_encoder/clip_encoder.py:87
Methodnum_patches_per_side
(self)
VISTA/LLaVA-VISTA/llava/model/multimodal_encoder/clip_encoder.py:83
Functionnumpy_to_torch
(array, device)
RLVMR/code/agent_system/multi_turn_rollout/utils.py:36
Methodobservation
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
Methodobservation
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
Methodobservation_space
(self)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_site_env.py:187
Methodobserve
(self, obs)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/expert/handcoded_expert.py:569
Methodoutput_hook
(module, input, output)
VISTA/TinyLLaVA-VISTA/tinyllava_visualizer/tinyllava_visualizer.py:137
Methodp2p_messages
(self, agents, messages)
HATE/basic_hate/agentverse/environments/tasksolving_env/rules/decision_maker/base.py:40
Methodpad_
(tensor, n)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:278
Methodpad_
(tensor, n)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:386
Functionpad_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
Functionpad_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
Functionpad_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
Functionpad_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
Functionpad_to_max_stack
(tensor_list: List[torch.Tensor], pad_token_id: int)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout.py:77
Methodpad_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
Methodpad_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
Functionparallel_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
Functionparallel_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
Functionparallel_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
Functionparallel_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
Functionparallel_put
(data_list, max_workers=None)
RLVMR/code/verl/utils/ray_utils.py:23
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:42
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:62
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:90
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:111
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:132
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:172
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:211
Methodparse
( self, agent: "BaseAgent", environment: "BaseEnvironment", output: LLMResult )
HATE/basic_hate/agentverse/output_parser/output_parser.py:239
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:302
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:310
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:326
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:434
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:483
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:558
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:598
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:621
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:633
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:665
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:699
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:731
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:754
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:780
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:830
Methodparse
(self, output: LLMResult)
HATE/basic_hate/agentverse/output_parser/output_parser.py:841
Functionparse_plan_from_file
(self, path)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/planner/ff_planner_handler.py:130
Functionparse_question
(example, data_name)
RLVER/code/verl/utils/reward_score/simplerl_utils/paser.py:656
Methodparse_response
Extracts the utterance of a specific character from a (unexpected) multi-character response. Args
RolePlay_Villain/codes/agent.py:370
Functionpipeline
(s, prompt, max_tokens)
VISTA/LLaVA-VISTA/llava/serve/sglang_worker.py:45
Methodplot_trend_analysis
绘制趋势分析图
HATE/basic_hate/evaluation/topic_ana.py:191
Functionpoint_to_mask
single point to dense pixelwise mask
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/image_util.py:16
Methodpoint_to_mask
(point)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:621
FunctionpopulateModels
(models)
VISTA/LLaVA-VISTA/llava/eval/webpage/script.js:70
FunctionpopulateQuestions
(questions)
VISTA/LLaVA-VISTA/llava/eval/webpage/script.js:81
Functionpost_process_logits
(input_ids, logits, temperature, top_k, top_p)
RLVER/code/verl/utils/torch_functional.py:411
← previousnext →4,501–4,600 of 5,073, ranked by callers