MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

Functionsymbolic_equal_process
(a, b, output_queue)
RLVER/code/verl/utils/reward_score/simplerl_utils/grader.py:335
Methodsynchronize_between_processes
Warning: does not synchronize the deque!
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:33
Functiontag_visible
(element)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/predict_help.py:395
Functiontag_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
Functiontag_visible
(element)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_text_env.py:284
Methodtask_names
Get the name for the supported tasks in ScienceWorld.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:185
Methodtasks
Get the supported tasks in ScienceWorld.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:180
Functiontest
()
RLVER/code/tests/ray/test_high_level_scheduling_api.py:33
Functiontest
()
RLVER/code/tests/ray/test_driverfunc_to_worker.py:55
Methodtest
(self)
RLVER/code/tests/ray/test_rvdz.py:31
Functiontest_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
Functiontest_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
Functiontest_check_correctness
()
RLVER/code/tests/sandbox/test_sandbox.py:127
Functiontest_chunk_concat
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:110
Functiontest_closing_env
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/tests/test_scienceworld.py:47
Functiontest_colocated_workers
()
RLVER/code/tests/ray/test_colocated_workers.py:49
Functiontest_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
Functiontest_data_transfer
()
RLVER/code/tests/ray/test_data_transfer.py:52
Functiontest_dataproto_fold_unfold
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:224
Functiontest_dataproto_pad_unpad
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:172
Functiontest_dependencies_consistent
()
RLVER/code/tests/distro/requirements.py:71
Functiontest_flash_attn_cross_entropy
()
RLVER/code/tests/gpu_utility/test_ops.py:16
Functiontest_import
()
RLVER/code/tests/sanity/test_import.py:16
Functiontest_len
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:263
Functiontest_load
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/tests/test_scienceworld.py:69
Functiontest_log_probs_from_logits_response_rmpad
()
RLVER/code/tests/gpu_utility/test_torch_functional.py:21
Functiontest_logprobs_from_logits_v2
(dtype)
RLVER/code/tests/gpu_utility/test_torch_functional.py:54
Functiontest_lr_scheduler
()
RLVER/code/tests/gpu_utility/test_torch_functional.py:72
Functiontest_multiple_instances
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/tests/test_scienceworld.py:16
Functiontest_obj_tree
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/tests/test_scienceworld.py:134
Functiontest_observation_is_deterministic
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/tests/test_scienceworld.py:4
Functiontest_parallelism
Test if process pool works properly
RLVER/code/tests/sandbox/test_sandbox.py:92
Functiontest_pop
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:134
Functiontest_prime_code
Test PRIME code sandbox.
RLVER/code/tests/sandbox/test_sandbox.py:117
Functiontest_prime_math
()
RLVER/code/tests/sandbox/test_sandbox.py:135
Functiontest_reorder
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:99
Functiontest_repeat
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:147
Functiontest_rl_dataset
()
RLVER/code/tests/verl/utils/dataset/test_rl_dataset.py:29
Functiontest_rm_dataset
()
RLVER/code/tests/verl/utils/dataset/test_rm_dataset.py:30
Functiontest_rvdz
()
RLVER/code/tests/ray/test_rvdz.py:37
Functiontest_seqlen_balancing
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:283
Functiontest_sft_cot_dataset
()
RLVER/code/tests/verl/utils/dataset/test_sft_dataset.py:29
Functiontest_sft_dataset
()
RLVER/code/tests/verl/utils/dataset/test_sft_dataset.py:46
Functiontest_single_controller_import
()
RLVER/code/tests/sanity/test_import.py:21
Functiontest_tensor_dict_constructor
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:56
Functiontest_tensor_dict_make_iterator
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:70
Functiontest_torch_save_data_proto
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:247
Functiontest_union_tensor_dict
()
RLVER/code/tests/utility/test_tensor_dict_utilities.py:26
Functiontest_variation_sets_are_disjoint
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/tests/test_scienceworld.py:56
Functiontest_vllm_spmd
()
RLVER/code/tests/rollout/test_vllm_spmd.py:70
Functiontest_vllm_with_hf
()
RLVER/code/tests/rollout/test_vllm_hf_loader.py:72
Methodtext_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
Functiontheil_index
计算给定收入数据的泰尔指数。 参数: incomes (list or np.array): 收入数据 返回: float: 泰尔指数
SWF/src/utils.py:445
Methodthis_rank_models
(self)
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:207
Methodthis_rank_models
(self)
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:209
Methodtie_weights
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/model/modeling_tinyllava.py:98
Functiontimeout
(timeout_seconds: int = 8)
RLVMR/code/verl/utils/reward_score/prime_math/__init__.py:38
Functiontimeout_handler
(signum, frame)
RLVER/code/verl/utils/reward_score/prime_code/testing_util.py:60
Functiontimeout_handler
(signum, frame)
RLVMR/code/verl/utils/reward_score/prime_code/testing_util.py:60
Methodto_messages
( self, my_name: str = "", start_index: int = 0, max_summary_length: int = 0,
HATE/basic_hate/agentverse/memory/chat_history.py:56
Methodto_string
(self, *args, **kwargs)
HATE/basic_hate/agentverse/memory/summary.py:82
Methodto_string
(self, *args, **kwargs)
HATE/basic_hate/agentverse/memory/sde_team.py:34
Methodto_string
(self, add_sender_prefix: bool = False)
HATE/basic_hate/agentverse/memory/chat_history.py:43
Methodto_string
(self, add_sender_prefix: bool = False)
HATE/basic_hate/agentverse/memory/vectorstore.py:48
Functiontokenize_and_postprocess_data
input_data is the output from tokenizer.
RLVER/code/verl/utils/torch_functional.py:277
Functiontokenize_and_postprocess_data
input_data is the output from tokenizer.
RLVMR/code/verl/utils/torch_functional.py:258
Methodtokenize_with_assistant_mask
(self,messages)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd_think.py:375
Methodtokenize_with_assistant_mask
(self, messages)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout.py:296
Functiontokenizer_and_post_load
(tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/qwen2.py:7
Functiontokenizer_and_post_load
(tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/tinyllama.py:7
Functiontokenizer_and_post_load
(tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:36
Functiontokenizer_and_post_load
(tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/gemma.py:7
Functiontokenizer_and_post_load
(tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/stablelm.py:7
Functiontokenizer_and_post_load
(tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/phi.py:7
Methodtp_size
(self)
RLVER/code/verl/single_controller/base/megatron/worker_group.py:36
Methodtp_size
(self)
RLVMR/code/verl/single_controller/base/megatron/worker_group.py:36
Methodtrain_dagger
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/vision_dagger_agent.py:157
Methodtrain_dagger_recurrent
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/vision_dagger_agent.py:172
Methodtraining_model_converse
(self, model)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/qlora_recipe.py:45
Methodtraining_model_converse
(self, model)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/lora_recipe.py:26
Functiontranslate
(text)
HATE/basic_hate/evaluation/eval_v2_benchmark.py:148
Functiontrim_hanging_lines
(s: str, n: int)
VISTA/LLaVA-VISTA/llava/eval/generate_webpage_data_from_table.py:23
Methodtruncate_base64
Recursively truncate base64 strings in object.
ScriptAgent/code/critic_agent_video.py:188
Functionttr
(text)
RolePlay_Villain/codes/utils.py:692
Functiontwo_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
Functiontypewriter_log
(content="", color="", level=logging.INFO)
HATE/basic_hate/agentverse/logging.py:289
Functionulysses_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
Functionunfold_batch_dim
Unfold the first n dims as new batch dim
RLVMR/code/verl/protocol.py:132
Functionunpad_dataproto
(data: 'DataProto', pad_size)
RLVMR/code/verl/protocol.py:67
Methodupdate
(self, name, **kwargs)
SWF/src/base.py:201
Methodupdate
(self, current_kl, n_steps)
RLVER/code/verl/trainer/ppo/core_algos.py:40
Methodupdate
(self, current_kl, n_steps)
RLVMR/code/verl/trainer/ppo/core_algos.py:39
Methodupdate_actor
(self, data: DataProto)
RLVER/code/verl/workers/megatron_workers.py:339
Methodupdate_actor
(self, data: DataProto)
RLVMR/code/verl/workers/megatron_workers.py:369
Methodupdate_critic
(self, data: DataProto)
RLVER/code/verl/workers/megatron_workers.py:590
Methodupdate_critic
Update the critic
RLVER/code/verl/workers/critic/base.py:38
Methodupdate_critic
(self, dataloader: Iterable[DataProto])
RLVER/code/verl/workers/critic/megatron_critic.py:207
Methodupdate_critic
(self, data: DataProto)
RLVER/code/verl/workers/critic/dp_critic.py:143
Methodupdate_critic
(self, data: DataProto)
RLVMR/code/verl/workers/megatron_workers.py:645
Methodupdate_critic
Update the critic
RLVMR/code/verl/workers/critic/base.py:38
← previousnext →4,901–5,000 of 5,073, ranked by callers