Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AFAC2024/AFAC2025
/ functions
Functions
3,355 in github.com/AFAC2024/AFAC2025
⨍
Functions
3,355
◇
Types & classes
530
↳
Endpoints
53
Method
process_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:794
Method
process_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:830
Method
process_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:870
Method
process_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:995
Method
process_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:1157
Method
process_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:1212
Method
process_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:1277
Method
process_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:1346
Method
process_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:1487
Method
process_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:1569
Method
process_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:1711
Method
process_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:1822
Function
process_one_shard
(rank)
方案分享/赛题三/双人成行/code/RL/verl/scripts/model_merger.py:85
Function
process_row
处理单条数据记录的核心函数 参数: row: 包含material_id和rule信息的数据行
方案分享/赛题二/clife/code/main.py:31
Method
process_token_ids
( self, input_ids: list[int], labels: Optional[list[int]], images: list["Image
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:1235
Function
profitability_line
(x_data, line1_data=None, line2_data=None, line3_data=None)
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/functions.py:68
Method
prompt_length
(self)
方案分享/赛题三/双人成行/code/RL/verl/tests/e2e/envs/digit_completion/task.py:69
Function
put_data
(index, data)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/ray_utils.py:25
Function
quantize_loftq
r"""Initialize LoRA weights with LoRA-fine-tuning-aware Quantization (LoftQ). Usage: python loftq_init.py --model_name_or_path path_to_model --ou
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/scripts/loftq_init.py:30
Function
quantize_pissa
r"""Initialize LoRA weights with Principal Singular values and Singular vectors Adaptation (PiSSA). Usage: python pissa_init.py --model_name_or_p
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/scripts/pissa_init.py:30
Function
qwen2_attn_forward
Adapted from transformers 4.49.0 to support Ulysses sequence parallelism for transformers >= 4.48.0. NOTE: This function has been tested onl
方案分享/赛题三/双人成行/code/RL/verl/verl/models/transformers/qwen2.py:148
Function
qwen2_flash_attn_forward
Adapted from transformers 4.47.1 to support Ulysses sequence parallelism. NOTE: This function is only tested on transformers versions betwee
方案分享/赛题三/双人成行/code/RL/verl/verl/models/transformers/qwen2.py:29
Function
rank
获取指定基金代码所代表的基金在同类排名百分比数据,并返回 JSON 格式结果。 :param fund_code (str): 需要查询的基金代码。 :param start_date (str): 开始时间,格式为 YYYY-MM-DD。 :param e
方案分享/赛题一/allin/代码文件/Data_Acquire/MCP/server.py:76
Method
read
(self, *args, **kwargs)
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/evaluation/utils_execute.py:156
Method
readable
Returns True if the IO object can be read.
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/evaluation/utils_execute.py:165
Method
readable
Returns True if the IO object can be read.
方案分享/赛题三/双人成行/code/RL/code_eval/MBPP_Humaneval/eval/utils/execution.py:136
Method
readline
(self, *args, **kwargs)
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/evaluation/utils_execute.py:159
Method
readline
(self, *args, **kwargs)
方案分享/赛题三/双人成行/code/RL/code_eval/MBPP_Humaneval/eval/utils/execution.py:130
Method
readlines
(self, *args, **kwargs)
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/evaluation/utils_execute.py:162
Function
register
(dispatch_mode=Dispatch.ALL_TO_ALL, execute_mode=Execute.ALL, blocking=True, materialize_futures=True)
方案分享/赛题三/双人成行/code/RL/verl/verl/single_controller/base/decorator.py:394
Method
register_agent
Register an agent with battle tools and instructions
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/environment/battle.py:107
Function
register_dataset_converter
r"""Register a new dataset converter.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/converter.py:236
Function
register_empty_parameter
(module, name, param)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/fsdp_utils.py:188
Function
register_mm_plugin
r"""Register a multimodal plugin.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/mm_plugin.py:1894
Function
remote_call_wg
(worker_names)
方案分享/赛题三/双人成行/code/RL/verl/tests/ray/test_worker_group_basics.py:69
Function
remove_boxed
(s)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/prime_math/__init__.py:323
Function
remove_handler
r"""Remove a handler to the root logger.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/extras/logging.py:135
Function
remove_pad_token
Remove the pad token. Args: input_ids shape: [bs, seq_length] attention_mask shape: [bs, seq_length] Returns: no_pad
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/torch_functional.py:302
Method
reset_execution_state
Reset the agent's execution state to prepare for a new run. Resets the current step counter to zero and returns the agent to IDLE state.
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/agent/base.py:196
Method
response_length
(self)
方案分享/赛题三/双人成行/code/RL/verl/tests/e2e/envs/digit_completion/task.py:73
Method
resume
r"""Get the initial value of gradio components and restores training status if necessary.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/engine.py:49
Method
root_path
Get the root path of the application
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/tools/config.py:323
Method
root_path
Get the root path of the application
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/config.py:323
Function
run
(idx)
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/evaluation/old_results_check.py:26
Method
run
Run the environment. Override in subclasses.
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/environment/base.py:48
Method
run
Run research on the given stock code using all specialist agents.
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/environment/research.py:59
Method
run
Run big deal analysis
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/agent/big_deal_analysis.py:31
Method
run
Run institutional trading analysis on the given stock. Args: request: Optional initial request to process. If provided, overrides
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/agent/hot_money.py:33
Method
run
运行筹码分析,分析指定股票的筹码分布和技术指标 Args: request: Optional initial request to process. If provided, overrides stock_code parameter.
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/agent/chip_analysis.py:33
Method
run
Run the agent with cleanup when done.
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/agent/toolcall.py:270
Method
run
Run risk analysis on the given stock. Args: request: Optional initial request to process. If provided, overrides stock_code param
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/agent/risk_control.py:30
Method
run
Run technical analysis on the given stock using technical indicators. Args: request: Optional initial request to process. If prov
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/agent/technical_analysis.py:33
Method
run
Run sentiment analysis on the given stock. Args: request: Optional initial request to process. If provided, overrides stock_code
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/agent/sentiment.py:36
Method
run
执行相关性检查。 Args: conflict_reason (str): Agent3确认的事实性矛盾理由。 rule_text (str): 当前审查的规则核心概念。 Returns:
方案分享/赛题二/蛋木/code/relevance_checker_agent.py:68
Method
run
执行两阶段审查任务。
方案分享/赛题二/蛋木/code/conflict_reviewer_agent.py:79
Function
run_api
()
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/api/app.py:127
Method
run_batch
(self, prompts: list[str])
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/runner/vllm_runner.py:40
Function
run_chat
()
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/chat/chat_model.py:147
Function
run_eval
()
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/eval/evaluator.py:157
Method
run_eval
(self, data)
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/runner.py:401
Function
run_execute
(executor, result, prompt_type, execute=False)
方案分享/赛题三/ljq13317046284/代码/TokenSkip-main/TokenSkip-main/eval/eval_utils.py:99
Function
run_func_in_process
Runs the provided function in a separate process with the supplied args and kwargs. The args, kwargs, and return values must all be pickl
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/utils/multiprocess.py:33
Function
run_resres
(question, temp, prompt, result_queue)
方案分享/赛题三/ljq13317046284/代码/infer.py:78
Method
run_task
()
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/data_analysis/utils/llm_helper.py:70
Method
run_train
(self, data)
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/runner.py:398
Function
run_web_demo
()
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/interface.py:100
Function
run_web_ui
()
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/interface.py:91
Method
sample_batch_str_prompts
(self, batch_size)
方案分享/赛题三/双人成行/code/RL/verl/tests/e2e/envs/digit_completion/task.py:100
Method
save_args
r"""Save the training configuration to config path.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/runner.py:462
Method
save_checkpoint
(self, local_path: str, hdfs_path: str = None,
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/checkpoint/checkpoint_manager.py:62
Method
save_checkpoint
(self, local_path: str, hdfs_path: str = None, global_step: int = 0, remove_previous_ckpt=False)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/checkpoint/megatron_checkpoint_manager.py:213
Method
save_checkpoint
(self, checkpoint_path, hdfs_path=None, global_step=0, remove_previous_ckpt=False)
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/megatron_workers.py:468
Method
save_checkpoint
(self, local_path, hdfs_path=None, global_step=0, remove_previous_ckpt=False)
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/fsdp_workers.py:584
Function
save_config
r"""Save user config.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/common.py:83
Function
save_debate_report
保存辩论对话的便捷函数
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/utils/report_manager.py:291
Function
save_full_model
Load the saved thinker module and the original model, replace the thinker in the original model. Then save the complete model along with its toke
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/scripts/qwen_omni_merge.py:94
Function
save_html_report
保存HTML报告的便捷函数
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/utils/report_manager.py:285
Function
save_model
( lang: str, model_name: str, model_path: str, finetuning_type: str, checkpoint_path: Unio
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/components/export.py:47
Function
save_to_hdfs
(data: io.BytesIO, name, hdfs_dir, verbose)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/debug/trajectory_tracker.py:33
Function
save_vote_report
保存投票结果的便捷函数
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/utils/report_manager.py:297
Method
sb_compute_score
return the reward score based on sb func; optimal length is the shortest length among all correct completions
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/reward_manager/naive.py:205
Function
scheduler_hook
(param: "torch.nn.Parameter")
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/trainer_utils.py:580
Function
score_completions
Each scoring example is a dict, which contains the following keys: - prompt: the prompt to score - completions: a list of completions to
方案分享/赛题三/ljq13317046284/代码/TokenSkip-main/TokenSkip-main/eval/utils.py:147
Method
search_config
(self)
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/tools/config.py:304
Method
search_config
(self)
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/config.py:304
Function
search_data
基于行业、企业等信息,采集关键字对应的信息
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/tools/store.py:265
Function
search_data_word
基于关键字列表, 在外部采集相关信息
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/tools/store.py:239
Function
search_docs
(keywords, topic, data_date=None, target='个股')
方案分享/赛题四/队伍名字不能为空/docker_image/app/agent/agent_data.py:220
Function
search_news
搜索中国新闻网,获取关键字对应的最新的新闻列表,如果为空则获取全部最新新闻 参数: words: 搜索的关键字,可以是企业名称、行业、产业、产品名称、设备、材料名称 start_date: 开始日期(格式yyyy-mm-dd, 非必须) end_date: 结束日
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/server_news.py:17
Function
search_policy
搜索国务院政策公开网站,获取关键字对应的最新的政策文件与国务院公告列表,如果为空则获取全部最新政策 参数: words: 搜索的关键字,可以是企业名称、行业、产业、产品名称、设备、材料名称
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/server_policy.py:17
Function
search_query
(query)
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/tools/search_api.py:6
Function
search_stock_info
根据企业名称,搜索股票的基本信息,如:股票代码、所在交易所等 参数: comp_name: 搜索的企业名称
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/server_stock.py:18
Function
sentiment_reward
(prompts, completions, polarity, **kwargs)
方案分享/赛题一/allin/代码文件/LLM_Train/rewards.py:17
Method
series_to_item
(ls)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/dataset/sft_dataset.py:75
Method
set_abort
(self)
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/runner.py:69
Method
set_additional_resource
(self, additional_resource)
方案分享/赛题三/双人成行/code/RL/verl/verl/single_controller/ray/base.py:156
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
方案分享/赛题三/双人成行/code/RL/verl/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:539
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
方案分享/赛题三/双人成行/code/RL/verl/verl/models/llama/megatron/modeling_llama_megatron.py:543
Method
setup
(self, args: "TrainingArguments", state: "TrainerState", model: "PreTrainedModel", **kwargs)
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/trainer_utils.py:671
Method
show_analysis_result
Display comprehensive analysis results
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/console.py:155
← previous
next →
3,001–3,100 of 3,355, ranked by callers