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
process
(s)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_choice_il.py:89
↓ 1 callers
Function
process_anyres_image
Process an image with variable resolutions. Args: image (PIL.Image.Image): The input image to be processed. processor: The i
VISTA/LLaVA-VISTA/llava/mm_utils.py:120
↓ 1 callers
Method
process_anyres_image
Process an image with variable resolutions. Args: image (PIL.Image.Image): The input image to be processed.
VISTA/TinyLLaVA-VISTA/tinyllava/data/image_preprocess.py:43
↓ 1 callers
Function
process_command_line
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/main.c:1142
↓ 1 callers
Function
process_dataset
(input, output, max_len=256)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_search_il.py:92
↓ 1 callers
Method
process_digit_article
(self, in_text)
VISTA/LLaVA-VISTA/llava/eval/m4c_evaluator.py:198
↓ 1 callers
Method
process_digit_article
(self, in_text)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/m4c_evaluator.py:198
↓ 1 callers
Function
process_goal
(state)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/app.py:34
↓ 1 callers
Function
process_goal
(state)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_search_il.py:26
↓ 1 callers
Function
process_image
(image: dict, max_pixels: int = 2048 * 2048, min_pixels: int = 512 * 512)
RLVMR/code/verl/utils/dataset/rl_dataset.py:51
↓ 1 callers
Function
process_image
(image, max_pixels: int = 2048 * 2048, min_pixels: int = 256 * 256)
RLVMR/code/agent_system/multi_turn_rollout/utils.py:46
↓ 1 callers
Function
process_one_shard
(rank)
RLVER/code/scripts/model_merger.py:122
↓ 1 callers
Function
process_one_shard
(rank)
RLVMR/code/scripts/model_merger.py:108
↓ 1 callers
Method
process_punctuation
(self, in_text)
VISTA/LLaVA-VISTA/llava/eval/m4c_evaluator.py:186
↓ 1 callers
Method
process_punctuation
(self, in_text)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/m4c_evaluator.py:186
↓ 1 callers
Function
process_single_circumstance
Process a single circumstance for simulation
RolePlay_Villain/codes/main.py:223
↓ 1 callers
Function
process_str
(s)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/app.py:28
↓ 1 callers
Method
prompt
( self, question_list, answer_list )
VISTA/TinyLLaVA-VISTA/tinyllava/data/template/base.py:67
↓ 1 callers
Function
prompt_processor
(prompt)
VISTA/LLaVA-VISTA/llava/eval/eval_textvqa.py:17
↓ 1 callers
Function
prompt_processor
(prompt)
VISTA/TinyLLaVA-VISTA/tinyllava/eval/eval_textvqa.py:17
↓ 1 callers
Method
prune_by_any_interaction
ignores any object that is not interactable in anyway
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:507
↓ 1 callers
Method
prune_heads
(self, heads)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:365
↓ 1 callers
Method
push
Saves a transition.
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/memory.py:288
↓ 1 callers
Method
push_one
(self, which, stuff)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/base_agent.py:40
↓ 1 callers
Method
query_similarity
get top-k entry based on recency, relevance, importance, immediacy The query result can be Short-term or Long-term queried result.
HATE/basic_hate/agentverse/memory_manipulator/reflection.py:167
↓ 1 callers
Function
qwen_math_equal_with_timeout_ray
(prediction, reference, include_percentage=True, is_close=True, timeout_duration=3)
RLVER/code/verl/utils/reward_score/simplerl.py:34
↓ 1 callers
Function
rag
Retrieves and formats relevant information from a database based on input contexts. Args: contexts (List[Dict]): List of mes
RolePlay_Villain/codes/agent.py:248
↓ 1 callers
Function
randomModel
Example random agent -- randomly picks an action at each step.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/random_agent.py:8
↓ 1 callers
Method
re_encode_by_rm_tokenizer
(self, data: DataProto)
RLVER/code/verl/workers/reward_model/megatron/reward_model.py:53
↓ 1 callers
Method
re_encode_by_rm_tokenizer
(self, data: DataProto)
RLVMR/code/verl/workers/reward_model/megatron/reward_model.py:53
↓ 1 callers
Method
read_config
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/model.py:36
↓ 1 callers
Method
receive_heart_beat
(self, worker_name: str, queue_length: int)
VISTA/LLaVA-VISTA/llava/serve/controller.py:173
↓ 1 callers
Method
record_action
(self, action)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_thor_env.py:170
↓ 1 callers
Method
reflect
initiate a reflection that inserts high level knowledge to memory
HATE/basic_hate/agentverse/memory_manipulator/reflection.py:308
↓ 1 callers
Function
reflection
(path_id, mode, model)
HATE/basic_hate/evaluation/sharemoney_v1.py:219
↓ 1 callers
Function
reflection
(path_id, mode, model)
HATE/basic_hate/evaluation/posthoc.py:212
↓ 1 callers
Function
reflection_basic
(data, model)
HATE/basic_hate/evaluation/sharemoney_v1.py:189
↓ 1 callers
Function
reflection_basic
(data, model)
HATE/basic_hate/evaluation/posthoc.py:182
↓ 1 callers
Function
reflection_basicloser
(data, model)
HATE/basic_hate/evaluation/sharemoney_v1.py:198
↓ 1 callers
Function
reflection_basicloser
(data, model)
HATE/basic_hate/evaluation/posthoc.py:191
↓ 1 callers
Method
refresh_all_workers
(self)
VISTA/LLaVA-VISTA/llava/serve/controller.py:104
↓ 1 callers
Function
reliability_guard
This disables various destructive functions and prevents the generated code from interfering with the test (e.g. fork bomb, killing other pro
RLVER/code/verl/utils/reward_score/prime_code/testing_util.py:644
↓ 1 callers
Function
reliability_guard
This disables various destructive functions and prevents the generated code from interfering with the test (e.g. fork bomb, killing other pro
RLVMR/code/verl/utils/reward_score/prime_code/testing_util.py:644
↓ 1 callers
Function
remove_articles
(text)
SWF/src/metric.py:30
↓ 1 callers
Function
remove_at_index
(text: str, start: int, count: int)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:29
↓ 1 callers
Function
remove_boxed
(s)
RLVER/code/verl/utils/reward_score/math.py:49
↓ 1 callers
Function
remove_color_codes
(s: str)
HATE/basic_hate/agentverse/logging.py:277
↓ 1 callers
Method
remove_previous_save_local_path
(self)
RLVER/code/verl/utils/checkpoint/checkpoint_manager.py:62
↓ 1 callers
Function
remove_punc
(text)
SWF/src/metric.py:39
↓ 1 callers
Function
remove_right_units
(string)
RLVER/code/verl/utils/reward_score/math.py:140
↓ 1 callers
Function
remove_right_units
(string)
RLVMR/code/verl/utils/reward_score/math.py:140
↓ 1 callers
Function
remove_spaces
(s)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/py_util.py:70
↓ 1 callers
Function
remove_spaces_and_lower
(s)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/py_util.py:75
↓ 1 callers
Method
remove_stable_workers_by_expiration
(self)
VISTA/LLaVA-VISTA/llava/serve/controller.py:183
↓ 1 callers
Method
repair
(self)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:184
↓ 1 callers
Function
replace_fl_in_nF_with_minus_fl
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:1315
↓ 1 callers
Function
replace_llama_attn_with_xformers_attn
()
VISTA/LLaVA-VISTA/llava/train/llama_xformers_attn_monkey_patch.py:19
↓ 1 callers
Function
replace_non_minimal_lnf_with_artificial_fl
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:2135
↓ 1 callers
Function
replay_check
(args)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/scripts/replay_checks.py:16
↓ 1 callers
Function
replay_json
(env, json_file)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/replay_json.py:3
↓ 1 callers
Method
request
Send request to Gemini API.
ScriptAgent/code/critic_agent_script.py:89
↓ 1 callers
Method
request
Send request to Gemini API.
ScriptAgent/code/critic_agent_video.py:277
↓ 1 callers
Method
reset
(self)
SWF/src/base.py:166
↓ 1 callers
Method
reset
(self)
HATE/basic_hate/agentverse/tasksolving_iter.py:106
↓ 1 callers
Method
reset
(self)
HATE/basic_hate/agentverse/agentverse.py:53
↓ 1 callers
Method
reset
(self)
HATE/basic_hate/agentverse/tasksolving.py:96
↓ 1 callers
Method
reset
(self)
HATE/basic_hate/agentverse/environments/tasksolving_env/rules/decision_maker/base.py:33
↓ 1 callers
Method
reset
Reset all environments and return the initial observations. Returns: - next_observations (Dict): - 'text'
RLVMR/code/agent_system/environments/base.py:33
↓ 1 callers
Method
reset
Send the reset command to all subprocesses at once and collect initial obs/info from each environment.
RLVMR/code/agent_system/environments/env_package/alfworld/envs.py:146
↓ 1 callers
Method
reset
(self, seed=None, info=None, scene=None, objs=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/agents/deterministic_planner_agent.py:10
↓ 1 callers
Method
reset
(self, scene_num=None, use_gt=True, seed=None, max_num_repeats=constants.MAX_NUM_OF_OBJ_INSTANCES,
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/game_state_base.py:76
↓ 1 callers
Method
reset
reset scene and task states
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:58
↓ 1 callers
Method
reset
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/generic.py:145
↓ 1 callers
Method
reset
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/generic.py:228
↓ 1 callers
Method
reset
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/generic.py:276
↓ 1 callers
Method
reset
(self, task_file)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_thor_env.py:85
↓ 1 callers
Method
reset
(self, batch_size)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/base_agent.py:74
↓ 1 callers
Method
reset
(self)
RLVMR/code/agent_system/environments/env_package/webshop/envs.py:158
↓ 1 callers
Method
reset
Create a new session and reset environment variables
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_site_env.py:190
↓ 1 callers
Method
reset_parameters
Initialize the layers in Language Model The initialization scheme is followed, following `OPT <https://arxiv.org/pdf/2205.01068.pdf>`_.
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:877
↓ 1 callers
Method
reset_parameters
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:491
↓ 1 callers
Method
reset_parameters
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:893
↓ 1 callers
Method
reset_parameters
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1356
↓ 1 callers
Method
reset_parameters
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1472
↓ 1 callers
Method
reset_parameters
(self)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/models/modules.py:62
↓ 1 callers
Method
reset_prefix_cache
(self, device: Optional[Device] = None)
RLVER/code/llm.py:1236
↓ 1 callers
Function
reset_search_info
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:2590
↓ 1 callers
Method
reset_states
clear state changes
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:98
↓ 1 callers
Function
resize_and_pad_image
Resize and pad an image to a target resolution while maintaining aspect ratio. Args: image (PIL.Image.Image): The input image.
VISTA/LLaVA-VISTA/llava/mm_utils.py:43
↓ 1 callers
Function
resize_and_pad_image
Resize and pad an image to a target resolution while maintaining aspect ratio. Args: image (PIL.Image.Image): The input image.
VISTA/TinyLLaVA-VISTA/tinyllava/utils/data_utils.py:76
↓ 1 callers
Function
resolve_style_key
(value: Optional[str])
ScriptAgent/code/director_agent.py:108
↓ 1 callers
Method
resume_dataset_state
(self)
RLVMR/code/verl/utils/dataset/rl_dataset.py:144
↓ 1 callers
Function
role_generate
(talking_set)
SAGE/profile/build_profile.py:25
↓ 1 callers
Method
run
(self, tasks: List[Task], pre_reset=True, reward_fn=None, )
SWF/src/base.py:360
↓ 1 callers
Method
run
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_thor_env.py:41
↓ 1 callers
Function
run_generation
(config)
RLVMR/code/verl/trainer/main_generation.py:44
↓ 1 callers
Function
run_ppo
(config)
RLVMR/code/verl/trainer/main_ppo.py:57
↓ 1 callers
Function
run_prime
(config, compute_score=None)
RLVMR/code/recipe/prime/main_prime.py:42
↓ 1 callers
Function
run_test
if test(generated_code) is not None it'll try to run the code. otherwise it'll just return an input and output pair.
RLVER/code/verl/utils/reward_score/prime_code/testing_util.py:108
↓ 1 callers
Function
run_test
if test(generated_code) is not None it'll try to run the code. otherwise it'll just return an input and output pair.
RLVMR/code/verl/utils/reward_score/prime_code/testing_util.py:108
← previous
next →
2,601–2,700 of 5,073, ranked by callers