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
Method
navigate_to_goal
(self, game_state, start_pose, end_pose)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/graph/graph_obj.py:321
↓ 1 callers
Function
new_FluentValues
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:326
↓ 1 callers
Function
new_NormEffect2
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:531
↓ 1 callers
Function
new_Operator
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:453
↓ 1 callers
Function
new_PlOperator
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:192
↓ 1 callers
Function
new_PlanHashEntry
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:831
↓ 1 callers
Function
new_PseudoAction
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:711
↓ 1 callers
Function
normalize_all_wffs
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:1342
↓ 1 callers
Function
normalize_expressions
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:476
↓ 1 callers
Function
normalize_model_name
Transform the model name in each model_chunk in each pp stage into the name in inference engine
RLVER/code/verl/utils/model.py:209
↓ 1 callers
Function
normalize_model_name
Transform the model name in each model_chunk in each pp stage into the name in inference engine
RLVMR/code/verl/utils/model.py:209
↓ 1 callers
Function
num_tokens_from_string
(string: str, encoding_name: str = "cl100k_base")
RolePlay_Villain/codes/utils.py:109
↓ 1 callers
Method
object_key_expected
(self)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:639
↓ 1 callers
Method
object_value_expected
(self)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:642
↓ 1 callers
Function
offload_megatron_param_and_grad
(module_list: nn.ModuleList, offload_grad=False, hybrid_engine=None)
RLVER/code/verl/utils/megatron_utils.py:222
↓ 1 callers
Function
offload_megatron_param_and_grad
(module_list: nn.ModuleList, offload_grad=False, hybrid_engine=None)
RLVMR/code/verl/utils/megatron_utils.py:220
↓ 1 callers
Method
offload_params_to_cpu
offload params of models that are not of current pp rank to cpu
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:173
↓ 1 callers
Method
offload_params_to_cpu
offload params of models that are not of current pp rank to cpu
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:175
↓ 1 callers
Function
only_int_check
(val)
RLVER/code/verl/utils/reward_score/prime_code/testing_util.py:89
↓ 1 callers
Function
only_int_check
(val)
RLVMR/code/verl/utils/reward_score/prime_code/testing_util.py:89
↓ 1 callers
Function
output_planner_info
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/main.c:1049
↓ 1 callers
Function
pad_2d_list_to_length
pad a 2D list (e.g. responses, logprobs) to a 2D tensor.
RLVMR/code/verl/utils/torch_functional.py:228
↓ 1 callers
Function
pad_to_sequence_parallel
pad the tokens such that the total length is a multiple of sp world size Args: unpad_tokens: (total_nnz, ...). Tokens after removing padd
RLVER/code/verl/utils/megatron/sequence_parallel.py:29
↓ 1 callers
Function
pad_to_sequence_parallel
pad the tokens such that the total length is a multiple of sp world size Args: unpad_tokens: (total_nnz, ...). Tokens after removing padd
RLVMR/code/verl/utils/megatron/sequence_parallel.py:29
↓ 1 callers
Function
parallel_compute_score_async
(evaluation_func, completions, r
RLVMR/code/verl/workers/reward_manager/prime.py:46
↓ 1 callers
Function
parallel_main
(args)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/scripts/generate_trajectories.py:693
↓ 1 callers
Function
parallel_put
(data_list, max_workers=None)
RLVER/code/verl/utils/ray_utils.py:23
↓ 1 callers
Function
parse_args
()
VISTA/LLaVA-VISTA/llava/eval/summarize_gpt_review.py:9
↓ 1 callers
Function
parse_args
()
VISTA/LLaVA-VISTA/scripts/convert_vizwiz_for_submission.py:8
↓ 1 callers
Function
parse_args
()
VISTA/LLaVA-VISTA/scripts/extract_mm_projector.py:15
↓ 1 callers
Function
parse_args
()
VISTA/LLaVA-VISTA/scripts/convert_vqav2_for_submission.py:8
↓ 1 callers
Function
parse_args
()
VISTA/TinyLLaVA-VISTA/scripts/convert_vqav2_for_submission.py:8
↓ 1 callers
Function
parse_args
()
VISTA/TinyLLaVA-VISTA/tinyllava/serve/app.py:324
↓ 1 callers
Function
parse_args
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/scienceworld-web-server-example.py:205
↓ 1 callers
Function
parse_args
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/random_agent.py:164
↓ 1 callers
Function
parse_args
()
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/human.py:179
↓ 1 callers
Function
parse_args
()
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/test.py:86
↓ 1 callers
Function
parse_args
()
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_choice_il.py:213
↓ 1 callers
Function
parse_args
()
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_rl.py:171
↓ 1 callers
Method
parse_array
Parse an array like '["item1", "item2", ...]
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:355
↓ 1 callers
Method
parse_comment
(self)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:265
↓ 1 callers
Method
parse_concatenated_string
Repair concatenated strings like \"hello\" + \"world\", change this into \"helloworld\"
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:498
↓ 1 callers
Function
parse_gamefile
(infos)
RLVMR/code/agent_system/environments/env_manager.py:11
↓ 1 callers
Function
parse_ground_truth
(example: Dict[str, Any], data_name)
RLVER/code/verl/utils/reward_score/simplerl_utils/paser.py:577
↓ 1 callers
Function
parse_item_page_amz
(asin, verbose=True)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/predict_help.py:296
↓ 1 callers
Function
parse_item_page_ebay
(asin, verbose=True)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/predict_help.py:63
↓ 1 callers
Function
parse_item_page_ws
(asin, query, page_num, options, verbose=True)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/predict_help.py:188
↓ 1 callers
Function
parse_json_safely
(text)
RolePlay_Villain/codes/utils.py:410
↓ 1 callers
Method
parse_keywords
Parse keywords true, false, null Repair Python keywords True, False, None
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:559
↓ 1 callers
Function
parse_line
(line)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/planner/ff_planner_handler.py:71
↓ 1 callers
Function
parse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D.
VISTA/TinyLLaVA-VISTA/tinyllava/eval/model_vqa_mmmu.py:29
↓ 1 callers
Method
parse_newline_delimited_json
Parse and repair Newline Delimited JSON (NDJSON): multiple JSON objects separated by a newline character
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:389
↓ 1 callers
Method
parse_number
Parse a number like 2.4 or 2.4e6
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:518
↓ 1 callers
Method
parse_object
Parse an object like '{"key": "value"}
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:303
↓ 1 callers
Function
parse_plan
(lines)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/planner/ff_planner_handler.py:121
↓ 1 callers
Function
parse_response
(response, **kwargs)
RolePlay_Villain/codes/main.py:527
↓ 1 callers
Function
parse_results_amz
(query, page_num=None, verbose=True)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/predict_help.py:262
↓ 1 callers
Function
parse_results_ebay
(query, page_num=None, verbose=True)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/predict_help.py:26
↓ 1 callers
Function
parse_results_ws
(query, page_num=None, verbose=True)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/predict_help.py:146
↓ 1 callers
Function
parse_score
(review)
VISTA/LLaVA-VISTA/llava/eval/eval_gpt_review_bench.py:36
↓ 1 callers
Function
parse_score
(review)
VISTA/LLaVA-VISTA/llava/eval/eval_gpt_review.py:39
↓ 1 callers
Function
parse_score
(review)
VISTA/LLaVA-VISTA/llava/eval/eval_gpt_review_visual.py:36
↓ 1 callers
Function
parse_script_nodes
(script_text: str)
ScriptAgent/code/director_agent.py:436
↓ 1 callers
Function
parse_script_sections
(script_text: str)
ScriptAgent/code/director_agent.py:459
↓ 1 callers
Function
parse_station_nodes
(station_text: str, expected: int)
ScriptAgent/code/director_agent.py:488
↓ 1 callers
Function
perform_reachability_analysis
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_final.c:98
↓ 1 callers
Function
planning_reply
(player_data)
SAGE/simulator_response.py:56
↓ 1 callers
Method
planning_reply
(self,player_data)
RLVER/code/verl/workers/rollout/vllm_rollout/hard_player_simulator_dsv3.py:106
↓ 1 callers
Function
player_reply
(player_data,planning)
SAGE/simulator_response.py:175
↓ 1 callers
Method
player_reply
(self,player_data,planning)
RLVER/code/verl/workers/rollout/vllm_rollout/hard_player_simulator_dsv3.py:239
↓ 1 callers
Function
prec_recall_f1_score
Compute precision, recall and f1 given a set of gold and prediction items. :param pred_items: iterable of predicted values :param gold_i
SWF/src/metric.py:86
↓ 1 callers
Function
predict
Given WebShop environment observation and info, predict an action.
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/app.py:126
↓ 1 callers
Function
predict
(obs, info, model, softmax=False, rule=False, bart_model=None)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/test.py:28
↓ 1 callers
Method
prepare
(self, predictions, iou_type)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/coco_eval.py:62
↓ 1 callers
Function
prepare_fa2_from_position_ids
(query: torch.Tensor, key: torch.Tensor, value: torch.Tensor, position_ids:
RLVMR/code/verl/models/transformers/qwen2_vl.py:135
↓ 1 callers
Method
prepare_for_coco_detection
(self, predictions)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/coco_eval.py:72
↓ 1 callers
Method
prepare_for_coco_keypoint
(self, predictions)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/coco_eval.py:131
↓ 1 callers
Method
prepare_for_coco_segmentation
(self, predictions)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/coco_eval.py:96
↓ 1 callers
Method
prepare_input
(self)
VISTA/TinyLLaVA-VISTA/tinyllava_visualizer/tinyllava_visualizer.py:148
↓ 1 callers
Function
prepare_output_structure
(base_dir: str, model: str)
ScriptAgent/code/director_agent.py:551
↓ 1 callers
Function
preprocess
Given a list of sources, each is a conversation list. This transform: 1. Add signal '### ' at the beginning each sentence, with end signal '\
VISTA/LLaVA-VISTA/llava/train/train.py:611
↓ 1 callers
Method
preprocess_batch
Process a batch of observation samples, converting environment observations into model-processable format. Parameters:
RLVMR/code/agent_system/multi_turn_rollout/rollout_loop.py:148
↓ 1 callers
Function
preprocess_box_response_for_qwen_prompt
(model_output, answer)
RLVER/code/verl/utils/reward_score/simplerl.py:47
↓ 1 callers
Function
preprocess_llama_2
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False )
VISTA/LLaVA-VISTA/llava/train/train.py:333
↓ 1 callers
Function
preprocess_mpt
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False )
VISTA/LLaVA-VISTA/llava/train/train.py:501
↓ 1 callers
Function
preprocess_multimodal
( sources: Sequence[str], data_args: DataArguments )
VISTA/LLaVA-VISTA/llava/train/train.py:309
↓ 1 callers
Function
preprocess_plain
( sources: Sequence[str], tokenizer: transformers.PreTrainedTokenizer, )
VISTA/LLaVA-VISTA/llava/train/train.py:589
↓ 1 callers
Method
preprocess_single_sample
Process a single observation sample, organizing environment observations (text and/or images) into a format processable by the model
RLVMR/code/agent_system/multi_turn_rollout/rollout_loop.py:30
↓ 1 callers
Function
preprocess_v1
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False )
VISTA/LLaVA-VISTA/llava/train/train.py:415
↓ 1 callers
Function
print_FactList
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:51
↓ 1 callers
Function
print_MixedOperator
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:744
↓ 1 callers
Function
print_PseudoAction
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:844
↓ 1 callers
Method
print_analysis_report
打印详细的分析报告 Parameters: ----------- topic_sentence : str 主题句 paragraphs : List[str]
HATE/basic_hate/evaluation/test_topic_SFR.py:402
↓ 1 callers
Method
print_analysis_report
打印详细的分析报告 Parameters: ----------- topic_sentence : str 主题句 paragraphs : List[str]
HATE/basic_hate/evaluation/test_topic_SFR_new.py:402
↓ 1 callers
Method
print_intro
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/base.py:125
↓ 1 callers
Function
print_rank0
(*args)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/logging.py:10
↓ 1 callers
Function
print_results
打印格式化的统计结果
HATE/basic_hate/evaluation/sharemoney_mode0_eval.py:89
↓ 1 callers
Function
print_results
打印格式化的统计结果
HATE/basic_hate/evaluation/sharemoney_mode1_eval.py:85
↓ 1 callers
Function
print_results
打印格式化的统计结果
HATE/basic_hate/evaluation/sharemoney_mode0_eval_v1.py:72
↓ 1 callers
Method
print_trend_analysis
打印详细的趋势分析报告
HATE/basic_hate/evaluation/topic_ana.py:323
← previous
next →
2,501–2,600 of 5,073, ranked by callers