MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

↓ 1 callersFunctionextract_plan_fragment
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:668
↓ 1 callersFunctionextract_reward_from_line
(line)
RLVER/code/tests/e2e/check_results.py:20
↓ 1 callersFunctionextract_solution
(solution_str, method='strict')
RLVER/code/verl/utils/reward_score/gsm8k.py:18
↓ 1 callersFunctionextract_solution
(solution_str, method='strict')
RLVMR/code/verl/utils/reward_score/gsm8k.py:18
↓ 1 callersFunctionextract_solution
(solution_str)
RLVMR/code/examples/data_preprocess/gsm8k.py:26
↓ 1 callersFunctionextract_solution
(solution_str)
RLVMR/code/examples/data_preprocess/math_dataset.py:27
↓ 1 callersMethodextract_task
(self, text_obs: List[str])
RLVMR/code/agent_system/environments/env_manager.py:72
↓ 1 callersMethodextract_task
(self, text_obs: List[str])
RLVMR/code/agent_system/environments/env_manager.py:409
↓ 1 callersMethodextract_task_descriptions
(self, infos: List[dict])
RLVMR/code/agent_system/environments/env_manager.py:263
↓ 1 callersFunctionextract_time_spans_from_nodes
(nodes: List[str])
ScriptAgent/code/director_agent.py:506
↓ 1 callersFunctionf1_score
(guess, answers)
SWF/src/metric.py:105
↓ 1 callersMethodfilter_and_downsample
downsample the batch according to oversample_factor samples passing the filters will be prioritized
RLVMR/code/recipe/prime/prime_ray_trainer.py:500
↓ 1 callersFunctionfilter_group_data
Dynamic Sampling: Over-sample and filter out episode group in which all episodes have the same rewards. Adopted from DAPO (https://arxiv.
RLVMR/code/agent_system/multi_turn_rollout/utils.py:103
↓ 1 callersFunctionfind_all_linear_names
(model)
VISTA/LLaVA-VISTA/llava/train/train.py:170
↓ 1 callersFunctionfind_box
(pred_str: str)
RLVER/code/verl/utils/reward_score/simplerl_utils/paser.py:413
↓ 1 callersFunctionfind_long_letter_substrings
Find substrings of letters that are 100+ characters long
RolePlay_Villain/codes/utils.py:648
↓ 1 callersMethodfit
(self)
RLVER/code/verl/trainer/fsdp_sft_trainer.py:444
↓ 1 callersMethodfit
The training loop of PPO. The driver process only need to call the compute functions of the worker group through RPC to construct the
RLVMR/code/recipe/prime/prime_ray_trainer.py:321
↓ 1 callersMethodfit
(self)
RLVMR/code/verl/trainer/fsdp_sft_trainer.py:443
↓ 1 callersFunctionfix_a_slash_b
(string)
RLVER/code/verl/utils/reward_score/math.py:125
↓ 1 callersFunctionfix_a_slash_b
(string)
RLVMR/code/verl/utils/reward_score/math.py:125
↓ 1 callersFunctionfix_fracs
(string)
RLVER/code/verl/utils/reward_score/math.py:93
↓ 1 callersFunctionfix_fracs
(string)
RLVMR/code/verl/utils/reward_score/math.py:93
↓ 1 callersFunctionfix_repeation
Fix repetitive text patterns in the response by detecting and removing repetitions. This function handles three types of repetition detection:
RolePlay_Villain/codes/utils.py:545
↓ 1 callersFunctionfix_sqrt
(string)
RLVER/code/verl/utils/reward_score/math.py:150
↓ 1 callersFunctionfix_sqrt
(string)
RLVMR/code/verl/utils/reward_score/math.py:150
↓ 1 callersFunctionflash_attention_forward
Patches flash attention forward to handle 3D position ids in mrope. (3, batch_size, seq_length)
RLVMR/code/verl/models/transformers/qwen2_vl.py:150
↓ 1 callersFunctionfluents_hopeless
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:721
↓ 1 callersFunctionfold_batch_dim
Fold a batch dim from [bsz, xxx] into [new_bsz, bsz // new_bsz, xxx]
RLVER/code/verl/protocol.py:112
↓ 1 callersMethodfoo
(self, wait_time)
RLVER/code/tests/ray/check_worker_alive/main.py:33
↓ 1 callersMethodfoo_all_to_all
(self, x, y)
RLVER/code/tests/ray/test_worker_group_basics.py:60
↓ 1 callersMethodfoo_custom
(self, x, y)
RLVER/code/tests/ray/test_worker_group_basics.py:64
↓ 1 callersMethodfoo_one_to_all
(self, x, y)
RLVER/code/tests/ray/test_worker_group_basics.py:56
↓ 1 callersMethodfoo_rank_zero
(self, x, y)
RLVER/code/tests/ray/test_worker_group_basics.py:52
↓ 1 callersMethodformat_avail_actions
(self, avail)
RLVMR/code/agent_system/environments/env_manager.py:432
↓ 1 callersFunctionformat_intervals
(prediction)
RLVER/code/verl/utils/reward_score/prime_math/grader.py:358
↓ 1 callersFunctionformat_intervals
(prediction)
RLVMR/code/verl/utils/reward_score/prime_math/grader.py:358
↓ 1 callersFunctionformat_reward
(predict_str: str)
RLVMR/code/verl/utils/reward_score/geo3k.py:19
↓ 1 callersMethodformat_word_features
格式化word_features数据 保留原有的格式化逻辑,处理word_features列表中的每个特征字典 Args: word_features (list): 原始word_features列
BatonVoice/audio_feature_extractor.py:1189
↓ 1 callersMethodforward
(self, hidden_states: torch.Tensor)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:210
↓ 1 callersMethodforward
(self, *inputs, **kwargs)
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:143
↓ 1 callersMethodforward
(self, *inputs, **kwargs)
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:145
↓ 1 callersMethodforward
(self, state_input_ids, state_attention_mask, action_input_ids, action_attention_mask, sizes, images=None, lab
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/models/bert.py:58
↓ 1 callersMethodforward
(self, state_batch, act_batch, value=False, q=False, act=False)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/models/rnn.py:66
↓ 1 callersMethodforward_batch
We assume: - The model takes input: (input_ids, attention_mask, position_ids). No rmpad for the input - The communication sha
RLVER/code/verl/workers/reward_model/megatron/reward_model.py:180
↓ 1 callersMethodforward_batch
We assume: - The model takes input: (input_ids, attention_mask, position_ids). No rmpad for the input - The communication sha
RLVMR/code/verl/workers/reward_model/megatron/reward_model.py:180
↓ 1 callersFunctionfree_NormOperator
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:1116
↓ 1 callersFunctionfree_Operator
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:990
↓ 1 callersFunctionfree_PlOperator
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:968
↓ 1 callersFunctionfree_partial_Effect
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:1100
↓ 1 callersFunctionfree_single_EasyTemplate
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:1200
↓ 1 callersFunctionfree_single_NormEffect
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:1149
↓ 1 callersMethodfrom_detached
(cls, worker_names=None, ray_cls_with_init=None)
RLVMR/code/verl/single_controller/ray/base.py:305
↓ 1 callersMethodfrom_str
(cls, name)
VISTA/LLaVA-VISTA/llava/serve/controller.py:33
↓ 1 callersFunctionfull_possibly_negative
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_hard.c:957
↓ 1 callersFunctionfull_possibly_positive
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_hard.c:935
↓ 1 callersFunctionfunc_generator
(self, method_name, dispatch_fn, collect_fn, execute_fn, blocking)
RLVER/code/verl/single_controller/ray/base.py:36
↓ 1 callersFunctionfunc_generator
(self, method_name, dispatch_fn, collect_fn, execute_fn, blocking)
RLVMR/code/verl/single_controller/ray/base.py:36
↓ 1 callersFunctiongather_from_labels
Gather the label from data. The value in label should be [0, vocab_size) Args: data: (..., vocab_size) label (torch.IntTensor) :
RLVER/code/verl/utils/torch_functional.py:33
↓ 1 callersFunctiongather_from_labels
Gather the label from data. The value in label should be [0, vocab_size) Args: data: (..., vocab_size) label (torch.IntTensor) :
RLVMR/code/verl/utils/torch_functional.py:33
↓ 1 callersMethodgather_rollout_data
Collect and organize trajectory data, handling batch size adjustments to meet parallel training requirements. Parameters:
RLVMR/code/agent_system/multi_turn_rollout/rollout_loop.py:190
↓ 1 callersFunctiongca_judging
Evaluates the quality of Given-Circumstance Acting (GCA) simulation results using multiple metrics. This function loads simulation resul
RolePlay_Villain/codes/main.py:607
↓ 1 callersFunctiongca_simulation
(test_file, actor_model, env_model, nsp_model, retrieval, thinking_pattern, nth_exp=0)
RolePlay_Villain/codes/main.py:404
↓ 1 callersFunctiongenerate
Run simulation for given experiment args
RolePlay_Villain/codes/main.py:824
↓ 1 callersMethodgenerate
(self, messages, **kwargs)
SWF/src/run.py:21
↓ 1 callersFunctiongenerate_function
(name)
RLVER/code/verl/single_controller/ray/base.py:395
↓ 1 callersFunctiongenerate_function
(name)
RLVMR/code/verl/single_controller/ray/base.py:415
↓ 1 callersFunctiongenerate_ground_truth_response
Generate ground truth response given a prompt.
RLVER/code/tests/e2e/envs/digit_completion/task.py:117
↓ 1 callersFunctiongenerate_mturk_code
Generates a redeem code corresponding to the session ID for an MTurk worker once the session is completed
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/utils.py:43
↓ 1 callersFunctiongenerate_ngram_attrs
(corpus_by_cat, ngram_range, k, attrs)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/attributes/generate_attrs.py:112
↓ 1 callersFunctiongenerate_product_prices
(all_products)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/engine/engine.py:180
↓ 1 callersFunctiongenerate_rl_dataset
(target_hdfs_path_dir, local_dir='~/data/full_hh_rlhf/rl')
RLVMR/code/examples/data_preprocess/full_hh_rlhf.py:86
↓ 1 callersFunctiongenerate_rm_dataset
(target_hdfs_path_dir, local_dir='~/data/full_hh_rlh/rm')
RLVMR/code/examples/data_preprocess/full_hh_rlhf.py:58
↓ 1 callersMethodgenerate_role
(self,target,topic=None,seed = random.randint(0,100))
RLVER/code/verl/workers/rollout/vllm_rollout/hard_player_simulator_dsv3.py:72
↓ 1 callersFunctiongenerate_sft_dataset
(target_hdfs_path_dir, local_dir='~/data/full_hh_rlh/sft')
RLVMR/code/examples/data_preprocess/full_hh_rlhf.py:30
↓ 1 callersFunctiongenerate_square_subsequent_mask
(sz)
VISTA/TinyLLaVA-VISTA/tinyllava_visualizer/tinyllava_visualizer.py:62
↓ 1 callersMethodgenerate_stream
(self, params)
VISTA/LLaVA-VISTA/llava/serve/model_worker.py:123
↓ 1 callersMethodgenerate_stream
(self, params)
VISTA/LLaVA-VISTA/llava/serve/sglang_worker.py:132
↓ 1 callersMethodgenerate_stream_gate
(self, params)
VISTA/LLaVA-VISTA/llava/serve/model_worker.py:195
↓ 1 callersMethodgenerate_stream_gate
(self, params)
VISTA/LLaVA-VISTA/llava/serve/sglang_worker.py:172
↓ 1 callersFunctiongenerate_trend_summary
生成趋势分析的文字总结
HATE/basic_hate/evaluation/test_topic_SFR.py:27
↓ 1 callersFunctiongenerate_trend_summary
生成趋势分析的文字总结
HATE/basic_hate/evaluation/test_topic_SFR_new.py:27
↓ 1 callersFunctiongenerate_word_images
(tokenizer, top_words_tensor, num, input_ids, embed_tokens, output_dir)
VISTA/TinyLLaVA-VISTA/tinyllava_visualizer/tinyllava_visualizer.py:68
↓ 1 callersFunctiongenerate_word_images_before
(tokenizer, input_ids, tensor, num, top_words_tensor, output_dir)
VISTA/TinyLLaVA-VISTA/tinyllava_visualizer/tinyllava_visualizer.py:86
↓ 1 callersMethodgetAllObjectIdsTypesReferentsLUTJSON
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:550
↓ 1 callersMethodgetAllObjectTypesLUTJSON
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:544
↓ 1 callersMethodgetGoalProgressStr
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:649
↓ 1 callersMethodgetGoldActionSequence
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:644
↓ 1 callersMethodgetHTML
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/scienceworld-web-server-example.py:48
↓ 1 callersMethodgetMaxVariations
(self, taskName)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:497
↓ 1 callersMethodgetNumMoves
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:573
↓ 1 callersMethodgetObjectTree
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:292
↓ 1 callersMethodgetPossibleActions
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:503
↓ 1 callersMethodgetPossibleActionsWithIDs
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:509
↓ 1 callersMethodgetPossibleObjects
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:515
↓ 1 callersMethodgetPossibleSimplifications
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:485
↓ 1 callersMethodgetRandomVariationDev
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:634
↓ 1 callersMethodgetRandomVariationTest
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:639
↓ 1 callersMethodgetRandomVariationTrain
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:629
↓ 1 callersMethodgetRunHistorySize
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:698
← previousnext →2,001–2,100 of 5,073, ranked by callers