MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

↓ 1 callersFunctionsummarize_effects
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:1587
↓ 1 callersFunctionsummarize_group_size
Summarize the dynamics of step-level group. Args: group_size : List[int]
RLVMR/code/gigpo/core_gigpo.py:29
↓ 1 callersFunctionsuperior_bfs_state_hashed
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:1796
↓ 1 callersFunctionsuperior_ehc_state_hashed
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:525
↓ 1 callersMethodsupport_gradient_checkpoint
(self, model, gradient_checkpointing=False)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/base.py:157
↓ 1 callersFunctionsymbolic_equal
(a, b, tolerance, timeout=10.0)
RLVER/code/verl/utils/reward_score/prime_math/grader.py:310
↓ 1 callersFunctionsymbolic_equal
(a, b, tolerance, timeout=10.0)
RLVMR/code/verl/utils/reward_score/prime_math/grader.py:310
↓ 1 callersMethodsynchronize_between_processes
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:175
↓ 1 callersMethodsynchronize_between_processes
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/coco_eval.py:48
↓ 1 callersFunctiontest
()
RLVER/code/tests/ray/test_check_worker_alive.py:20
↓ 1 callersFunctiontest_basics
()
RLVER/code/tests/ray/test_ray_local_envs.py:36
↓ 1 callersFunctiontest_basics
()
RLVER/code/tests/ray/test_worker_group_basics.py:90
↓ 1 callersFunctiontest_fsdp_ckpt
()
RLVER/code/tests/checkpoint/test_fsdp_ckpt.py:30
↓ 1 callersFunctiontest_hf_casual_fwd
()
RLVER/code/tests/model/test_transformers_ulysses.py:44
↓ 1 callersFunctiontest_hf_casual_fwd_bwd
()
RLVER/code/tests/model/test_transformers_ulysses.py:122
↓ 1 callersFunctiontest_hf_casual_models
()
RLVER/code/tests/model/test_transformer.py:32
↓ 1 callersFunctiontest_hf_value_models
()
RLVER/code/tests/model/test_transformer.py:91
↓ 1 callersFunctiontest_memory_buffers
()
RLVER/code/tests/gpu_utility/test_memory_buffers.py:27
↓ 1 callersFunctiontest_trainer_forward_consistency
Test consistency between original forward pass and SP+rmpad forward passes. Args: trainer: The FSDPSFTTrainer instance to test
RLVER/code/tests/sft/test_sp_loss_match.py:23
↓ 1 callersFunctionto_hashable
(x)
RLVMR/code/gigpo/core_gigpo.py:15
↓ 1 callersFunctionto_list_of_dict
(batch: DataProto)
RLVMR/code/agent_system/multi_turn_rollout/utils.py:9
↓ 1 callersMethodto_string
(self)
HATE/basic_hate/agentverse/memory/base.py:15
↓ 1 callersMethodto_thor_api_exec
(self, action, object_id="", smooth_nav=False)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:422
↓ 1 callersMethodtokenize_with_assistant_mask
(self,messages)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:377
↓ 1 callersFunctiontrain
()
VISTA/TinyLLaVA-VISTA/tinyllava/train/train.py:49
↓ 1 callersFunctiontrain
()
VISTA/TinyLLaVA-VISTA/tinyllava/train/custom_finetune.py:20
↓ 1 callersFunctiontrain
(agent, eval_env, test_env, envs, args)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_rl.py:74
↓ 1 callersMethodtrain_dagger
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/text_dagger_agent.py:44
↓ 1 callersMethodtrain_dagger_recurrent
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/text_dagger_agent.py:113
↓ 1 callersMethodtrain_model
(self, data: DataProto)
RLVER/code/tests/ray/detached_worker/server.py:120
↓ 1 callersFunctiontrain_one_epoch
(model, optimizer, data_loader, device, epoch, print_freq)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/engine.py:13
↓ 1 callersMethodtraining_model_converse
(self, model)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/base.py:91
↓ 1 callersMethodtraining_step
(self, batch: TensorDict)
RLVER/code/verl/trainer/fsdp_sft_trainer.py:384
↓ 1 callersMethodtraining_step
(self, batch: TensorDict)
RLVMR/code/verl/trainer/fsdp_sft_trainer.py:378
↓ 1 callersFunctiontransform_to_LNF
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:167
↓ 1 callersMethodtransition_reward
immediate reward given the current state
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/tasks.py:63
↓ 1 callersFunctiontranslate_negative_preconds
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:2759
↓ 1 callersFunctiontranslate_subtractions
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:1176
↓ 1 callersMethodtrilinear_for_attention
(self, C, Q, Cmask, Qmask)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1247
↓ 1 callersMethodtrim_messages
( self, current_message_chain: List[Dict], model: str, history: List[Dict] )
HATE/basic_hate/agentverse/memory/chat_history.py:130
↓ 1 callersMethodtune_type_setting
(self, model)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/base.py:32
↓ 1 callersMethodunexpected_character
(self)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:631
↓ 1 callersMethodunexpected_end
(self)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:636
↓ 1 callersFunctionunfold_batch_dim
Unfold the first n dims as new batch dim
RLVER/code/verl/protocol.py:132
↓ 1 callersFunctionunify_easy_inertia_conditions
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_easy.c:759
↓ 1 callersFunctionunify_easy_inertia_preconds
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_easy.c:1087
↓ 1 callersFunctionunion_numpy_dict
(tensor_dict1: dict[str, np.ndarray], tensor_dict2: dict[str, np.ndarray])
RLVMR/code/verl/protocol.py:87
↓ 1 callersFunctionunion_tensor_dict
Union two tensordicts.
RLVMR/code/verl/protocol.py:73
↓ 1 callersFunctionunion_two_dict
Union two dict. Will throw an error if there is an item not the same object with the same key. Args: dict1: dict2: Returns:
RLVER/code/verl/utils/py_functional.py:22
↓ 1 callersFunctionunion_two_dict
Union two dict. Will throw an error if there is an item not the same object with the same key. Args: dict1: dict2: Returns:
RLVMR/code/verl/utils/py_functional.py:22
↓ 1 callersFunctionunit_convert
(number, level)
RLVER/code/verl/utils/flops_counter.py:23
↓ 1 callersFunctionunit_convert
(number, level)
RLVMR/code/verl/utils/flops_counter.py:23
↓ 1 callersFunctionunpad_image
Unpads a PyTorch tensor of a padded and resized image. Args: tensor (torch.Tensor): The image tensor, assumed to be in CxHxW format.
VISTA/LLaVA-VISTA/llava/model/llava_arch.py:100
↓ 1 callersMethodupdate
(self, predictions)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/coco_eval.py:33
↓ 1 callersMethodupdate_buffer
(self, new_message: str)
HATE/basic_hate/agentverse/memory/summary.py:64
↓ 1 callersMethodupdate_dqn_admissible_commands
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/text_dqn_agent.py:572
↓ 1 callersMethodupdate_dqn_beam_search_choice
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/text_dqn_agent.py:716
↓ 1 callersMethodupdate_dqn_command_generation
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/text_dqn_agent.py:920
↓ 1 callersMethodupdate_edge
(self, pose, weight)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/graph/graph_obj.py:215
↓ 1 callersMethodupdate_gt_receptacle_mask
(self, recep)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/mrcnn.py:235
↓ 1 callersFunctionupdate_jsonl_line
Update the response field of the specified line in the JSONL file (script after removing sensitive nodes)
ScriptAgent/code/director_agent.py:681
↓ 1 callersMethodupdate_map
(self, env)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/graph/graph_obj.py:308
↓ 1 callersMethodupdate_running_summary
( self, new_events: List[Dict], model: str = "gpt-3.5-turbo", max_summary_leng
HATE/basic_hate/agentverse/memory/chat_history.py:149
↓ 1 callersMethodupdate_sampling_params
(self, **kwargs)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd_think.py:169
↓ 1 callersMethodupdate_sampling_params
(self, **kwargs)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd_think.py:357
↓ 1 callersMethodupdate_sampling_params
(self, **kwargs)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout.py:170
↓ 1 callersMethodupdate_sampling_params
(self, **kwargs)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:169
↓ 1 callersMethodupdate_sampling_params
(self, **kwargs)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:359
↓ 1 callersMethodupdate_sampling_params
(self, **kwargs)
RLVMR/code/verl/workers/rollout/sglang_rollout/sglang_rollout.py:180
↓ 1 callersMethodupdate_sampling_params
(self, **kwargs)
RLVMR/code/verl/workers/rollout/vllm_rollout/vllm_rollout.py:141
↓ 1 callersMethodupdate_sampling_params
(self, **kwargs)
RLVMR/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:153
↓ 1 callersMethodupdate_state_tracking
(self, game_state, last_action)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/expert/handcoded_expert.py:151
↓ 1 callersMethodupdate_states
extra updates to metadata after step
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:188
↓ 1 callersFunctionuserConsole
Example user input console, to play through a game.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/human.py:25
↓ 1 callersFunctionviolates_moderation
Check whether the text violates OpenAI moderation API.
VISTA/LLaVA-VISTA/llava/utils.py:102
↓ 1 callersMethodvisualize_distances
可视化主题距离 Parameters: ----------- topic_sentence : str 主题句 paragraphs : List[str]
HATE/basic_hate/evaluation/test_topic_SFR.py:276
↓ 1 callersMethodvisualize_distances
可视化主题距离 Parameters: ----------- topic_sentence : str 主题句 paragraphs : List[str]
HATE/basic_hate/evaluation/test_topic_SFR_new.py:276
↓ 1 callersFunctionvisualize_grid_to_grid
(i, mask, image, output_dir, grid_size=27, alpha=0.6)
VISTA/TinyLLaVA-VISTA/tinyllava_visualizer/tinyllava_visualizer.py:41
↓ 1 callersFunctionvocab_parallel_compute_entropy_loss
Compute Categorical entropy loss Args: logits: `(torch.Tensor)` shape: (bs, response_length, vocab_size) eos_mask: `(
RLVER/code/verl/utils/megatron/tensor_parallel.py:168
↓ 1 callersFunctionvocab_parallel_compute_entropy_loss
Compute Categorical entropy loss Args: logits: `(torch.Tensor)` shape: (bs, response_length, vocab_size) eos_mask: `(
RLVMR/code/verl/utils/megatron/tensor_parallel.py:173
↓ 1 callersFunctionvocab_parallel_entropy
Compute entropy when the logits are sharded in tp ranks Args: vocab_parallel_logits: (total_nnz, vocab_size // tp_size) Returns:
RLVER/code/verl/utils/megatron/tensor_parallel.py:124
↓ 1 callersFunctionvocab_parallel_entropy
Compute entropy when the logits are sharded in tp ranks Args: vocab_parallel_logits: (total_nnz, vocab_size // tp_size) Returns:
RLVMR/code/verl/utils/megatron/tensor_parallel.py:129
↓ 1 callersMethodweights_init
(self, m)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1556
↓ 1 callersMethodweights_init
(self, m)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1587
↓ 1 callersFunctionwhite_space_fix
(text)
SWF/src/metric.py:33
↓ 1 callersMethodword_embedding_initialize
(self, words_list, dim_size=300, scale=0.1, oov_init='random')
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:177
↓ 1 callersMethodword_tokenize
(self, word)
VISTA/LLaVA-VISTA/llava/eval/m4c_evaluator.py:181
↓ 1 callersMethodword_tokenize
(self, word)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/m4c_evaluator.py:181
↓ 1 callersMethodworker_api_generate_stream
(self, params)
VISTA/LLaVA-VISTA/llava/serve/controller.py:193
↓ 1 callersMethodworker_api_get_status
(self)
VISTA/LLaVA-VISTA/llava/serve/controller.py:220
↓ 1 callersMethodwritekvs
(self, kvs)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:21
↓ 1 callersMethodwriteseq
(self, seq)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:26
FunctionFLOAT_LE
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:164
FunctionNLL
Shape: - y_pred: batch x n_class - y_true: batch x n_class - mask: batch x n_class
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:71
Method__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
VISTA/LLaVA-VISTA/llava/mm_utils.py:262
Method__call__
(self, item)
VISTA/LLaVA-VISTA/llava/eval/m4c_evaluator.py:213
Method__call__
(self, instances: Sequence[Dict])
VISTA/LLaVA-VISTA/llava/train/train.py:749
Method__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/eval_utils.py:43
Method__call__
(self, messages, mode='train')
VISTA/TinyLLaVA-VISTA/tinyllava/data/text_preprocess.py:11
Method__call__
(self, instances: Sequence[Dict])
VISTA/TinyLLaVA-VISTA/tinyllava/data/dataset.py:80
← previousnext →2,801–2,900 of 5,073, ranked by callers