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
↓ 1 callers
Function
load_memory_manipulator
(memory_manipulator_config: Dict)
HATE/basic_hate/agentverse/initialization.py:40
↓ 1 callers
Method
load_model_cls
(model_arch: str, value=False)
RLVER/code/verl/models/registry.py:51
↓ 1 callers
Method
load_model_cls
(model_arch: str, value=False)
RLVMR/code/verl/models/registry.py:36
↓ 1 callers
Method
load_nav_graph
build navigation grid graph
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/tasks.py:49
↓ 1 callers
Method
load_optimizer
(self, ckpt_path)
RLVMR/code/verl/utils/checkpoint/megatron_checkpoint_manager.py:162
↓ 1 callers
Method
load_params_to_cuda
(self)
RLVER/code/verl/workers/reward_model/megatron/reward_model.py:262
↓ 1 callers
Method
load_params_to_cuda
(self)
RLVMR/code/verl/workers/reward_model/megatron/reward_model.py:262
↓ 1 callers
Function
load_products
Loads products from the `items.json` file and combine them with reviews through `asin`. Return: dict[asin, product]
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/attributes/generate_attrs.py:26
↓ 1 callers
Method
load_reward_config
load json file with reward values
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/tasks.py:41
↓ 1 callers
Method
load_rng_state
(rng_state)
RLVER/code/verl/utils/checkpoint/checkpoint_manager.py:106
↓ 1 callers
Method
load_rng_state
(rng_state)
RLVMR/code/verl/utils/checkpoint/checkpoint_manager.py:117
↓ 1 callers
Method
load_rng_states
(self, ckpt_path, data_parallel_random_init=False, use_dist_ckpt=False)
RLVMR/code/verl/utils/checkpoint/megatron_checkpoint_manager.py:168
↓ 1 callers
Function
load_settings
(model_arguments, data_arguments, training_arguments)
VISTA/TinyLLaVA-VISTA/tinyllava/train/train.py:17
↓ 1 callers
Function
load_settings
(model_arguments, data_arguments, training_arguments)
VISTA/TinyLLaVA-VISTA/tinyllava/train/custom_finetune.py:10
↓ 1 callers
Function
load_tools
(tool_config: List[Dict])
HATE/basic_hate/agentverse/initialization.py:49
↓ 1 callers
Method
local_mkdir
(path)
RLVER/code/verl/utils/checkpoint/checkpoint_manager.py:75
↓ 1 callers
Method
log_generations_to_mlflow
Log validation generation to mlflow as artifacts
RLVMR/code/verl/utils/tracking.py:239
↓ 1 callers
Method
log_generations_to_swanlab
Log samples to swanlab as text
RLVMR/code/verl/utils/tracking.py:217
↓ 1 callers
Method
log_generations_to_wandb
Log samples to wandb as a table
RLVMR/code/verl/utils/tracking.py:190
↓ 1 callers
Function
log_probs_from_logits_response
Compute the response log_probs from full logits. Note that logits = model(input_ids) Args: input_ids: [batch_size, seqlen] logits
RLVER/code/verl/utils/torch_functional.py:336
↓ 1 callers
Function
log_probs_from_logits_response_rmpad
Compute the log_probs from logits with rmpad logits and pad input. Note that logits_rmpad = model(input_ids_rmpad). For each sentences, there is a
RLVER/code/verl/utils/torch_functional.py:352
↓ 1 callers
Function
log_seqlen_unbalance
(seqlen_list: List[int], partitions: List[List[int]], prefix)
RLVMR/code/verl/utils/seqlen_balancing.py:186
↓ 1 callers
Function
logprobs_from_logits_flash_attn
(logits, labels)
RLVER/code/verl/utils/torch_functional.py:64
↓ 1 callers
Function
logprobs_from_logits_flash_attn
(logits, labels)
RLVMR/code/verl/utils/torch_functional.py:64
↓ 1 callers
Function
logprobs_from_logits_v2
A memory efficient implementation of logprobs_from_logits
RLVMR/code/verl/utils/torch_functional.py:77
↓ 1 callers
Function
lower
(text)
SWF/src/metric.py:44
↓ 1 callers
Function
lower_to_full
(input_str)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/planner/ff_planner_handler.py:46
↓ 1 callers
Function
main
(args)
VISTA/LLaVA-VISTA/llava/serve/cli.py:27
↓ 1 callers
Function
main
()
VISTA/LLaVA-VISTA/llava/serve/test_message.py:9
↓ 1 callers
Function
main
(args)
VISTA/TinyLLaVA-VISTA/tinyllava/serve/cli.py:30
↓ 1 callers
Function
main
()
SWF/src/run.py:169
↓ 1 callers
Function
main
Main function to run trainer tests. Args: config: Configuration object with training parameters
RLVER/code/tests/sft/test_sp_loss_match.py:110
↓ 1 callers
Function
main
()
RLVER/code/tests/rollout/run_fsdp_vllm.py:30
↓ 1 callers
Function
main
(config)
RLVER/code/tests/e2e/arithmetic_sequence/rl/main_trainer.py:86
↓ 1 callers
Function
main
(config)
RLVER/code/verl/trainer/main_ppo.py:96
↓ 1 callers
Function
main
(config)
RLVER/code/verl/trainer/main_generation.py:40
↓ 1 callers
Function
main
(config)
RLVER/code/verl/trainer/main_eval.py:35
↓ 1 callers
Function
main
(config)
RLVER/code/verl/trainer/fsdp_sft_trainer.py:521
↓ 1 callers
Function
main
(config)
RLVER/code/examples/split_placement/main_ppo_split.py:93
↓ 1 callers
Function
main
Main function for Audio Feature Extractor with command line support Implementation Logic: 1. Parse command line arguments for audio
BatonVoice/audio_feature_extractor.py:1280
↓ 1 callers
Function
main
Main function to launch the Gradio interface. This function creates the interface and launches it with appropriate configuration for
BatonVoice/gradio_tts_interface.py:616
↓ 1 callers
Function
main
Main function demonstrating usage of OpenRouterGeminiClient. This function provides a complete example of how to use the client class:
BatonVoice/openrouter_gemini_client.py:402
↓ 1 callers
Function
main
Command-line interface for testing both TTS modes CLI Features: 1. Supports both Mode 1 (text-only) and Mode 2 (text+features) 2
BatonVoice/unified_tts.py:1176
↓ 1 callers
Function
main
主函数,处理JSONL格式的输入文件 Parameters: ----------- path : str 输入文件路径
HATE/basic_hate/evaluation/test_topic_SFR.py:487
↓ 1 callers
Function
main
主函数,处理JSONL格式的输入文件 Parameters: ----------- path : str 输入文件路径
HATE/basic_hate/evaluation/test_topic_SFR_new.py:487
↓ 1 callers
Function
main
Main entry point.
ScriptAgent/code/critic_agent_script.py:708
↓ 1 callers
Function
main
Main entry point.
ScriptAgent/code/critic_agent_video.py:1834
↓ 1 callers
Function
main
()
ScriptAgent/code/director_agent.py:2161
↓ 1 callers
Function
main
(config)
RLVMR/code/recipe/prime/main_prime.py:38
↓ 1 callers
Function
main
(config)
RLVMR/code/verl/trainer/main_ppo.py:53
↓ 1 callers
Function
main
(config)
RLVMR/code/verl/trainer/main_generation.py:40
↓ 1 callers
Function
main
(config)
RLVMR/code/verl/trainer/main_eval.py:35
↓ 1 callers
Function
main
(config)
RLVMR/code/verl/trainer/fsdp_sft_trainer.py:519
↓ 1 callers
Function
main
(config)
RLVMR/code/examples/split_placement/main_ppo_split.py:93
↓ 1 callers
Function
main
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/random_agent.py:203
↓ 1 callers
Function
main
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/human.py:212
↓ 1 callers
Function
main
(args)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/scripts/generate_trajectories.py:383
↓ 1 callers
Function
main
(args)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/train.py:42
↓ 1 callers
Function
main
()
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_choice_il.py:360
↓ 1 callers
Function
main
()
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_rl.py:228
↓ 1 callers
Function
main
()
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/attributes/annotate.py:62
↓ 1 callers
Function
main_compute_benchmark
(path, modular)
HATE/basic_hate/evaluation/eval_compute_v2_benchmark.py:11
↓ 1 callers
Function
main_llms_v2_benchmark
(path, args)
HATE/basic_hate/evaluation/eval_v2_benchmark.py:253
↓ 1 callers
Function
main_llms_v2_benchmark
(path, args)
HATE/basic_hate/evaluation/eval_compute_v2_benchmark_acc.py:143
↓ 1 callers
Function
make_adl_domain
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/parse.c:908
↓ 1 callers
Function
make_conjunction_of_atoms
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/parse.c:978
↓ 1 callers
Function
make_delta
(base_model_path, target_model_path, delta_path, hub_repo_id)
VISTA/LLaVA-VISTA/llava/model/make_delta.py:13
↓ 1 callers
Function
make_effects
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/parse.c:1109
↓ 1 callers
Function
make_envs
Create enviroments
RLVMR/code/agent_system/environments/env_manager.py:512
↓ 1 callers
Method
make_labels
(self, input_ids, prompt, tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/data/template/base.py:93
↓ 1 callers
Function
make_map_fn
(split)
RLVMR/code/examples/data_preprocess/full_hh_rlhf.py:93
↓ 1 callers
Function
make_name_inst_table_from_NormOperator
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_final.c:424
↓ 1 callers
Function
make_name_inst_table_from_PseudoAction
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_final.c:452
↓ 1 callers
Function
make_output_format
(format, ev_dir, log_suffix='', args=None)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:195
↓ 1 callers
Function
make_reward_function
(tokenizer, num_examine)
RLVER/code/tests/e2e/arithmetic_sequence/rl/main_trainer.py:29
↓ 1 callers
Function
make_supervised_data_module
Make dataset and collator for supervised fine-tuning.
VISTA/LLaVA-VISTA/llava/train/train.py:777
↓ 1 callers
Function
masked_var
Compute variance of tensor with masked values.
RLVER/code/verl/utils/torch_functional.py:123
↓ 1 callers
Function
masked_var
Compute variance of tensor with masked values.
RLVMR/code/verl/utils/torch_functional.py:123
↓ 1 callers
Function
match_answer
(response)
RLVER/code/verl/utils/reward_score/prime_math/__init__.py:335
↓ 1 callers
Function
match_answer
(response)
RLVMR/code/verl/utils/reward_score/prime_math/__init__.py:363
↓ 1 callers
Function
maybe_zero_3
(param, ignore_status=False, name=None)
VISTA/LLaVA-VISTA/llava/train/llava_trainer.py:18
↓ 1 callers
Function
mean
(arr)
SWF/src/baseline.py:29
↓ 1 callers
Function
merge
(res, traj)
RLVMR/code/scripts/sciworld_prepare.py:76
↓ 1 callers
Function
merge
(res, traj)
RLVMR/code/scripts/alfworld_prepare.py:73
↓ 1 callers
Function
merge
(img_ids, eval_imgs)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/coco_eval.py:163
↓ 1 callers
Function
merge_across_tp
(key, tp_data)
RLVER/code/scripts/model_merger.py:264
↓ 1 callers
Function
merge_between_tp_rank
(key, model_state_dict)
RLVMR/code/scripts/model_merger.py:297
↓ 1 callers
Function
merge_by_placement
(tensors: List[torch.Tensor], placement: Placement)
RLVER/code/scripts/model_merger.py:56
↓ 1 callers
Function
merge_by_placement
(tensors: List[torch.Tensor], placement: Placement)
RLVMR/code/scripts/model_merger.py:42
↓ 1 callers
Function
merge_effects
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:1811
↓ 1 callers
Function
merge_lora
(args)
VISTA/LLaVA-VISTA/scripts/merge_lora_weights.py:6
↓ 1 callers
Function
merge_resource_pool
(rp1: RayResourcePool, rp2: RayResourcePool)
RLVER/code/verl/single_controller/ray/base.py:114
↓ 1 callers
Method
merge_short_words
Merge short words with neighboring words Args: word_segments: List of word segments Returns
BatonVoice/audio_feature_extractor.py:741
↓ 1 callers
Function
mkdirs
Create a directory and all its parents. If the folder already exists, its path is returned without raising any exceptions. Arguments:
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/utils.py:4
↓ 1 callers
Function
multiply_easy_effect_parameters
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_easy.c:695
↓ 1 callers
Function
multiply_easy_non_constrained_effect_parameters
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_easy.c:814
↓ 1 callers
Function
multiply_easy_non_constrained_op_parameters
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_easy.c:1149
↓ 1 callers
Function
multiply_easy_op_parameters
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_easy.c:1002
↓ 1 callers
Function
multiply_hard_effect_parameters
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_hard.c:1025
↓ 1 callers
Function
multiply_hard_op_parameters
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_hard.c:359
← previous
next →
2,401–2,500 of 5,073, ranked by callers