MCPcopy Create free account

hub / github.com/AFAC2024/AFAC2025 / functions

Functions3,355 in github.com/AFAC2024/AFAC2025

↓ 1 callersFunctionprocess_image
(image: dict, max_pixels: int = 2048 * 2048, min_pixels: int = 512 * 512)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/dataset/rl_dataset.py:51
↓ 1 callersFunctionprocess_json_file
(input_file, output_file)
方案分享/赛题三/ljq13317046284/代码/ds2cot.py:77
↓ 1 callersFunctionprocess_json_file
处理JSON文件,为每个条目添加模型生成的output,并显示进度条 参数: input_file: 输入的JSON文件路径 output_file: 输出的JSON文件路径
方案分享/赛题三/ljq13317046284/代码/数据集与预处理/FINBenchmark/ds2cot.py:39
↓ 1 callersFunctionprocess_json_file
(input_file, output_file)
方案分享/赛题三/ljq13317046284/代码/数据集与预处理/fineval/val/ds2cot.py:137
↓ 1 callersFunctionprocess_json_file
(input_file, output_file)
方案分享/赛题三/ljq13317046284/代码/数据集与预处理/FinanceIQ/dev/ds2cot.py:137
↓ 1 callersFunctionprocess_json_file
(input_file, output_file)
方案分享/赛题三/ljq13317046284/代码/数据集与预处理/FinanceIQ/test/ds2cot.py:137
↓ 1 callersFunctionprocess_single_material_dir
(material_dir: str)
方案分享/赛题二/蛋木/code/file_chunk_processor.py:169
↓ 1 callersFunctionprocess_stock_list_data
处理股票列表资金流向数据 参数: stock_list: API返回的原始股票列表数据 total_count: 总记录数 返回: dict: 处理后的资金流向数据
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/tool/financial_deep_search/stock_capital.py:144
↓ 1 callersMethodquery_batch
(self, sample_list)
方案分享/赛题三/ljq13317046284/代码/TALE-main/llm_models/__init__.py:171
↓ 1 callersMethodre_encode_by_rm_tokenizer
(self, data: DataProto)
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/reward_model/megatron/reward_model.py:53
↓ 1 callersFunctionread_cloud_json
r"""Read a JSON/JSONL file from cloud storage (S3 or GCS). Args: cloud_path: str Cloud path in the format: - 's3:
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/data_utils.py:170
↓ 1 callersMethodrecord_vote
Record agent vote
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/environment/battle.py:65
↓ 1 callersFunctionregister_autoclass
(config: "PretrainedConfig", model: "PreTrainedModel", tokenizer: "PreTrainedTokenizer")
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/model/model_utils/misc.py:80
↓ 1 callersMethodregister_tool
Register a tool with parameter validation and documentation.
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/mcp/server.py:44
↓ 1 callersFunctionreliability_guard
This disables various destructive functions and prevents the generated code from interfering with the test (e.g. fork bomb, killing other pro
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/prime_code/testing_util.py:644
↓ 1 callersFunctionreliability_guard
This disables various destructive functions and prevents the generated code from interfering with the test (e.g. fork bomb, killing other pro
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/evaluation/utils_execute.py:189
↓ 1 callersFunctionreliability_guard
This disables various destructive functions and prevents the generated code from interfering with the test (e.g. fork bomb, killing other pro
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/evaluation/testing_util.py:473
↓ 1 callersFunctionreliability_guard
This disables various destructive functions and prevents the generated code from interfering with the test (e.g. fork bomb, killing other pro
方案分享/赛题三/双人成行/code/RL/code_eval/MBPP_Humaneval/eval/utils/execution.py:160
↓ 1 callersFunctionremove_boxed
(s)
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/reward_manager/naive.py:339
↓ 1 callersFunctionremove_boxed
(s)
方案分享/赛题三/双人成行/code/RL/deepscaler/rewards/math_utils/utils.py:414
↓ 1 callersMethodremove_cache
删除缓存
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/tool/create_html.py:122
↓ 1 callersFunctionremove_right_units
(string)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/math.py:140
↓ 1 callersFunctionremove_right_units
(string)
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/reward_manager/naive.py:430
↓ 1 callersFunctionres
(text)
方案分享/赛题三/ljq13317046284/代码/self-instruct.py:8
↓ 1 callersMethodreset
重置智能体状态
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/data_analysis/data_analysis_agent.py:454
↓ 1 callersMethodreset_environment
重置执行环境
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/data_analysis/utils/code_executor.py:248
↓ 1 callersFunctionresize_embedding_layer
r"""Resize token embeddings.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/model/model_utils/embedding.py:40
↓ 1 callersFunctionresres
(query, temperature)
方案分享/赛题三/ljq13317046284/代码/dpsk.py:34
↓ 1 callersFunctionresres
(query: str, temperature: float = 0.0)
方案分享/赛题三/ljq13317046284/代码/infer.py:50
↓ 1 callersFunctionresres
(text,temperature)
方案分享/赛题三/ljq13317046284/代码/latent_cot.py:6
↓ 1 callersFunctionresres
(text,temperature)
方案分享/赛题三/ljq13317046284/代码/数据集与预处理/FINBenchmark/ds2cot.py:5
↓ 1 callersFunctionrestore_layernorm
r"""Restore the layernorm parameters in the model. The model is already unwrapped (and gathered).
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/ppo/ppo_utils.py:76
↓ 1 callersMethodresume_dataset_state
(self)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/dataset/rl_dataset.py:144
↓ 1 callersMethodrun
(self, folder_path: str, rules_file_path: str, reviewer_agent: ConflictReviewerAgent)
方案分享/赛题二/蛋木/code/conflict_detection_agent.py:125
↓ 1 callersFunctionrun_agent
()
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/agent/report.py:31
↓ 1 callersFunctionrun_cleanup_daemon
运行清理守护进程
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/utils/cleanup_reports.py:146
↓ 1 callersFunctionrun_dpo
( model_args: "ModelArguments", data_args: "DataArguments", training_args: "Seq2SeqTrainingArgumen
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/dpo/workflow.py:36
↓ 1 callersFunctionrun_generation
(config)
方案分享/赛题三/双人成行/code/RL/verl/verl/trainer/main_generation.py:44
↓ 1 callersFunctionrun_kto
( model_args: "ModelArguments", data_args: "DataArguments", training_args: "Seq2SeqTrainingArgumen
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/kto/workflow.py:35
↓ 1 callersMethodrun_main
(self, benchmark: list, format_prompt: callable)
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/runner/base_runner.py:173
↓ 1 callersMethodrun_main_repair
(self, benchmark: list, format_prompt: callable)
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/runner/base_runner.py:123
↓ 1 callersFunctionrun_ppo
(config)
方案分享/赛题三/双人成行/code/RL/verl/verl/trainer/main_ppo.py:57
↓ 1 callersFunctionrun_ppo
( model_args: "ModelArguments", data_args: "DataArguments", training_args: "Seq2SeqTrainingArgumen
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/ppo/workflow.py:34
↓ 1 callersFunctionrun_prime
(config, compute_score=None)
方案分享/赛题三/双人成行/code/RL/verl/recipe/prime/main_prime.py:42
↓ 1 callersFunctionrun_pt
( model_args: "ModelArguments", data_args: "DataArguments", training_args: "Seq2SeqTrainingArgumen
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/pt/workflow.py:36
↓ 1 callersFunctionrun_rm
( model_args: "ModelArguments", data_args: "DataArguments", training_args: "Seq2SeqTrainingArgumen
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/rm/workflow.py:35
↓ 1 callersFunctionrun_sft
( model_args: "ModelArguments", data_args: "DataArguments", training_args: "Seq2SeqTrainingArgumen
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/sft/workflow.py:40
↓ 1 callersMethodrun_single
Run the model for a single prompt and return the output Static method to be used in multiprocessing Calls the _run_single met
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/runner/base_runner.py:40
↓ 1 callersFunctionrun_tasks_in_parallel
Args: func: The function to run. The function must accept a single argument. tasks: A list of tasks i.e. arguments to func.
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/utils/multiprocess.py:193
↓ 1 callersFunctionrun_tasks_in_parallel_iter
Args: func: The function to run. The function must accept a single argument. tasks: A list of tasks i.e. arguments to func.
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/utils/multiprocess.py:98
↓ 1 callersFunctionrun_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.
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/prime_code/testing_util.py:108
↓ 1 callersFunctionrun_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.
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/evaluation/testing_util.py:392
↓ 1 callersFunctionrun_tool
()
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/tool/hot_money.py:194
↓ 1 callersMethodrun_training
执行DPO训练
方案分享/赛题三/丛雨酱/全部代码/run_dpo_training.py:80
↓ 1 callersFunctionsave_analysis_results
Save analysis results to files.
方案分享/赛题三/ljq13317046284/代码/TALE-main/check_afac_direct.py:190
↓ 1 callersMethodsave_cache
(self)
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/runner/base_runner.py:30
↓ 1 callersMethodsave_checkpoint
(self, local_path: str, hdfs_path: str = None, global_step: int = 0, remove_previous_ckpt=False)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/checkpoint/fsdp_checkpoint_manager.py:113
↓ 1 callersMethodsave_checkpoint
(self, checkpoint_path, hdfs_path=None, global_steps=0, remove_previous_ckpt=False)
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/megatron_workers.py:663
↓ 1 callersFunctionsave_cmd
r"""Save CLI commands to launch training.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/common.py:202
↓ 1 callersFunctionsave_compressed_dataset
保存压缩后的数据集
方案分享/赛题三/ljq13317046284/代码/TokenSkip-main/TokenSkip-main/compress_afac_cot.py:21
↓ 1 callersFunctionsave_config
(input_dir: str, output_dir: str)
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/scripts/convert_ckpt/llamafy_baichuan2.py:76
↓ 1 callersFunctionsave_config
(input_dir: str, output_dir: str, torch_dtype: str)
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/scripts/convert_ckpt/llamafy_qwen.py:113
↓ 1 callersMethodsave_debate_report
保存辩论对话JSON
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/utils/report_manager.py:62
↓ 1 callersMethodsave_predictions
r"""Save model predictions to `output_dir`. A custom behavior that not contained in Seq2SeqTrainer.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/rm/trainer.py:112
↓ 1 callersMethodsave_predictions
r"""Save model predictions to `output_dir`. A custom behavior that not contained in Seq2SeqTrainer.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/sft/trainer.py:132
↓ 1 callersMethodsave_results
保存模型推理结果到CSV文件。 参数: results: 结果列表,每个元素为(id, sample_id, output)的元组 output_path: 输出文件路径
方案分享/赛题三/双人成行/code/Inference/data_loader.py:116
↓ 1 callersFunctionsave_tables_to_html
将表格HTML保存到文件 Args: tables_html (List[str]): HTML表格列表 filename (str): 保存的文件名
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/data_analysis/utils/get_shareholder_info.py:105
↓ 1 callersMethodsave_vote_report
保存投票结果JSON
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/utils/report_manager.py:68
↓ 1 callersFunctionsave_weight
(input_dir: str, output_dir: str, shard_size: str, save_safetensors: bool)
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/scripts/convert_ckpt/llamafy_baichuan2.py:31
↓ 1 callersFunctionsave_weight
(input_dir: str, output_dir: str, shard_size: str, save_safetensors: bool)
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/scripts/convert_ckpt/llamafy_qwen.py:39
↓ 1 callersFunctionsb_compute_score
return the reward score based on sb func; optimal length is the shortest length among all correct completions
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/sb_compute_score.py:3
↓ 1 callersFunctionschedule_cleanup
安排定期清理
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/utils/cleanup_reports.py:140
↓ 1 callersFunctionsearch
(key='', start=None, end=None)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/zhengce_rmzf.py:81
↓ 1 callersFunctionsearch
(key)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/report_sz.py:31
↓ 1 callersFunctionsearch
(key)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/report_hk.py:31
↓ 1 callersFunctionsearch
(key='', start=None, end=None)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/zhengce_gwy.py:57
↓ 1 callersFunctionsearch_block
(key_words)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/stock_bd.py:222
↓ 1 callersFunctionsearch_budget
Search for optimal token budget that maintains prediction accuracy while minimizing tokens. Args: instance: Dictionary containin
方案分享/赛题三/ljq13317046284/代码/TALE-main/search_budget.py:38
↓ 1 callersFunctionsearch_budget
Search for optimal token budget while tracking budget and token usage progression. Args: instance: Dictionary containing que
方案分享/赛题三/ljq13317046284/代码/TALE-main/token_elasticity.py:22
↓ 1 callersFunctionsearch_for_fit
r"""Find the index of largest number that fits into the knapsack with the given capacity.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/processor/processor_utils.py:48
↓ 1 callersFunctionsearch_news
搜索新闻 参数: key: 关键字 end_date: 截止时间
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/news.py:170
↓ 1 callersFunctionseed_everything
(seed: int)
方案分享/赛题三/ljq13317046284/代码/TokenSkip-main/TokenSkip-main/get_llamafactory_input.py:18
↓ 1 callersFunctionselect_reward_fn
(data_source)
方案分享/赛题三/双人成行/code/RL/verl/verl/trainer/main_eval.py:27
↓ 1 callersFunctionset_basic_config
This function sets the global logging format and level. It will be called when import verl
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/logging_utils.py:20
↓ 1 callersMethodset_cached_data
设置缓存数据
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/tool/create_html.py:102
↓ 1 callersMethodset_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
方案分享/赛题三/双人成行/code/RL/verl/verl/models/llama/megatron/modeling_llama_megatron.py:463
↓ 1 callersFunctionset_pad_token_id
Set pad_token_id to eos_token_id if it is None. Args: tokenizer (transformers.PreTrainedTokenizer): The tokenizer to be set.
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/tokenizer.py:20
↓ 1 callersFunctionset_random_seed
(seed)
方案分享/赛题三/ljq13317046284/代码/TokenSkip-main/TokenSkip-main/evaluation.py:20
↓ 1 callersMethodset_variable
设置执行环境中的变量
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/data_analysis/utils/code_executor.py:256
↓ 1 callersMethodsetup_embeddings_and_output_layer
Sets up embedding layer in first stage and output layer in last stage. This function initalizes word embeddings in the final stage when we ar
方案分享/赛题三/双人成行/code/RL/verl/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:564
↓ 1 callersFunctionsetup_logging
(log_dir: str)
方案分享/赛题二/蛋木/code/conflict_detection_agent.py:208
↓ 1 callersFunctionshould_allow_eval
(expr: str)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/prime_math/__init__.py:223
↓ 1 callersFunctionshould_allow_eval
(expr: str)
方案分享/赛题三/双人成行/code/RL/deepscaler/rewards/math_utils/utils.py:338
↓ 1 callersMethodshow_agent_analysis_result
Display individual agent analysis results
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/console.py:374
↓ 1 callersMethodshow_agent_completed
Display when agent completes analysis
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/console.py:307
↓ 1 callersMethodshow_agent_starting
Display which agent is starting analysis
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/console.py:291
↓ 1 callersMethodshow_agent_thought
Display agent's thinking process
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/console.py:129
↓ 1 callersMethodshow_debate_summary
Display debate summary with voting results
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/console.py:232
↓ 1 callersMethodshow_logo
Display the FinGenius ASCII logo
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/console.py:46
↓ 1 callersFunctionshow_storage_stats
显示存储统计信息
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/utils/cleanup_reports.py:59
← previousnext →1,801–1,900 of 3,355, ranked by callers