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
↓ 2 callers
Method
get_spend_formatted
(self)
HATE/basic_hate/agentverse/agents/base.py:56
↓ 2 callers
Method
get_status
(self)
VISTA/LLaVA-VISTA/llava/serve/model_worker.py:115
↓ 2 callers
Method
get_status
(self)
VISTA/LLaVA-VISTA/llava/serve/sglang_worker.py:125
↓ 2 callers
Method
get_subsequent_mask
For masking out the subsequent info.
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/model.py:169
↓ 2 callers
Function
get_top_n_product_from_keywords
( keywords, search_engine, all_products, product_item_dict, attribute_
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/engine/engine.py:148
↓ 2 callers
Function
get_trajectory_tracker
()
RLVER/code/verl/utils/debug/trajectory_tracker.py:79
↓ 2 callers
Function
get_trajectory_tracker
()
RLVMR/code/verl/utils/debug/trajectory_tracker.py:79
↓ 2 callers
Function
get_transform
(train)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/train.py:34
↓ 2 callers
Function
get_tts_instance
Get or create a global TTS instance for reuse across requests. This function implements lazy loading to avoid initializing heavy models
BatonVoice/gradio_tts_interface.py:66
↓ 2 callers
Function
get_upper_triangle
(tensor_x)
RLVMR/code/recipe/prime/prime_core_algos.py:124
↓ 2 callers
Method
get_variations_dev
Get the list of variations available for the development set.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:377
↓ 2 callers
Method
get_variations_test
Get the list of variations available for the testing set.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:381
↓ 2 callers
Function
get_version
(pkg)
RLVMR/code/verl/workers/rollout/vllm_rollout/__init__.py:23
↓ 2 callers
Method
get_vocab
(self)
RLVER/code/tests/e2e/envs/digit_completion/tokenizer.py:89
↓ 2 callers
Method
get_vocabulary
Get all words that currently have some sort of meaning to the simulator.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:268
↓ 2 callers
Function
get_weight_buffer_meta_from_module
Return a dictionary containing name to a shape and dtype.
RLVER/code/verl/utils/memory_buffer.py:61
↓ 2 callers
Function
get_weight_buffer_meta_from_module
Return a dictionary containing name to a shape and dtype.
RLVMR/code/verl/utils/memory_buffer.py:61
↓ 2 callers
Method
get_word_timestamps
Get word-level timestamps using Wav2Vec2 forced alignment Args: audio: Audio array text: Transcribed
BatonVoice/audio_feature_extractor.py:260
↓ 2 callers
Method
get_worker_address
(self, model_name: str)
VISTA/LLaVA-VISTA/llava/serve/controller.py:120
↓ 2 callers
Function
get_world_size
()
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:276
↓ 2 callers
Method
getobs
Ask each subprocess to return its current frame image. Usually needed only for multi-modal environments; otherwise can return None.
RLVMR/code/agent_system/environments/env_package/alfworld/envs.py:172
↓ 2 callers
Method
goal_conditions_met
(self, state)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/tasks.py:238
↓ 2 callers
Method
goal_satisfied
check if the overall task goal was satisfied.
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/tasks.py:57
↓ 2 callers
Function
grade_answer
The answer will be considered correct if: (a) it normalizes to the same string as the ground truth answer OR (b) sympy can simplify t
RLVMR/code/verl/utils/reward_score/prime_math/__init__.py:269
↓ 2 callers
Function
handle_empty_easy_parameters
this one needs ONLY be used after unaries encoding, as all empty types * are already recognised during translation, except the artificial ones, * of
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_easy.c:322
↓ 2 callers
Function
hash_ehc_node
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:435
↓ 2 callers
Function
hash_plan_state
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:724
↓ 2 callers
Method
horizon_adjust
(actions, path, hor0, hor1)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/graph/graph_obj.py:366
↓ 2 callers
Function
i_influences_j
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:2481
↓ 2 callers
Function
increase_value
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:2450
↓ 2 callers
Function
infer_task
Takes a task name or task ID and processes it to produce a uniform task format.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/utils.py:7
↓ 2 callers
Method
init
(self)
RLVER/code/tests/ray/test_worker_group_torch.py:35
↓ 2 callers
Method
init_env
(self, batch_size)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_tw_env.py:245
↓ 2 callers
Function
init_megatron_optim_config
(optim_config: Dict)
RLVMR/code/verl/utils/megatron_utils.py:193
↓ 2 callers
Function
init_search_engine
(num_products=None)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/engine/engine.py:195
↓ 2 callers
Function
is_content_moderation_error
Check if the error message is related to content moderation. Args: error_message: Error message returned by API Returns:
ScriptAgent/code/director_agent.py:218
↓ 2 callers
Function
is_digit
(num)
RLVER/code/verl/utils/reward_score/simplerl_utils/grader.py:58
↓ 2 callers
Method
is_halted
(self)
SWF/src/base.py:61
↓ 2 callers
Function
is_none
(value)
VISTA/LLaVA-VISTA/llava/eval/model_vqa_mmbench.py:33
↓ 2 callers
Function
is_single_quote
Test whether the given character is a single quote character. Also tests for special variants of single quotes.
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:45
↓ 2 callers
Function
is_start_of_value
(char: str)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:78
↓ 2 callers
Function
is_subtype
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:791
↓ 2 callers
Function
is_tensor_parallel_param
(param)
RLVER/code/verl/utils/megatron/tensor_parallel.py:86
↓ 2 callers
Function
is_tensor_parallel_param
(param)
RLVMR/code/verl/utils/megatron/tensor_parallel.py:86
↓ 2 callers
Function
is_vllm_available
()
RLVER/code/verl/utils/import_utils.py:33
↓ 2 callers
Function
is_vllm_available
()
RLVMR/code/verl/utils/import_utils.py:33
↓ 2 callers
Method
item_page
Render and return the HTML for a product item page
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_text_env.py:411
↓ 2 callers
Method
iter_agents
(self)
HATE/basic_hate/agentverse/environments/tasksolving_env/basic.py:119
↓ 2 callers
Method
iter_agents
(self)
HATE/basic_hate/agentverse/environments/tasksolving_env/basic_final.py:155
↓ 2 callers
Function
iter_batch_responses
(jsonl_path: str)
ScriptAgent/code/director_agent.py:666
↓ 2 callers
Function
last_boxed_only_string
(string)
RLVMR/code/verl/utils/reward_score/math.py:63
↓ 2 callers
Function
list_of_dict_to_dict_of_list
(list_of_dict: list[dict])
RLVER/code/verl/protocol.py:100
↓ 2 callers
Function
list_of_dict_to_dict_of_list
(list_of_dict: list[dict])
RLVMR/code/verl/protocol.py:100
↓ 2 callers
Method
load_audio_file
Load audio file from given path Args: audio_path: Path to audio file (absolute or relative) Ret
BatonVoice/audio_feature_extractor.py:182
↓ 2 callers
Method
load_checkpoint
(self, local_path, del_local_after_load=True)
RLVMR/code/recipe/prime/prime_fsdp_workers.py:338
↓ 2 callers
Function
load_fails_from_disk
(succ_dir, to_write=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/dataset_management_util.py:54
↓ 2 callers
Function
load_fsdp_optimizer
(optimizer, device_id)
RLVER/code/verl/utils/fsdp_utils.py:160
↓ 2 callers
Function
load_llm
(llm_config: Dict)
HATE/basic_hate/agentverse/initialization.py:29
↓ 2 callers
Method
load_llm
(self, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/model/modeling_tinyllava.py:421
↓ 2 callers
Function
load_memory
(memory_config: Dict)
HATE/basic_hate/agentverse/initialization.py:35
↓ 2 callers
Method
load_model
(self, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/base.py:12
↓ 2 callers
Method
load_params_to_cuda
load all model params to cuda
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:127
↓ 2 callers
Method
load_params_to_cuda
load all model params to cuda
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:129
↓ 2 callers
Function
load_pretrained_model
(path)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/mrcnn.py:39
↓ 2 callers
Function
load_prompt
(data_name, prompt_type, num_shots)
RLVER/code/verl/utils/reward_score/simplerl_utils/qwen_utils.py:55
↓ 2 callers
Function
load_successes_from_disk
(succ_dir, succ_traj, prune_trials, target_count, cap_count=None, min_count=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/dataset_management_util.py:5
↓ 2 callers
Method
local_mkdir
(path)
RLVMR/code/verl/utils/checkpoint/checkpoint_manager.py:86
↓ 2 callers
Method
log
(self, data, step)
RLVER/code/verl/utils/logger/aggregate_logger.py:40
↓ 2 callers
Method
log
(self, data, step)
RLVMR/code/verl/utils/logger/aggregate_logger.py:40
↓ 2 callers
Method
log_every
(self, iterable, print_freq, header=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:182
↓ 2 callers
Function
log_probs_from_logits_all_rmpad
Compute the log_probs from logits with rmpad input_ids and logits. Note that logits_rmpad = model(input_ids_rmpad). For each sentences, there is a
RLVER/code/verl/utils/torch_functional.py:380
↓ 2 callers
Function
log_seqlen_unbalance
(seqlen_list: List[int], partitions: List[List[int]], prefix)
RLVER/code/verl/utils/seqlen_balancing.py:186
↓ 2 callers
Function
log_trainable_params
(model)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/logging.py:49
↓ 2 callers
Function
logger_setting
(save_dir=None)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/logging.py:15
↓ 2 callers
Function
logical_same_state
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:1864
↓ 2 callers
Function
logkv_mean
The same as logkv(), but if called many times, values averaged.
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:226
↓ 2 callers
Function
logprobs_from_logits_naive
(logits, labels)
RLVER/code/verl/utils/torch_functional.py:71
↓ 2 callers
Function
logprobs_from_logits_v2
A memory efficient implementation of logprobs_from_logits
RLVER/code/verl/utils/torch_functional.py:77
↓ 2 callers
Method
look_angle
look at a specific angle
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:363
↓ 2 callers
Function
make_conjunction_of_literals
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/parse.c:1284
↓ 2 callers
Function
make_effect
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:930
↓ 2 callers
Method
make_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
RLVMR/code/verl/protocol.py:451
↓ 2 callers
Function
make_map_fn
(split)
RLVMR/code/examples/data_preprocess/cold_start_data.py:49
↓ 2 callers
Function
make_map_fn
(split)
RLVMR/code/examples/data_preprocess/geo3k.py:44
↓ 2 callers
Function
make_map_fn
(split)
RLVMR/code/examples/data_preprocess/gsm8k.py:51
↓ 2 callers
Function
make_map_fn
(split)
RLVMR/code/examples/data_preprocess/prepare.py:49
↓ 2 callers
Function
make_map_fn
(split)
RLVMR/code/examples/data_preprocess/math_dataset.py:50
↓ 2 callers
Method
make_minibatch_iterator
Make minibatch iterator for updating the actor Args: data (DataProto): a DataProto containing keys ``input_ids``
RLVER/code/verl/workers/actor/megatron_actor.py:204
↓ 2 callers
Method
make_minibatch_iterator
Make minibatch iterator for updating the actor Args: data (DataProto): a DataProto containing keys ``input_ids``
RLVMR/code/verl/workers/actor/megatron_actor.py:203
↓ 2 callers
Function
make_supervised_data_module
Make dataset and collator for supervised fine-tuning.
VISTA/TinyLLaVA-VISTA/tinyllava/data/dataset.py:119
↓ 2 callers
Function
makedirs
r"""Works like os.makedirs() but supports hdfs. Super-mkdir; create a leaf directory and all intermediate ones. Works like mkdir, except tha
RLVER/code/verl/utils/hdfs_io.py:50
↓ 2 callers
Function
masked_mean
mean pooling when there're paddings input: tensor: batch x time x h mask: batch x time output: tensor: bat
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:104
↓ 2 callers
Function
masked_rloo
(reward_tensor_original, mask_tensor)
RLVMR/code/recipe/prime/prime_core_algos.py:22
↓ 2 callers
Function
matches
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:2415
↓ 2 callers
Function
math_equal
Exact match of math if and only if: 1. numerical equal: both can convert to float and are equal 2. symbolic equal: both can convert to sy
RLVER/code/verl/utils/reward_score/simplerl_utils/grader.py:76
↓ 2 callers
Function
math_equal
Exact match of math if and only if: 1. numerical equal: both can convert to float and are equal 2. symbolic equal: both can convert to sy
RLVER/code/verl/utils/reward_score/prime_math/grader.py:174
↓ 2 callers
Function
math_equal
Exact match of math if and only if: 1. numerical equal: both can convert to float and are equal 2. symbolic equal: both can convert to sy
RLVMR/code/verl/utils/reward_score/prime_math/grader.py:174
↓ 2 callers
Function
md5_encode
(path: str)
RLVER/code/verl/utils/fs.py:36
↓ 2 callers
Function
md5_encode
(path: str)
RLVMR/code/verl/utils/fs.py:36
↓ 2 callers
Method
merge
(self, other)
RLVER/code/verl/utils/seqlen_balancing.py:37
← previous
next →
1,101–1,200 of 5,073, ranked by callers