MCPcopy Create free account

hub / github.com/AFAC2024/AFAC2025 / functions

Functions3,355 in github.com/AFAC2024/AFAC2025

↓ 1 callersFunctionget_parser
()
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/evaluation/compute_scores.py:15
↓ 1 callersMethodget_partitions
(self)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/seqlen_balancing.py:63
↓ 1 callersFunctionget_pdf
(url=None, save_path=None, filename=None, stock=None)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/report_sh.py:154
↓ 1 callersFunctionget_pdf
(url=None, save_path=None, filename=None, stock=None)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/report_sz.py:172
↓ 1 callersFunctionget_pdf
(url=None, save_path=None, filename=None, stock=None)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/report_hk.py:185
↓ 1 callersFunctionget_pdf_token
(url)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/report_sh.py:129
↓ 1 callersFunctionget_peak_memory
r"""Get the peak memory usage (allocated, reserved) for the current device (in Bytes).
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/extras/misc.py:195
↓ 1 callersFunctionget_phind_question_template_answer
( question: TestOutputPredictionProblem, testcase_input: str )
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/prompts/test_output_prediction.py:128
↓ 1 callersFunctionget_phind_question_template_answer
(question: str, code, result, metadata)
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/prompts/self_repair.py:133
↓ 1 callersFunctionget_predefined_dispatch_fn
(dispatch_mode)
方案分享/赛题三/双人成行/code/RL/verl/verl/single_controller/base/decorator.py:300
↓ 1 callersFunctionget_predefined_execute_fn
Note that here we only asks execute_all and execute_rank_zero to be implemented Leave the choice of how these two functions handle argument '
方案分享/赛题三/双人成行/code/RL/verl/verl/single_controller/base/decorator.py:350
↓ 1 callersMethodget_predict_result
得到未来7天的预测result.csv文件 参数: model_path (str): 模型路径 data_path (str): 数据路径
方案分享/赛题一/allin/代码文件/forecast_main.py:203
↓ 1 callersFunctionget_project_root
Get the project root directory
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/tools/config.py:16
↓ 1 callersFunctionget_project_root
Get the project root directory
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/config.py:16
↓ 1 callersMethodget_projector
(self, module: "torch.nn.Module")
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/model/model_utils/visual.py:48
↓ 1 callersMethodget_public_dates
获取基金持仓公开日期列表,是获取持仓信息的先决要求 参数: fund_code (str): 基金代码 返回: list: 持仓公开日期列表
方案分享/赛题一/allin/代码文件/Data_Acquire/fund_position.py:19
↓ 1 callersFunctionget_qwen_question_template_answer
(question: TestOutputPredictionProblem, testcase_input: str)
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/prompts/test_output_prediction.py:135
↓ 1 callersFunctionget_qwen_question_template_answer
(question: str, code, result, metadata)
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/prompts/self_repair.py:143
↓ 1 callersFunctionget_random_string
(length: int)
方案分享/赛题三/双人成行/code/RL/verl/verl/single_controller/ray/base.py:29
↓ 1 callersFunctionget_ray_args
(args: Optional[Union[dict[str, Any], list[str]]] = None)
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/hparams/parser.py:202
↓ 1 callersFunctionget_ray_trainer
( training_function: Callable, train_loop_config: dict[str, Any], ray_args: "RayArguments", )
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/trainer_utils.py:699
↓ 1 callersFunctionget_report
获取上交所企业报告,code:股票号码;start:开始日期(默认365天前);end:结束日期(默认今天);type:报告类型,年报/业绩预测;title:报告标题
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/report_hk.py:116
↓ 1 callersFunctionget_requires
()
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/setup.py:29
↓ 1 callersFunctionget_res
(text)
方案分享/赛题二/ths/submit_code/run_rag_ans_a.py:42
↓ 1 callersFunctionget_res
(text)
方案分享/赛题二/ths/submit_code/run_rag_ans_b.py:42
↓ 1 callersMethodget_rewards
r"""Compute scores using given reward model. Both inputs and outputs are put on CPU.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/ppo/trainer.py:376
↓ 1 callersFunctionget_rewards_from_server
r"""Get reward scores from the API server.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/ppo/ppo_utils.py:34
↓ 1 callersFunctionget_rm_data
()
方案分享/赛题三/双人成行/code/RL/verl/tests/verl/utils/dataset/test_rm_dataset.py:21
↓ 1 callersMethodget_rng_state
collect rng state across data parallel ranks
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/checkpoint/megatron_checkpoint_manager.py:91
↓ 1 callersFunctionget_roe_analysis_report
生成企业的ROE分析报告
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/financial_analysis.py:48
↓ 1 callersFunctionget_rope_index
Gets the position ids for Qwen2-VL, it should be generated before sharding the sequence. The batch dim has been removed and the input_ids sho
方案分享/赛题三/双人成行/code/RL/verl/verl/models/transformers/qwen2_vl.py:32
↓ 1 callersMethodget_rule_text_by_id
根据指定的 rule_id 从 .jsonl 文件中查找规则, 然后解析其核心概念,并返回精简后的文本。
方案分享/赛题二/蛋木/code/rule_extractor.py:32
↓ 1 callersFunctionget_section_content
(section, standinfo, data_date, doc_idx=1)
方案分享/赛题四/队伍名字不能为空/docker_image/app/agent/agent_industry.py:122
↓ 1 callersFunctionget_section_content
(section, standinfo, data_date, doc_idx=1)
方案分享/赛题四/队伍名字不能为空/docker_image/app/agent/agent_macro.py:122
↓ 1 callersFunctionget_section_content
(section, compinfo, data_date, doc_idx=1)
方案分享/赛题四/队伍名字不能为空/docker_image/app/agent/agent_stock.py:120
↓ 1 callersFunctionget_section_docs
(topic, target="个股", start_idx=1)
方案分享/赛题四/队伍名字不能为空/docker_image/app/agent/agent_data.py:180
↓ 1 callersFunctionget_section_keywords
(topic, target="个股")
方案分享/赛题四/队伍名字不能为空/docker_image/app/agent/agent_data.py:61
↓ 1 callersFunctionget_sentiment
获取基金新闻的情感分析结果 参数: cot (bool): 是否启用Chain-of-Thought思维链推理,默认为True
方案分享/赛题一/allin/代码文件/Data_Acquire/sentiment.py:46
↓ 1 callersFunctionget_sh
(url)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/report_sh.py:33
↓ 1 callersFunctionget_shareholder_info
获取股票的股东信息 Args: stock_code (str): 股票代码,默认为"HK0020" verbose (bool): 是否打印详细信息,默认为True Returns: Dict: 包含股东
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/data_analysis/utils/get_shareholder_info.py:6
↓ 1 callersFunctionget_sotck_info
(question: str)
方案分享/赛题四/队伍名字不能为空/docker_image/app/agent/agent_stock.py:85
↓ 1 callersFunctionget_stock
(code)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/report_sz.py:50
↓ 1 callersFunctionget_stock_holder
(stock_code: str, market='sh')
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/stock_bd.py:558
↓ 1 callersFunctionget_subfolder_from_path
从相对路径中提取出定义的子文件夹名称
方案分享/赛题二/蛋木/code/file_chunk_processor.py:33
↓ 1 callersMethodget_supported_archs
()
方案分享/赛题三/双人成行/code/RL/verl/verl/models/registry.py:52
↓ 1 callersFunctionget_swanlab_callback
r"""Get the callback for logging to SwanLab.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/train/trainer_utils.py:653
↓ 1 callersFunctionget_sz
(body)
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/report_sz.py:57
↓ 1 callersFunctionget_table_content
(tables_html: List[str])
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/data_analysis/utils/get_shareholder_info.py:70
↓ 1 callersFunctionget_target_info
(question: str)
方案分享/赛题四/队伍名字不能为空/docker_image/app/agent/agent_macro.py:84
↓ 1 callersFunctionget_template
r"""Get the template name if the model is a chat/distill/instruct model.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/common.py:125
↓ 1 callersFunctionget_time
r"""Get current date and time.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/common.py:130
↓ 1 callersFunctionget_toc_info_llm
(pdf_path)
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/agent_api/utils.py:49
↓ 1 callersFunctionget_trainer_info
r"""Get training infomation for monitor. If do_train is True: Inputs: top.lang, train.output_path Outputs: train.output_box, trai
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/webui/control.py:107
↓ 1 callersFunctionget_ulysses_sequence_parallel_rank
Get ulysses sequence parallel rank.
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/ulysses.py:53
↓ 1 callersFunctionget_unpad_data
r"""Prepare the indices and seqlens for flash attn varlen function. Returns: indices: indices of non-masked tokens from the flattened seq
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/model/model_utils/packing.py:81
↓ 1 callersFunctionget_unsloth_gradient_checkpointing_func
()
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/model/model_utils/checkpointing.py:41
↓ 1 callersFunctionget_unsloth_peft_model
r"""Get the peft model for the pretrained model with unsloth. Used in training.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/model/model_utils/unsloth.py:68
↓ 1 callersFunctionget_version
()
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/setup.py:21
↓ 1 callersFunctionget_weight_saver
(arch: str)
方案分享/赛题三/双人成行/code/RL/verl/verl/models/weight_loader_registry.py:30
↓ 1 callersFunctionget_wizard_question_template_answer
( question: TestOutputPredictionProblem, testcase_input: str )
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/prompts/test_output_prediction.py:119
↓ 1 callersFunctiongrade_call_based
( code: str, all_inputs: list, all_outputs: list, fn_name: str, timeout: int )
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/evaluation/testing_util.py:193
↓ 1 callersFunctiongrade_stdio
( code: str, all_inputs: list, all_outputs: list, timeout: int, )
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/evaluation/testing_util.py:274
↓ 1 callersFunctiongreedy_knapsack
r"""Implement efficient greedy algorithm with binary search for the knapsack problem.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/data/processor/processor_utils.py:54
↓ 1 callersFunctionhandle_base
(x)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/prime_math/grader.py:138
↓ 1 callersFunctionhandle_base
(x)
方案分享/赛题三/双人成行/code/RL/code_eval/MBPP_Humaneval/eval/utils/grader.py:128
↓ 1 callersFunctionhandle_pi
(string, pi)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/prime_math/grader.py:147
↓ 1 callersFunctionhandle_pi
(string, pi)
方案分享/赛题三/双人成行/code/RL/code_eval/MBPP_Humaneval/eval/utils/grader.py:137
↓ 1 callersMethodhandle_speak
Handle agent speech during debate.
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/environment/battle.py:157
↓ 1 callersMethodhandle_stuck_state
Handle stuck state by adding a prompt to change strategy
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/agent/base.py:161
↓ 1 callersMethodhandle_vote
Handle agent voting.
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/environment/battle.py:169
↓ 1 callersFunctionhas_tokenized_data
r"""Check if the path has a tokenized dataset.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/extras/misc.py:209
↓ 1 callersFunctionhydra_entry
(cfg: DictConfig)
方案分享/赛题三/双人成行/code/RL/verl/tests/sft/test_sp_loss_match.py:125
↓ 1 callersFunctionidx_search
根据指数名称搜索指数信息 参数: key: 搜索的关键字 full_match: 是否完全匹配,默认:True
方案分享/赛题四/队伍名字不能为空/docker_image/app/mcps/spider/index_hs.py:93
↓ 1 callersFunctioninfer
(args, test_data, answer_extraction_fn)
方案分享/赛题三/ljq13317046284/代码/TokenSkip-main/TokenSkip-main/evaluation.py:42
↓ 1 callersFunctioninfer_batch
(qs)
方案分享/赛题二/ths/submit_code/run_classify_v3_b.py:32
↓ 1 callersFunctioninfer_batch
(qs)
方案分享/赛题二/ths/submit_code/run_rag_ans_a.py:34
↓ 1 callersFunctioninfer_batch
(qs)
方案分享/赛题二/ths/submit_code/run_infer_b.py:33
↓ 1 callersFunctioninfer_batch
(qs)
方案分享/赛题二/ths/submit_code/run_classify_v1_b.py:30
↓ 1 callersFunctioninfer_batch
(qs)
方案分享/赛题二/ths/submit_code/run_rag_ans_b.py:34
↓ 1 callersFunctioninfer_batch
(qs)
方案分享/赛题二/ths/submit_code/run_classify_v1_a.py:29
↓ 1 callersMethodinference
(self, cur_sample, n_reasoning_paths)
方案分享/赛题三/ljq13317046284/代码/TALE-main/llm_models/__init__.py:36
↓ 1 callersFunctioninference_api
Run inference using an API-based model (e.g. GPT-4, Claude). Args: args: Command line arguments dataset: Dataset to run
方案分享/赛题三/ljq13317046284/代码/TALE-main/inference.py:101
↓ 1 callersMethodinference_batch
(self, sample_list, n_reasoning_paths)
方案分享/赛题三/ljq13317046284/代码/TALE-main/llm_models/__init__.py:51
↓ 1 callersFunctioninference_eval
Run inference evaluation using vLLM with a fine-tuned model. Args: sample_list: List of input samples to evaluate b
方案分享/赛题三/ljq13317046284/代码/TALE-main/TALE-PT.py:87
↓ 1 callersFunctioninference_local
Run inference using a local model (e.g. Hugging Face models). Args: args: Command line arguments dataset: Dataset to run
方案分享/赛题三/ljq13317046284/代码/TALE-main/inference.py:61
↓ 1 callersMethodinit_megatron
(self, default_megatron_kwargs: Optional[Dict] = None)
方案分享/赛题三/双人成行/code/RL/verl/verl/single_controller/ray/megatron.py:58
↓ 1 callersMethodinit_model
(self)
方案分享/赛题三/双人成行/code/RL/verl/tests/ray/detached_worker/server.py:73
↓ 1 callersMethodinitialize
Initialize the environment. Override in subclasses.
方案分享/赛题四/天池三轮车/docker_image/docker_image/app/src/environment/base.py:29
↓ 1 callersFunctioninitialize_global_process_group
(timeout_second=36000)
方案分享/赛题三/双人成行/code/RL/verl/tests/rollout/test_sglang_spmd.py:82
↓ 1 callersMethodinsert_output
(self, output_list: list[str], code_list: list[str])
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/benchmarks/code_generation.py:78
↓ 1 callersMethodinsert_output
(self, output_list: list[str], pred_list: list[str])
方案分享/赛题三/双人成行/code/RL/code_eval/LiveCodeBench/lcb_runner/benchmarks/test_output_prediction.py:32
↓ 1 callersMethodinvoke_ai_model
调用AI模型生成答案 Args: question_content (str): 输入的问题内容 Returns: Optional[str]:
方案分享/赛题三/丛雨酱/全部代码/generate_result.py:78
↓ 1 callersFunctionis_accelerator_available
r"""Check if the accelerator is available.
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/extras/misc.py:224
↓ 1 callersFunctionis_apollo_available
()
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/extras/packages.py:57
↓ 1 callersFunctionis_choice_equiv
比较选择题答案是否等价(不考虑顺序,只要字母组合一致)
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/reward_manager/naive.py:299
↓ 1 callersFunctionis_equiv
(str1, str2, verbose=False)
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/reward_score/math.py:32
↓ 1 callersFunctionis_equiv
(str1, str2, verbose=False)
方案分享/赛题三/双人成行/code/RL/verl/verl/workers/reward_manager/naive.py:322
↓ 1 callersFunctionis_galore_available
()
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/extras/packages.py:53
↓ 1 callersFunctionis_librosa_available
()
方案分享/赛题三/ljq13317046284/代码/LLaMA-Factory-main/src/llamafactory/extras/packages.py:45
↓ 1 callersFunctionis_megatron_core_available
()
方案分享/赛题三/双人成行/code/RL/verl/verl/utils/import_utils.py:24
← previousnext →1,501–1,600 of 3,355, ranked by callers