MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

Functionlambda_policy_fn
(module)
RLVER/code/verl/utils/fsdp_utils.py:77
Functionlambda_policy_fn
(module)
RLVMR/code/verl/utils/fsdp_utils.py:81
Methodlengths
(self)
VISTA/LLaVA-VISTA/llava/train/train.py:677
Methodlengths
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/data/dataset.py:41
Functionlist_models
()
VISTA/LLaVA-VISTA/llava/serve/controller.py:256
Functionllama_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
Functionllama_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
Functionllama_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
Functionllama_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
Functionllm
(prompt, model, temperature=0.0, max_tokens=1024, retries=3)
RLVMR/code/scripts/sciworld_prepare.py:38
Functionllm
(prompt, model, temperature=0.0, max_tokens=1024, retries=3)
RLVMR/code/scripts/alfworld_prepare.py:41
Methodload
(self)
HATE/basic_hate/dataloader/research_questions.py:11
Methodload
(self)
HATE/basic_hate/dataloader/debate_persuasion.py:11
Methodload
(self, *args, **kwargs)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_tw_env.py:30
Methodload
(self, gamefile)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_tw_env.py:91
Methodload_checkpoint
(self, *args, **kwargs)
RLVER/code/verl/utils/checkpoint/checkpoint_manager.py:56
Methodload_checkpoint
(self, checkpoint_path, **kwargs)
RLVER/code/verl/workers/megatron_workers.py:423
Methodload_checkpoint
(self, checkpoint_path, **kwargs)
RLVER/code/verl/workers/megatron_workers.py:599
Methodload_checkpoint
(self, path, del_local_after_load=False)
RLVER/code/verl/workers/fsdp_workers.py:628
Methodload_checkpoint
(self, local_path: str, hdfs_path: str = None, del_local_after_load=False)
RLVMR/code/verl/utils/checkpoint/fsdp_checkpoint_manager.py:67
Methodload_checkpoint
(self, local_path: str, hdfs_path: str = None, del_local_after_load: bool = False)
RLVMR/code/verl/utils/checkpoint/checkpoint_manager.py:60
Methodload_checkpoint
(self, local_path: str, hdfs_path: str = None, del_local_after_load=False)
RLVMR/code/verl/utils/checkpoint/megatron_checkpoint_manager.py:187
Methodload_checkpoint
(self, checkpoint_path, hdfs_path=None, del_local_after_load=True)
RLVMR/code/verl/workers/megatron_workers.py:458
Methodload_checkpoint
(self, local_path, hdfs_path=None, del_local_after_load=False)
RLVMR/code/verl/workers/fsdp_workers.py:603
Functionload_config
()
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/generic.py:183
Functionload_demo
(url_params, request: gr.Request)
VISTA/LLaVA-VISTA/llava/serve/gradio_web_server.py:58
Functionload_demo
()
VISTA/TinyLLaVA-VISTA/tinyllava/serve/app.py:83
Functionload_demo_refresh_model_list
(request: gr.Request)
VISTA/LLaVA-VISTA/llava/serve/gradio_web_server.py:71
Methodload_from_disk
(filepath)
RLVMR/code/verl/protocol.py:229
Functionload_image_from_base64
(image)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/eval_utils.py:49
Functionload_json
(file_path)
RolePlay_Villain/codes/utils.py:168
Functionload_jsonl
(file: Union[str, Path])
RLVER/code/verl/utils/reward_score/simplerl_utils/qwen_utils.py:20
Methodload_model
(self, device_map=None)
VISTA/LLaVA-VISTA/llava/model/multimodal_encoder/clip_encoder.py:113
Methodload_model
(self, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:63
Methodload_model
(self, vision_tower_name, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/model/vision_tower/base.py:23
Methodload_pretrained_model
(self, checkpoint_path, **kwargs)
RLVER/code/verl/workers/megatron_workers.py:427
Methodload_pretrained_model
(self, checkpoint_path, del_local_after_load=True)
RLVMR/code/verl/workers/megatron_workers.py:464
Methodload_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
Functionload_prompt
(file_dir, file_name="prompts.json", key=None)
HATE/basic_hate/agentverse/utils/prompts.py:198
Functionload_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
Functionload_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
Functionload_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
Functionload_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
Functionload_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
Functionload_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
Methodlocal_rank_list
(self)
RLVER/code/verl/single_controller/base/worker_group.py:56
Methodlocal_rank_list
(self)
RLVMR/code/verl/single_controller/base/worker_group.py:56
Methodlocal_world_size_list
(self)
RLVER/code/verl/single_controller/base/worker_group.py:50
Methodlocal_world_size_list
(self)
RLVMR/code/verl/single_controller/base/worker_group.py:50
Methodlog
(self, data, step)
RLVER/code/verl/utils/tracking.py:121
Methodlog
(self, data, step)
RLVER/code/verl/utils/tracking.py:131
Methodlog
(self, data, step)
RLVMR/code/verl/utils/tracking.py:130
Methodlog
(self, data, step)
RLVMR/code/verl/utils/tracking.py:140
Methodlog
(self, loggers, samples, step)
RLVMR/code/verl/utils/tracking.py:182
Methodlog_json
(self, data: Any, file_name: str)
HATE/basic_hate/agentverse/logging.py:179
Functionlog_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
Functionlog_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
Functionlog_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
Functionlog_to_file
(string)
RLVMR/code/verl/utils/logging_utils.py:27
Functionlogkvs
Log a dictionary of key-value pairs
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:233
Functionlogprobs_from_logits_naive
(logits, labels)
RLVMR/code/verl/utils/torch_functional.py:71
Functionlora_kbit_setting
(model, training_args)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/train_utils.py:14
Methodloss_func
(output, data, meta_info)
RLVER/code/verl/workers/critic/megatron_critic.py:141
Methodloss_func
(output, data, meta_info)
RLVER/code/verl/workers/actor/megatron_actor.py:263
Methodloss_func
(output)
RLVER/code/verl/workers/reward_model/megatron/reward_model.py:214
Methodloss_func
(output, data, meta_info)
RLVMR/code/verl/workers/critic/megatron_critic.py:131
Methodloss_func
(output, data, meta_info)
RLVMR/code/verl/workers/actor/megatron_actor.py:264
Methodloss_func
(output)
RLVMR/code/verl/workers/reward_model/megatron/reward_model.py:214
Functionlower_keys
(example)
RLVER/code/verl/utils/reward_score/simplerl_utils/qwen_utils.py:41
Functionlr_lambda
(current_step)
RLVER/code/verl/utils/torch_functional.py:464
Functionlr_lambda
(current_step)
RLVMR/code/verl/utils/torch_functional.py:445
Functionmain
(task, **kwargs)
VISTA/LLaVA-VISTA/scripts/convert_sqa_to_llava.py:83
Functionmain
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/main.c:641
Functionmain_task
(config, compute_score=None)
RLVER/code/verl/trainer/main_ppo.py:119
Functionmain_task
(config)
RLVER/code/examples/split_placement/main_ppo_split.py:102
Functionmain_task
(config, compute_score=None)
RLVMR/code/recipe/prime/main_prime.py:56
Functionmain_task
(config)
RLVMR/code/verl/trainer/main_generation.py:54
Functionmain_task
(config)
RLVMR/code/examples/split_placement/main_ppo_split.py:102
Functionmake_inputs_require_grad
(module, input, output)
VISTA/LLaVA-VISTA/llava/train/train.py:857
Functionmake_inputs_require_grad
(module, input, output)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/train_utils.py:10
Methodmake_inputs_require_grad
(module, input, output)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/base.py:158
Methodmake_labels
(self, input_ids, prompt, tokenizer)
VISTA/TinyLLaVA-VISTA/tinyllava/data/template/pretrain_template.py:25
Methodmake_minibatch_iterator
(self, data: DataProto)
RLVER/code/verl/workers/critic/megatron_critic.py:112
Methodmake_minibatch_iterator
(self, data: DataProto)
RLVMR/code/verl/workers/critic/megatron_critic.py:102
Functionmake_square
(bboxes, in_place=False)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/bb_util.py:124
Methodmanipulate_memory
(self)
HATE/basic_hate/agentverse/memory_manipulator/base.py:12
Methodmanipulate_memory
(self)
HATE/basic_hate/agentverse/memory_manipulator/reflection.py:70
Methodmanipulate_memory
(self)
HATE/basic_hate/agentverse/memory_manipulator/basic.py:13
Methodmanipulate_memory
Generate new plans
HATE/basic_hate/agentverse/memory_manipulator/plan.py:41
Functionmark_parameter_as_sequence_parallel
(parameter)
RLVER/code/verl/utils/megatron/sequence_parallel.py:21
Functionmark_parameter_as_sequence_parallel
(parameter)
RLVMR/code/verl/utils/megatron/sequence_parallel.py:21
Functionmasked_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
Functionmasked_sum
Compute mean of tensor with a masked values.
RLVER/code/verl/utils/torch_functional.py:113
Functionmasked_sum
Compute mean of tensor with a masked values.
RLVMR/code/verl/utils/torch_functional.py:113
Functionmasked_whiten
Whiten values with masked values.
RLVER/code/verl/utils/torch_functional.py:141
Functionmasked_whiten
Whiten values with masked values.
RLVMR/code/verl/utils/torch_functional.py:141
Methodmaster_address
(self)
RLVER/code/verl/single_controller/ray/base.py:354
Methodmaster_address
(self)
RLVMR/code/verl/single_controller/ray/base.py:374
Methodmaster_port
(self)
RLVER/code/verl/single_controller/ray/base.py:358
Methodmaster_port
(self)
RLVMR/code/verl/single_controller/ray/base.py:378
← previousnext →4,401–4,500 of 5,073, ranked by callers