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
symbolic_equal_process
(a, b, output_queue)
RLVER/code/verl/utils/reward_score/simplerl_utils/grader.py:335
Method
synchronize_between_processes
Warning: does not synchronize the deque!
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:33
Function
tag_visible
(element)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/predict_help.py:395
Function
tag_visible
Helper method to strip HTML block of extraneous tags
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_site_env.py:212
Function
tag_visible
(element)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_text_env.py:284
Method
task_names
Get the name for the supported tasks in ScienceWorld.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:185
Method
tasks
Get the supported tasks in ScienceWorld.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:180
Function
test
()
RLVER/code/tests/ray/test_high_level_scheduling_api.py:33
Function
test
()
RLVER/code/tests/ray/test_driverfunc_to_worker.py:55
Method
test
(self)
RLVER/code/tests/ray/test_rvdz.py:31
Function
test_all_gather_torch
In this test, we instantiate 4 GPUs in a group and test the all_gather
RLVER/code/tests/ray/test_worker_group_torch.py:69
Function
test_all_gather_torch_v2
In this test, we instantiate 4 GPUs in a group and test the all_gather
RLVER/code/tests/ray/test_worker_group_torch.py:93
Function
test_check_correctness
()
RLVER/code/tests/sandbox/test_sandbox.py:127
Function
test_chunk_concat
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:110
Function
test_closing_env
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/tests/test_scienceworld.py:47
Function
test_colocated_workers
()
RLVER/code/tests/ray/test_colocated_workers.py:49
Function
test_consistent_task_names
Verify that Scala and Python code use the same task names.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/tests/test_scienceworld.py:128
Function
test_data_transfer
()
RLVER/code/tests/ray/test_data_transfer.py:52
Function
test_dataproto_fold_unfold
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:224
Function
test_dataproto_pad_unpad
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:172
Function
test_dependencies_consistent
()
RLVER/code/tests/distro/requirements.py:71
Function
test_flash_attn_cross_entropy
()
RLVER/code/tests/gpu_utility/test_ops.py:16
Function
test_import
()
RLVER/code/tests/sanity/test_import.py:16
Function
test_len
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:263
Function
test_load
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/tests/test_scienceworld.py:69
Function
test_log_probs_from_logits_response_rmpad
()
RLVER/code/tests/gpu_utility/test_torch_functional.py:21
Function
test_logprobs_from_logits_v2
(dtype)
RLVER/code/tests/gpu_utility/test_torch_functional.py:54
Function
test_lr_scheduler
()
RLVER/code/tests/gpu_utility/test_torch_functional.py:72
Function
test_multiple_instances
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/tests/test_scienceworld.py:16
Function
test_obj_tree
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/tests/test_scienceworld.py:134
Function
test_observation_is_deterministic
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/tests/test_scienceworld.py:4
Function
test_parallelism
Test if process pool works properly
RLVER/code/tests/sandbox/test_sandbox.py:92
Function
test_pop
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:134
Function
test_prime_code
Test PRIME code sandbox.
RLVER/code/tests/sandbox/test_sandbox.py:117
Function
test_prime_math
()
RLVER/code/tests/sandbox/test_sandbox.py:135
Function
test_reorder
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:99
Function
test_repeat
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:147
Function
test_rl_dataset
()
RLVER/code/tests/verl/utils/dataset/test_rl_dataset.py:29
Function
test_rm_dataset
()
RLVER/code/tests/verl/utils/dataset/test_rm_dataset.py:30
Function
test_rvdz
()
RLVER/code/tests/ray/test_rvdz.py:37
Function
test_seqlen_balancing
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:283
Function
test_sft_cot_dataset
()
RLVER/code/tests/verl/utils/dataset/test_sft_dataset.py:29
Function
test_sft_dataset
()
RLVER/code/tests/verl/utils/dataset/test_sft_dataset.py:46
Function
test_single_controller_import
()
RLVER/code/tests/sanity/test_import.py:21
Function
test_tensor_dict_constructor
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:56
Function
test_tensor_dict_make_iterator
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:70
Function
test_torch_save_data_proto
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:247
Function
test_union_tensor_dict
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:26
Function
test_variation_sets_are_disjoint
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/tests/test_scienceworld.py:56
Function
test_vllm_spmd
()
RLVER/code/tests/rollout/test_vllm_spmd.py:70
Function
test_vllm_with_hf
()
RLVER/code/tests/rollout/test_vllm_hf_loader.py:72
Method
text_to_speech
Mode 1: End-to-End Text-to-Speech Conversion (matches mode1.py exactly) Overview: Mode 1 provides a complete text-to
BatonVoice/unified_tts.py:864
Function
theil_index
计算给定收入数据的泰尔指数。 参数: incomes (list or np.array): 收入数据 返回: float: 泰尔指数
SWF/src/utils.py:445
Method
this_rank_models
(self)
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:207
Method
this_rank_models
(self)
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:209
Method
tie_weights
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/model/modeling_tinyllava.py:98
Function
timeout
(timeout_seconds: int = 8)
RLVMR/code/verl/utils/reward_score/prime_math/__init__.py:38
Function
timeout_handler
(signum, frame)
RLVER/code/verl/utils/reward_score/prime_code/testing_util.py:60
Function
timeout_handler
(signum, frame)
RLVMR/code/verl/utils/reward_score/prime_code/testing_util.py:60
Method
to_messages
( self, my_name: str = "", start_index: int = 0, max_summary_length: int = 0,
HATE/basic_hate/agentverse/memory/chat_history.py:56
Method
to_string
(self, *args, **kwargs)
HATE/basic_hate/agentverse/memory/summary.py:82
Method
to_string
(self, *args, **kwargs)
HATE/basic_hate/agentverse/memory/sde_team.py:34
Method
to_string
(self, add_sender_prefix: bool = False)
HATE/basic_hate/agentverse/memory/chat_history.py:43
Method
to_string
(self, add_sender_prefix: bool = False)
HATE/basic_hate/agentverse/memory/vectorstore.py:48
Function
tokenize_and_postprocess_data
input_data is the output from tokenizer.
RLVER/code/verl/utils/torch_functional.py:277
Function
tokenize_and_postprocess_data
input_data is the output from tokenizer.
RLVMR/code/verl/utils/torch_functional.py:258
Method
tokenize_with_assistant_mask
(self,messages)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd_think.py:375
Method
tokenize_with_assistant_mask
(self, messages)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout.py:296
Function
tokenizer_and_post_load
(tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/qwen2.py:7
Function
tokenizer_and_post_load
(tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/tinyllama.py:7
Function
tokenizer_and_post_load
(tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:36
Function
tokenizer_and_post_load
(tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/gemma.py:7
Function
tokenizer_and_post_load
(tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/stablelm.py:7
Function
tokenizer_and_post_load
(tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/phi.py:7
Method
tp_size
(self)
RLVER/code/verl/single_controller/base/megatron/worker_group.py:36
Method
tp_size
(self)
RLVMR/code/verl/single_controller/base/megatron/worker_group.py:36
Method
train_dagger
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/vision_dagger_agent.py:157
Method
train_dagger_recurrent
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/vision_dagger_agent.py:172
Method
training_model_converse
(self, model)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/qlora_recipe.py:45
Method
training_model_converse
(self, model)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/lora_recipe.py:26
Function
translate
(text)
HATE/basic_hate/evaluation/eval_v2_benchmark.py:148
Function
trim_hanging_lines
(s: str, n: int)
VISTA/LLaVA-VISTA/llava/eval/generate_webpage_data_from_table.py:23
Method
truncate_base64
Recursively truncate base64 strings in object.
ScriptAgent/code/critic_agent_video.py:188
Function
ttr
(text)
RolePlay_Villain/codes/utils.py:692
Function
two_to_all_dispatch_fn
Assume the input is a list of 2. Duplicate the input interleaved and pass to each worker.
RLVER/code/tests/ray/test_worker_group_basics.py:26
Function
typewriter_log
(content="", color="", level=logging.INFO)
HATE/basic_hate/agentverse/logging.py:289
Function
ulysses_flash_attn_forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None, position_i
RLVMR/code/verl/models/transformers/qwen2_vl.py:218
Function
unfold_batch_dim
Unfold the first n dims as new batch dim
RLVMR/code/verl/protocol.py:132
Function
unpad_dataproto
(data: 'DataProto', pad_size)
RLVMR/code/verl/protocol.py:67
Method
update
(self, name, **kwargs)
SWF/src/base.py:201
Method
update
(self, current_kl, n_steps)
RLVER/code/verl/trainer/ppo/core_algos.py:40
Method
update
(self, current_kl, n_steps)
RLVMR/code/verl/trainer/ppo/core_algos.py:39
Method
update_actor
(self, data: DataProto)
RLVER/code/verl/workers/megatron_workers.py:339
Method
update_actor
(self, data: DataProto)
RLVMR/code/verl/workers/megatron_workers.py:369
Method
update_critic
(self, data: DataProto)
RLVER/code/verl/workers/megatron_workers.py:590
Method
update_critic
Update the critic
RLVER/code/verl/workers/critic/base.py:38
Method
update_critic
(self, dataloader: Iterable[DataProto])
RLVER/code/verl/workers/critic/megatron_critic.py:207
Method
update_critic
(self, data: DataProto)
RLVER/code/verl/workers/critic/dp_critic.py:143
Method
update_critic
(self, data: DataProto)
RLVMR/code/verl/workers/megatron_workers.py:645
Method
update_critic
Update the critic
RLVMR/code/verl/workers/critic/base.py:38
← previous
next →
4,901–5,000 of 5,073, ranked by callers