MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

↓ 4 callersMethodget_page_name
Determine which page (i.e. item_page, search_results) the given URL is pointing at
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_text_env.py:605
↓ 4 callersMethodget_placement_groups
(self, strategy="STRICT_PACK", name=None)
RLVMR/code/verl/single_controller/ray/base.py:84
↓ 4 callersMethodget_resource_pool
Get the resource pool of the worker_cls
RLVER/code/verl/trainer/ppo/ray_trainer.py:96
↓ 4 callersMethodget_resource_pool
Get the resource pool of the worker_cls
RLVER/code/verl/trainer/ppo/ray_trainer_think.py:95
↓ 4 callersMethodget_resource_pool
Get the resource pool of the worker_cls
RLVMR/code/verl/trainer/ppo/ray_trainer.py:102
↓ 4 callersFunctionget_reverse_idx
(idx_map)
RLVER/code/verl/utils/seqlen_balancing.py:259
↓ 4 callersFunctionget_reverse_idx
(idx_map)
RLVMR/code/verl/utils/seqlen_balancing.py:259
↓ 4 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
RLVER/code/verl/utils/seqlen_balancing.py:152
↓ 4 callersFunctionget_sharding_strategy
(device_mesh)
RLVMR/code/verl/workers/fsdp_workers.py:59
↓ 4 callersMethodget_spend
Number of USD spent
HATE/basic_hate/agentverse/llms/base.py:26
↓ 4 callersMethodget_target
returns the object type of a task param
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/tasks.py:126
↓ 4 callersMethodget_valid_action_object_combinations_with_templates
Returns list of dicts with keys "action", "template_id", and "obj_ids"
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:231
↓ 4 callersFunctionimport_external_libs
(external_libs=None)
RLVMR/code/verl/utils/import_utils.py:50
↓ 4 callersFunctioninit_model_parallel_config
(config: DictConfig)
RLVER/code/verl/utils/megatron_utils.py:208
↓ 4 callersMethodinit_weights
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:219
↓ 4 callersFunctioninstantiate_exp
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_hard.c:814
↓ 4 callersFunctionis_artificial_fluent
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:2201
↓ 4 callersFunctionis_digit
(s)
RLVER/code/verl/utils/reward_score/prime_math/grader.py:107
↓ 4 callersFunctionis_digit
(s)
RLVMR/code/verl/utils/reward_score/prime_math/grader.py:107
↓ 4 callersFunctionis_dnf
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:3252
↓ 4 callersFunctionis_hex
(char: str)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:127
↓ 4 callersFunctionis_quote
(char: str)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:41
↓ 4 callersFunctionis_wff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/parse.c:1051
↓ 4 callersFunctionis_whitespace
(char: str)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:89
↓ 4 callersFunctionload_megatron_model_weights
(config, model_config, parallel_model,
RLVER/code/verl/utils/model.py:279
↓ 4 callersFunctionload_megatron_model_weights
(config, model_config, parallel_model,
RLVMR/code/verl/utils/model.py:280
↓ 4 callersMethodload_model
(self, device_map=None)
VISTA/LLaVA-VISTA/llava/model/multimodal_encoder/clip_encoder.py:24
↓ 4 callersMethodlog
(self, *args, level=INFO)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:368
↓ 4 callersFunctionmake_Fluent
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:719
↓ 4 callersMethodmake_iterator
r"""Make an iterator from the DataProto. This is built upon that TensorDict can be used as a normal Pytorch dataset. See https://pytorch.org/t
RLVER/code/verl/protocol.py:453
↓ 4 callersFunctionnew_Fact
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:270
↓ 4 callersFunctionnew_Literal
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:396
↓ 4 callersMethodobserve
(self, obs)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/expert/handcoded_expert.py:124
↓ 4 callersFunctionparse_objects
extract objects after "you see" and before "your task is to:"
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/utils/misc.py:119
↓ 4 callersMethodprepare
Prepare the input for the encoder. Pass it through pad, embedding, and rnn.
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/models/rnn.py:54
↓ 4 callersFunctionprint_ParseExpNode
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:133
↓ 4 callersFunctionprint_State
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:1417
↓ 4 callersFunctionprint_lnf_representation
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:355
↓ 4 callersFunctionprint_model_size
(model: nn.Module, name: str = None)
RLVER/code/verl/utils/model.py:146
↓ 4 callersMethodrank
(self)
RLVER/code/verl/single_controller/base/worker.py:174
↓ 4 callersFunctionread_html_template
(path)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/webshop_lite.py:15
↓ 4 callersFunctionread_jsonl
(path: str, key: str=None)
VISTA/LLaVA-VISTA/llava/eval/generate_webpage_data_from_table.py:10
↓ 4 callersFunctionremove_inner_thoughts
(dialogue: str)
RolePlay_Villain/codes/utils.py:151
↓ 4 callersMethodreorder
Note that this operation is in-place
RLVER/code/verl/protocol.py:549
↓ 4 callersFunctionrepeat_kv
This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:218
↓ 4 callersFunctionrepeat_kv
This is the equivalent of torch.repeat_interleave(x, dim=2, repeats=n_rep). The hidden states go from (batch, seqlen, num_key_value_heads, he
RLVMR/code/verl/models/transformers/monkey_patch.py:32
↓ 4 callersMethodreply
(self,query)
RLVER/code/verl/workers/rollout/vllm_rollout/hard_player_simulator_dsv3.py:380
↓ 4 callersFunctionrotate_half
Rotates half the hidden dims of the input.
RLVER/code/verl/models/qwen2/megatron/layers/parallel_attention.py:116
↓ 4 callersFunctionrotate_half
Rotates half the hidden dims of the input.
RLVER/code/verl/models/llama/megatron/layers/parallel_attention.py:116
↓ 4 callersFunctionrotate_half
Rotates half the hidden dims of the input.
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_attention.py:116
↓ 4 callersFunctionrotate_half
Rotates half the hidden dims of the input.
RLVMR/code/verl/models/llama/megatron/layers/parallel_attention.py:148
↓ 4 callersMethodsave
(self, image_path, save_path)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/video_util.py:9
↓ 4 callersMethodsave_checkpoint
(self, step)
RLVMR/code/verl/trainer/fsdp_sft_trainer.py:425
↓ 4 callersMethodscore
Generate similarity scores for all pairs ``<text,text_pair>``. The inputs can be ``1 -> 1``, ``1 -> N`` or ``N -> N``. In the ``1 - N
RLVER/code/llm.py:1129
↓ 4 callersFunctionset_ulysses_sequence_parallel_group
Set ulysses sequence parallel process group.
RLVER/code/verl/utils/ulysses.py:29
↓ 4 callersMethodshared_embedding_or_output_weight
(self)
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:599
↓ 4 callersMethodshared_embedding_or_output_weight
(self)
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:603
↓ 4 callersFunctionsimplify_wff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:1673
↓ 4 callersMethodstep
Get one step response
HATE/basic_hate/agentverse/agents/base.py:34
↓ 4 callersFunctionstrip_string
(string, skip_unit=False)
RLVER/code/verl/utils/reward_score/simplerl_utils/paser.py:214
↓ 4 callersFunctionsupv
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:1725
↓ 4 callersFunctionsymbolic_equal
(a, b)
RLVER/code/verl/utils/reward_score/simplerl_utils/grader.py:279
↓ 4 callersFunctiontext2Markdown
(text)
VISTA/LLaVA-VISTA/llava/eval/webpage/script.js:35
↓ 4 callersMethodto_dict
(self)
RLVER/code/verl/single_controller/base/worker.py:76
↓ 4 callersMethodto_dict
(self)
RLVMR/code/verl/single_controller/base/worker.py:76
↓ 4 callersMethodupdate_receptacle_nearest_points
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/task_game_state_full_knowledge.py:20
↓ 4 callersMethodupdate_weight
(self, xx, yy, weight)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/graph/graph_obj.py:206
↓ 4 callersFunctionvar_used_in_wff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:1477
↓ 4 callersMethodverify
verify the batch and save as ``acc`` tensor
RLVMR/code/verl/workers/reward_manager/prime.py:94
↓ 4 callersMethodvision_tower
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/model/vision_tower/base.py:63
↓ 3 callersFunctionNOTs_down_in_wff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:2613
↓ 3 callersFunctionPosEncoder
(x, min_timescale=1.0, max_timescale=1.0e4)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:919
↓ 3 callersMethod__init__
(self)
RLVER/code/verl/single_controller/ray/base.py:442
↓ 3 callersMethod__init__
(self, dim, max_position_embeddings=2048, base=10000, device=None)
RLVER/code/verl/models/qwen2/megatron/layers/parallel_attention.py:37
↓ 3 callersMethod__init__
(self, dim, max_position_embeddings=2048, base=10000, device=None)
RLVER/code/verl/models/llama/megatron/layers/parallel_attention.py:37
↓ 3 callersMethod__init__
(self)
RLVMR/code/verl/single_controller/ray/base.py:462
↓ 3 callersMethod__init__
(self, dim, max_position_embeddings=2048, base=10000, device=None)
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_attention.py:37
↓ 3 callersFunction_broadcast_tp_shard_tensor
broadcast tensor in tp shards across mp_group
RLVER/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:178
↓ 3 callersFunction_broadcast_tp_shard_tensor
broadcast tensor in tp shards across mp_group
RLVER/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:180
↓ 3 callersFunction_broadcast_tp_shard_tensor
broadcast tensor in tp shards across mp_group
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader_depracated.py:181
↓ 3 callersFunction_broadcast_tp_shard_tensor
broadcast tensor in tp shards across mp_group
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader_depracated.py:185
↓ 3 callersMethod_build_param_references
(self, pp_rank, maintain_weight=False)
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:101
↓ 3 callersMethod_build_param_references
(self, pp_rank, maintain_weight=False)
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:103
↓ 3 callersFunction_concat_data_proto_or_future
(output: List)
RLVER/code/verl/single_controller/base/decorator.py:129
↓ 3 callersFunction_concat_data_proto_or_future
(output: List)
RLVMR/code/verl/single_controller/base/decorator.py:129
↓ 3 callersMethod_convert_tokens_to_audio
Convert speech tokens to audio waveform Conversion Process: 1. Validate speech tokens and convert to tensor format
BatonVoice/unified_tts.py:766
↓ 3 callersFunction_fetch_tp_shard_tensor
fetch tensor in tp shards
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:122
↓ 3 callersFunction_fetch_tp_shard_tensor
fetch tensor in tp shards
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:126
↓ 3 callersMethod_generate_response
Generate model response using vLLM Generation Process: 1. Use vLLM's generate method with configured sampling parame
BatonVoice/unified_tts.py:517
↓ 3 callersFunction_get_gpt_model
(model)
RLVER/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py:93
↓ 3 callersFunction_get_gpt_model
(model)
RLVER/code/verl/models/llama/megatron/checkpoint_utils/llama_saver.py:97
↓ 3 callersFunction_get_gpt_model
(model)
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py:85
↓ 3 callersFunction_get_gpt_model
(model)
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_saver.py:85
↓ 3 callersMethod_interpret_correlation
解释相关性结果
HATE/basic_hate/evaluation/topic_ana.py:171
↓ 3 callersMethod_load_models
Load all required models for TTS processing Model Components: 1. vLLM: Large language model for text-to-speech token
BatonVoice/unified_tts.py:151
↓ 3 callersFunction_parse
(outputs: str, tag="task")
SWF/src/utils.py:63
↓ 3 callersMethod_parse_html
Returns web request result wrapped in BeautifulSoup object Arguments: url (`str`): If no url or html is provided, use the cu
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_site_env.py:120
↓ 3 callersFunction_pre_process_inputs
(pad_token_id, prompt_token_ids: torch.Tensor)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd_think.py:61
↓ 3 callersFunction_pre_process_inputs
(pad_token_id, prompt_token_ids: torch.Tensor)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout.py:53
↓ 3 callersMethod_run_engine
( self, *, use_tqdm: bool )
RLVER/code/llm.py:1409
← previousnext →501–600 of 5,073, ranked by callers