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
↓ 3 callers
Method
get_worker_status
(self, worker_name: str)
VISTA/LLaVA-VISTA/llava/serve/controller.py:88
↓ 3 callers
Function
gini_coefficient
(wealth)
SWF/src/utils.py:427
↓ 3 callers
Function
hash_bfs_node
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:1706
↓ 3 callers
Function
hf_processor
Create a huggingface processor to process multimodal data. Args: name_or_path (str): The name of the processor. Returns: tra
RLVMR/code/verl/utils/tokenizer.py:62
↓ 3 callers
Function
import_external_libs
(external_libs=None)
RLVER/code/verl/utils/import_utils.py:41
↓ 3 callers
Function
info
(*args)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:266
↓ 3 callers
Function
init_megatron_optim_config
(optim_config: Dict)
RLVER/code/verl/utils/megatron_utils.py:195
↓ 3 callers
Function
init_model_parallel_config
(config: DictConfig)
RLVMR/code/verl/utils/megatron_utils.py:206
↓ 3 callers
Method
init_workers
Init resource pool and worker group
RLVER/code/verl/trainer/ppo/ray_trainer.py:761
↓ 3 callers
Method
init_workers
Init resource pool and worker group
RLVMR/code/verl/trainer/ppo/ray_trainer.py:667
↓ 3 callers
Function
initialize_fixpoint
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:789
↓ 3 callers
Function
instantiate_wff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_hard.c:662
↓ 3 callers
Function
instantiated_fact_adress
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_hard.c:979
↓ 3 callers
Function
introduce_benefits_and_enforcements
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:2329
↓ 3 callers
Function
introduce_pc_goals
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:2516
↓ 3 callers
Method
inventory
Check your inventory. This is a "free" action that consumes no time.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:460
↓ 3 callers
Function
is_dist_avail_and_initialized
()
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:268
↓ 3 callers
Method
is_done
Check if the environment is done
HATE/basic_hate/agentverse/environments/base.py:56
↓ 3 callers
Method
layer_dropout
(self, inputs, residual, dropout)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1088
↓ 3 callers
Method
layer_dropout
(self, inputs, residual, dropout)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1145
↓ 3 callers
Method
layer_dropout
(self, inputs, residual, dropout)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1205
↓ 3 callers
Function
load_base_ckp_for_lora
(ckp_path)
VISTA/TinyLLaVA-VISTA/tinyllava/model/load_model.py:9
↓ 3 callers
Method
load_checkpoint
(self, local_path, hdfs_path=None, del_local_after_load=True)
RLVMR/code/verl/workers/fsdp_workers.py:883
↓ 3 callers
Method
load_connector
(self, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/model/modeling_tinyllava.py:445
↓ 3 callers
Function
load_data
(filename, file_type=None)
SWF/src/utils.py:29
↓ 3 callers
Function
load_environment
(env_config: Dict)
HATE/basic_hate/agentverse/initialization.py:59
↓ 3 callers
Function
load_fsdp_optimizer
(optimizer, device_id)
RLVMR/code/verl/utils/fsdp_utils.py:164
↓ 3 callers
Function
load_image_from_base64
(image)
VISTA/LLaVA-VISTA/llava/mm_utils.py:149
↓ 3 callers
Function
load_products
(filepath, num_products=None, human_goals=True)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/engine/engine.py:230
↓ 3 callers
Method
load_vision_tower
(self, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/model/modeling_tinyllava.py:440
↓ 3 callers
Function
logical_state_sum
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:1848
↓ 3 callers
Method
look
Look around. This is a "free" action in that it consumes no time.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:455
↓ 3 callers
Function
make_Wff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:809
↓ 3 callers
Function
make_batch_generator
(batches, vpp_size)
RLVER/code/verl/utils/megatron/pipeline_parallel.py:43
↓ 3 callers
Function
make_batch_generator
(batches, vpp_size)
RLVMR/code/verl/utils/megatron/pipeline_parallel.py:43
↓ 3 callers
Function
make_divisible
This function is taken from the original tf repo. It ensures that all layers have a channel number that is divisible by the divisor It ca
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:42
↓ 3 callers
Function
make_either_ty_in_pl
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/parse.c:742
↓ 3 callers
Function
make_map_fn
(split)
RLVMR/code/examples/data_preprocess/hellaswag.py:53
↓ 3 callers
Function
maybe_zero_3
(param, ignore_status=False, name=None)
VISTA/LLaVA-VISTA/llava/train/train.py:116
↓ 3 callers
Function
maybe_zero_3
(param, ignore_status=False, name=None)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/train_utils.py:28
↓ 3 callers
Function
merge_next_step_ANDs_and_ORs_in_wff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:3780
↓ 3 callers
Function
new_Action
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:760
↓ 3 callers
Function
new_EhcNode
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:796
↓ 3 callers
Function
new_NumericEffect
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:412
↓ 3 callers
Function
normalize_tyl_in_pl
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/parse.c:786
↓ 3 callers
Method
object_id_to_cls
(self, object_hash, special_char=' ')
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/expert/handcoded_expert.py:59
↓ 3 callers
Function
pad_2d_list_to_length
pad a 2D list (e.g. responses, logprobs) to a 2D tensor.
RLVER/code/verl/utils/torch_functional.py:247
↓ 3 callers
Method
pad_and_stack
(self, obs, max_feat_len=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1612
↓ 3 callers
Function
parse_action
Parse action string to action name and its arguments.
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/engine/engine.py:117
↓ 3 callers
Function
parse_digits
(num)
RLVER/code/verl/utils/reward_score/simplerl_utils/grader.py:42
↓ 3 callers
Method
parse_string
Parse a string enclosed by double quotes "...". Can contain escaped quotes Repair strings enclosed in single quotes or special quotes
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:415
↓ 3 callers
Function
position_in_constants_table
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:375
↓ 3 callers
Function
prepare_task_config
Read the yaml config of the given task in `tasks` directory.
HATE/basic_hate/agentverse/initialization.py:70
↓ 3 callers
Function
preproc
(s)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/generic.py:115
↓ 3 callers
Function
print_Action_name
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:1098
↓ 3 callers
Function
print_fixpoint_result
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:1459
↓ 3 callers
Method
print_frame
(self, recep, loc)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/mrcnn.py:191
↓ 3 callers
Method
print_frame
(self, recep, loc)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/oracle.py:125
↓ 3 callers
Function
print_successes
(succ_traj)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/scripts/generate_trajectories.py:376
↓ 3 callers
Method
push_first_sight
(self, stuff)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/base_agent.py:56
↓ 3 callers
Method
receive
Map action to the corresponding page
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_text_env.py:520
↓ 3 callers
Method
reduce
Returns result of applying `self.operation` to a contiguous subsequence of the array. self.operation(arr[start], operati
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/segment_tree.py:46
↓ 3 callers
Function
remove_unused_vars_in_wff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:1417
↓ 3 callers
Method
render
(self, mode: str = 'text', env_idx: int = None)
RLVMR/code/agent_system/environments/env_package/webshop/envs.py:181
↓ 3 callers
Function
replace_not_p_with_n_in_wff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:2952
↓ 3 callers
Method
reset
(self)
SWF/src/base.py:127
↓ 3 callers
Method
reset
(self, game_state_reset_args, scene=None, objs=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/agents/agent_base.py:24
↓ 3 callers
Method
restore_scene
restore object locations and states
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:106
↓ 3 callers
Method
rl_forward
(self, state_batch, act_batch, value=False, q=False, act=False)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/models/bert.py:86
↓ 3 callers
Function
rounder
(num)
SWF/src/metric.py:21
↓ 3 callers
Method
run
Run the environment from scratch until it is done.
HATE/basic_hate/agentverse/agentverse.py:47
↓ 3 callers
Method
run
(self, config)
RLVMR/code/verl/trainer/main_ppo.py:78
↓ 3 callers
Function
same_lnfs
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:1782
↓ 3 callers
Function
same_state
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:792
↓ 3 callers
Method
save_run_histories_buffer_if_full
One stop function for saving. If the histories buffer is full, saves to file and clears the buffer. :param filename_out_prefix: Name
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:357
↓ 3 callers
Function
select_op
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:2293
↓ 3 callers
Method
set_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:457
↓ 3 callers
Method
set_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:461
↓ 3 callers
Function
set_random_seed
(seed)
RLVER/code/verl/workers/megatron_workers.py:47
↓ 3 callers
Function
set_random_seed
(seed)
RLVMR/code/verl/workers/megatron_workers.py:52
↓ 3 callers
Method
set_state
(self, state)
RLVER/code/tests/e2e/envs/digit_completion/task.py:64
↓ 3 callers
Function
simplify_exp
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:1879
↓ 3 callers
Method
spawn
spawn to a dictionary of worker groups, each with a subset of method with prefix.
RLVER/code/verl/single_controller/ray/base.py:292
↓ 3 callers
Function
split_dict_tensor_into_batches
(tensors: TensorDict, batch_size)
RLVER/code/verl/utils/torch_functional.py:241
↓ 3 callers
Function
split_dict_tensor_into_batches
(tensors: TensorDict, batch_size)
RLVMR/code/verl/utils/torch_functional.py:222
↓ 3 callers
Method
step
(self, actions)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_hybrid.py:43
↓ 3 callers
Method
summary_message
(self)
HATE/basic_hate/agentverse/memory/chat_history.py:216
↓ 3 callers
Function
time_limit
(seconds: float)
RLVER/code/verl/utils/reward_score/prime_math/grader.py:345
↓ 3 callers
Function
time_limit
(seconds: float)
RLVMR/code/verl/utils/reward_score/prime_math/grader.py:345
↓ 3 callers
Method
to_str
(precision)
RLVER/code/verl/utils/torch_dtypes.py:74
↓ 3 callers
Method
to_str
(precision)
RLVMR/code/verl/utils/torch_dtypes.py:74
↓ 3 callers
Function
tokenize_words
(text)
RolePlay_Villain/codes/utils.py:531
↓ 3 callers
Function
train
(attn_implementation=None)
VISTA/LLaVA-VISTA/llava/train/train.py:789
↓ 3 callers
Function
translate_one_negative_cond
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:2835
↓ 3 callers
Function
union_numpy_dict
(tensor_dict1: dict[str, np.ndarray], tensor_dict2: dict[str, np.ndarray])
RLVER/code/verl/protocol.py:87
↓ 3 callers
Function
union_tensor_dict
Union two tensordicts.
RLVER/code/verl/protocol.py:73
↓ 3 callers
Function
updateQuestionSelect
(question_id)
VISTA/LLaVA-VISTA/llava/eval/webpage/script.js:48
↓ 3 callers
Method
update_actor
(self, data: DataProto)
RLVER/code/verl/workers/fsdp_workers.py:464
↓ 3 callers
Method
update_actor
(self, data: DataProto)
RLVMR/code/verl/workers/fsdp_workers.py:439
↓ 3 callers
Method
update_critic
(self, data: DataProto)
RLVER/code/verl/workers/fsdp_workers.py:851
← previous
next →
701–800 of 5,073, ranked by callers