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
lambda_policy_fn
(module)
RLVER/code/verl/utils/fsdp_utils.py:77
Function
lambda_policy_fn
(module)
RLVMR/code/verl/utils/fsdp_utils.py:81
Method
lengths
(self)
VISTA/LLaVA-VISTA/llava/train/train.py:677
Method
lengths
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/data/dataset.py:41
Function
list_models
()
VISTA/LLaVA-VISTA/llava/serve/controller.py:256
Function
llama_attn_forward
Adapted from transformers 4.49.0 to support Ulysses sequence parallelism for transformers >= 4.48.0. NOTE: This function has been tested onl
RLVER/code/verl/models/transformers/llama.py:154
Function
llama_attn_forward
Adapted from transformers 4.49.0 to support Ulysses sequence parallelism for transformers >= 4.48.0. NOTE: This function has been tested onl
RLVMR/code/verl/models/transformers/llama.py:157
Function
llama_flash_attn_forward
Adapted from transformers 4.47.1 to support Ulysses sequence parallelism. NOTE: This function is used for transformers versions in the range
RLVER/code/verl/models/transformers/llama.py:31
Function
llama_flash_attn_forward
Adapted from transformers 4.47.1 to support Ulysses sequence parallelism. NOTE: This function is used for transformers versions in the range
RLVMR/code/verl/models/transformers/llama.py:32
Function
llm
(prompt, model, temperature=0.0, max_tokens=1024, retries=3)
RLVMR/code/scripts/sciworld_prepare.py:38
Function
llm
(prompt, model, temperature=0.0, max_tokens=1024, retries=3)
RLVMR/code/scripts/alfworld_prepare.py:41
Method
load
(self)
HATE/basic_hate/dataloader/research_questions.py:11
Method
load
(self)
HATE/basic_hate/dataloader/debate_persuasion.py:11
Method
load
(self, *args, **kwargs)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_tw_env.py:30
Method
load
(self, gamefile)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_tw_env.py:91
Method
load_checkpoint
(self, *args, **kwargs)
RLVER/code/verl/utils/checkpoint/checkpoint_manager.py:56
Method
load_checkpoint
(self, checkpoint_path, **kwargs)
RLVER/code/verl/workers/megatron_workers.py:423
Method
load_checkpoint
(self, checkpoint_path, **kwargs)
RLVER/code/verl/workers/megatron_workers.py:599
Method
load_checkpoint
(self, path, del_local_after_load=False)
RLVER/code/verl/workers/fsdp_workers.py:628
Method
load_checkpoint
(self, local_path: str, hdfs_path: str = None, del_local_after_load=False)
RLVMR/code/verl/utils/checkpoint/fsdp_checkpoint_manager.py:67
Method
load_checkpoint
(self, local_path: str, hdfs_path: str = None, del_local_after_load: bool = False)
RLVMR/code/verl/utils/checkpoint/checkpoint_manager.py:60
Method
load_checkpoint
(self, local_path: str, hdfs_path: str = None, del_local_after_load=False)
RLVMR/code/verl/utils/checkpoint/megatron_checkpoint_manager.py:187
Method
load_checkpoint
(self, checkpoint_path, hdfs_path=None, del_local_after_load=True)
RLVMR/code/verl/workers/megatron_workers.py:458
Method
load_checkpoint
(self, local_path, hdfs_path=None, del_local_after_load=False)
RLVMR/code/verl/workers/fsdp_workers.py:603
Function
load_config
()
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/generic.py:183
Function
load_demo
(url_params, request: gr.Request)
VISTA/LLaVA-VISTA/llava/serve/gradio_web_server.py:58
Function
load_demo
()
VISTA/TinyLLaVA-VISTA/tinyllava/serve/app.py:83
Function
load_demo_refresh_model_list
(request: gr.Request)
VISTA/LLaVA-VISTA/llava/serve/gradio_web_server.py:71
Method
load_from_disk
(filepath)
RLVMR/code/verl/protocol.py:229
Function
load_image_from_base64
(image)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/eval_utils.py:49
Function
load_json
(file_path)
RolePlay_Villain/codes/utils.py:168
Function
load_jsonl
(file: Union[str, Path])
RLVER/code/verl/utils/reward_score/simplerl_utils/qwen_utils.py:20
Method
load_model
(self, device_map=None)
VISTA/LLaVA-VISTA/llava/model/multimodal_encoder/clip_encoder.py:113
Method
load_model
(self, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:63
Method
load_model
(self, vision_tower_name, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/model/vision_tower/base.py:23
Method
load_pretrained_model
(self, checkpoint_path, **kwargs)
RLVER/code/verl/workers/megatron_workers.py:427
Method
load_pretrained_model
(self, checkpoint_path, del_local_after_load=True)
RLVMR/code/verl/workers/megatron_workers.py:464
Method
load_pretrained_model
Load pretrained checkpoint from file. Arguments: load_from: File name of the pretrained model checkpoint.
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/base_agent.py:256
Function
load_prompt
(file_dir, file_name="prompts.json", key=None)
HATE/basic_hate/agentverse/utils/prompts.py:198
Function
load_state_dict_to_megatron_llama
Load merged state_dict to sharded Megatron module in training.
RLVER/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:53
Function
load_state_dict_to_megatron_llama
Load merged state_dict to sharded Megatron module in training.
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:54
Function
load_state_dict_to_megatron_llama
Load merged state_dict to sharded Megatron module in training.
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader_depracated.py:54
Function
load_state_dict_to_megatron_qwen2
Load merged state_dict to sharded Megatron module in training.
RLVER/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:51
Function
load_state_dict_to_megatron_qwen2
Load merged state_dict to sharded Megatron module in training.
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader_depracated.py:50
Function
load_state_dict_to_megatron_qwen2
Load merged state_dict to sharded Megatron module in training.
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:50
Method
local_rank_list
(self)
RLVER/code/verl/single_controller/base/worker_group.py:56
Method
local_rank_list
(self)
RLVMR/code/verl/single_controller/base/worker_group.py:56
Method
local_world_size_list
(self)
RLVER/code/verl/single_controller/base/worker_group.py:50
Method
local_world_size_list
(self)
RLVMR/code/verl/single_controller/base/worker_group.py:50
Method
log
(self, data, step)
RLVER/code/verl/utils/tracking.py:121
Method
log
(self, data, step)
RLVER/code/verl/utils/tracking.py:131
Method
log
(self, data, step)
RLVMR/code/verl/utils/tracking.py:130
Method
log
(self, data, step)
RLVMR/code/verl/utils/tracking.py:140
Method
log
(self, loggers, samples, step)
RLVMR/code/verl/utils/tracking.py:182
Method
log_json
(self, data: Any, file_name: str)
HATE/basic_hate/agentverse/logging.py:179
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
RLVMR/code/verl/utils/torch_functional.py:361
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
RLVMR/code/verl/utils/torch_functional.py:317
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
RLVMR/code/verl/utils/torch_functional.py:333
Function
log_to_file
(string)
RLVMR/code/verl/utils/logging_utils.py:27
Function
logkvs
Log a dictionary of key-value pairs
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:233
Function
logprobs_from_logits_naive
(logits, labels)
RLVMR/code/verl/utils/torch_functional.py:71
Function
lora_kbit_setting
(model, training_args)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/train_utils.py:14
Method
loss_func
(output, data, meta_info)
RLVER/code/verl/workers/critic/megatron_critic.py:141
Method
loss_func
(output, data, meta_info)
RLVER/code/verl/workers/actor/megatron_actor.py:263
Method
loss_func
(output)
RLVER/code/verl/workers/reward_model/megatron/reward_model.py:214
Method
loss_func
(output, data, meta_info)
RLVMR/code/verl/workers/critic/megatron_critic.py:131
Method
loss_func
(output, data, meta_info)
RLVMR/code/verl/workers/actor/megatron_actor.py:264
Method
loss_func
(output)
RLVMR/code/verl/workers/reward_model/megatron/reward_model.py:214
Function
lower_keys
(example)
RLVER/code/verl/utils/reward_score/simplerl_utils/qwen_utils.py:41
Function
lr_lambda
(current_step)
RLVER/code/verl/utils/torch_functional.py:464
Function
lr_lambda
(current_step)
RLVMR/code/verl/utils/torch_functional.py:445
Function
main
(task, **kwargs)
VISTA/LLaVA-VISTA/scripts/convert_sqa_to_llava.py:83
Function
main
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/main.c:641
Function
main_task
(config, compute_score=None)
RLVER/code/verl/trainer/main_ppo.py:119
Function
main_task
(config)
RLVER/code/examples/split_placement/main_ppo_split.py:102
Function
main_task
(config, compute_score=None)
RLVMR/code/recipe/prime/main_prime.py:56
Function
main_task
(config)
RLVMR/code/verl/trainer/main_generation.py:54
Function
main_task
(config)
RLVMR/code/examples/split_placement/main_ppo_split.py:102
Function
make_inputs_require_grad
(module, input, output)
VISTA/LLaVA-VISTA/llava/train/train.py:857
Function
make_inputs_require_grad
(module, input, output)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/train_utils.py:10
Method
make_inputs_require_grad
(module, input, output)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/base.py:158
Method
make_labels
(self, input_ids, prompt, tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/data/template/pretrain_template.py:25
Method
make_minibatch_iterator
(self, data: DataProto)
RLVER/code/verl/workers/critic/megatron_critic.py:112
Method
make_minibatch_iterator
(self, data: DataProto)
RLVMR/code/verl/workers/critic/megatron_critic.py:102
Function
make_square
(bboxes, in_place=False)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/bb_util.py:124
Method
manipulate_memory
(self)
HATE/basic_hate/agentverse/memory_manipulator/base.py:12
Method
manipulate_memory
(self)
HATE/basic_hate/agentverse/memory_manipulator/reflection.py:70
Method
manipulate_memory
(self)
HATE/basic_hate/agentverse/memory_manipulator/basic.py:13
Method
manipulate_memory
Generate new plans
HATE/basic_hate/agentverse/memory_manipulator/plan.py:41
Function
mark_parameter_as_sequence_parallel
(parameter)
RLVER/code/verl/utils/megatron/sequence_parallel.py:21
Function
mark_parameter_as_sequence_parallel
(parameter)
RLVMR/code/verl/utils/megatron/sequence_parallel.py:21
Function
masked_ave_aggregator
ave aggregator of the node embedding input: tensor: batch x num_nodes x dim mask: tensor: batch x num_nodes
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:124
Function
masked_sum
Compute mean of tensor with a masked values.
RLVER/code/verl/utils/torch_functional.py:113
Function
masked_sum
Compute mean of tensor with a masked values.
RLVMR/code/verl/utils/torch_functional.py:113
Function
masked_whiten
Whiten values with masked values.
RLVER/code/verl/utils/torch_functional.py:141
Function
masked_whiten
Whiten values with masked values.
RLVMR/code/verl/utils/torch_functional.py:141
Method
master_address
(self)
RLVER/code/verl/single_controller/ray/base.py:354
Method
master_address
(self)
RLVMR/code/verl/single_controller/ray/base.py:374
Method
master_port
(self)
RLVER/code/verl/single_controller/ray/base.py:358
Method
master_port
(self)
RLVMR/code/verl/single_controller/ray/base.py:378
← previous
next →
4,401–4,500 of 5,073, ranked by callers