MCPcopy Create free account

hub / github.com/cxcscmu/AutoGEO / functions

Functions1,082 in github.com/cxcscmu/AutoGEO

Functionmake_conversation
(example, prompt_column: str = script_args.dataset_prompt_column)
open-r1/scripts/pass_rate_filtering/compute_pass_rate.py:80
Functionmerge_lora
Load the original model, merge the LoRA weights. For a specified submodule, and save the final merged model along with its configurations. A
LLaMA-Factory/scripts/qwen_omni_merge.py:39
Functionnext_page
(page_index: int, total_num: int)
LLaMA-Factory/src/llamafactory/webui/components/data.py:38
Methodon_evaluate
(self, args: "TrainingArguments", state: "TrainerState", control: "TrainerControl", **kwargs)
LLaMA-Factory/src/llamafactory/train/callbacks.py:261
Methodon_init_end
(self, args: "TrainingArguments", state: "TrainerState", control: "TrainerControl", **kwargs)
LLaMA-Factory/src/llamafactory/train/callbacks.py:228
Methodon_predict
(self, args: "TrainingArguments", state: "TrainerState", control: "TrainerControl", **kwargs)
LLaMA-Factory/src/llamafactory/train/callbacks.py:266
Methodon_prediction_step
( self, args: "TrainingArguments", state: "TrainerState", control: "TrainerControl", **kwargs )
LLaMA-Factory/src/llamafactory/train/callbacks.py:312
Methodon_save
( self, args: TrainingArguments, state: TrainerState, control: TrainerControl,
open-r1/src/open_r1/utils/callbacks.py:47
Methodon_save
(self, args: "TrainingArguments", state: "TrainerState", control: "TrainerControl", **kwargs)
LLaMA-Factory/src/llamafactory/train/callbacks.py:105
Methodon_substep_end
(self, args: "TrainingArguments", state: "TrainerState", control: "TrainerControl", **kwargs)
LLaMA-Factory/src/llamafactory/train/callbacks.py:249
Methodon_train_begin
(self, args: "TrainingArguments", state: "TrainerState", control: "TrainerControl", **kwargs)
LLaMA-Factory/src/llamafactory/train/callbacks.py:135
Methodon_train_begin
(self, args: "TrainingArguments", state: "TrainerState", control: "TrainerControl", **kwargs)
LLaMA-Factory/src/llamafactory/train/callbacks.py:359
Methodon_train_end
(self, args: "TrainingArguments", state: "TrainerState", control: "TrainerControl", **kwargs)
LLaMA-Factory/src/llamafactory/train/callbacks.py:126
Methodon_train_end
(self, args: "TrainingArguments", state: "TrainerState", control: "TrainerControl", **kwargs)
LLaMA-Factory/src/llamafactory/train/callbacks.py:147
Functionoptimizer_hook
(param: "torch.nn.Parameter")
LLaMA-Factory/src/llamafactory/train/trainer_utils.py:259
Functionpost_init
(self: "AutoModelForCausalLMWithValueHead", state_dict: dict[str, "torch.Tensor"])
LLaMA-Factory/src/llamafactory/train/test_utils.py:114
Methodprediction_step
r"""Remove the prompt part in the generated tokens. Subclass and override to inject custom behavior.
LLaMA-Factory/src/llamafactory/train/sft/trainer.py:106
Functionprepare_example
Prepare RAG example by randomly assigning document order. Args: example: Dictionary with query, good_document, and bad_document
autogeo/rules/utils.py:28
Functionpreprocess_data_for_evaluation
Preprocess data for GEU evaluation. Args: filename: Path to JSON file containing evaluation data engine_llm: Method name used
autogeo/evaluation/metrics/geu_score.py:35
Methodpreprocess_dataset
(self, examples: dict[str, list[Any]])
LLaMA-Factory/src/llamafactory/data/processor/pretrain.py:27
Methodpreprocess_dataset
(self, examples: dict[str, list[Any]])
LLaMA-Factory/src/llamafactory/data/processor/supervised.py:88
Methodpreprocess_dataset
(self, examples: dict[str, list[Any]])
LLaMA-Factory/src/llamafactory/data/processor/supervised.py:127
Methodpreprocess_dataset
r"""Build model inputs from the examples.
LLaMA-Factory/src/llamafactory/data/processor/processor_utils.py:38
Methodpreprocess_dataset
(self, examples: dict[str, list[Any]])
LLaMA-Factory/src/llamafactory/data/processor/pairwise.py:71
Methodpreprocess_dataset
(self, examples: dict[str, list[Any]])
LLaMA-Factory/src/llamafactory/data/processor/feedback.py:85
Methodpreprocess_dataset
(self, examples: dict[str, list[Any]])
LLaMA-Factory/src/llamafactory/data/processor/unsupervised.py:59
Functionprev_page
(page_index: int)
LLaMA-Factory/src/llamafactory/webui/components/data.py:34
Methodpreview_eval
(self, data)
LLaMA-Factory/src/llamafactory/webui/runner.py:395
Methodpreview_train
(self, data)
LLaMA-Factory/src/llamafactory/webui/runner.py:392
Methodprint_data_example
(self, example: dict[str, list[int]])
LLaMA-Factory/src/llamafactory/data/processor/pretrain.py:55
Methodprint_data_example
(self, example: dict[str, list[int]])
LLaMA-Factory/src/llamafactory/data/processor/supervised.py:117
Methodprint_data_example
(self, example: dict[str, list[int]])
LLaMA-Factory/src/llamafactory/data/processor/pairwise.py:102
Methodprint_data_example
(self, example: dict[str, list[int]])
LLaMA-Factory/src/llamafactory/data/processor/feedback.py:124
Methodprint_data_example
(self, example: dict[str, list[int]])
LLaMA-Factory/src/llamafactory/data/processor/unsupervised.py:87
Functionprint_env
()
LLaMA-Factory/src/llamafactory/extras/env.py:33
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:455
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:599
Methodprocess_messages
(self, messages, images, videos, audios, processor)
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:665
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:697
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:764
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:800
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:840
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:965
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:1127
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:1182
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:1247
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:1316
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:1457
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:1554
Methodprocess_messages
( self, messages: list[dict[str, str]], images: list["ImageInput"], videos: li
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:1665
Functionprocess_single_question
Process a single question to calculate GEU metrics. Args: question_id: Unique identifier for the question item_data: Dictiona
autogeo/evaluation/metrics/geu_score.py:485
Methodprocess_token_ids
( self, input_ids: list[int], labels: Optional[list[int]], images: list["Image
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:1205
Functionquantize_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
LLaMA-Factory/scripts/loftq_init.py:30
Functionquantize_pissa
r"""Initialize LoRA weights with Principal Singular values and Singular vectors Adaptation (PiSSA). Usage: python pissa_init.py --model_name_or_p
LLaMA-Factory/scripts/pissa_init.py:30
Functionregister_dataset_converter
r"""Register a new dataset converter.
LLaMA-Factory/src/llamafactory/data/converter.py:236
Functionregister_mm_plugin
r"""Register a multimodal plugin.
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:1735
Functionremove_handler
r"""Remove a handler to the root logger.
LLaMA-Factory/src/llamafactory/extras/logging.py:135
Functionrepetition_penalty_reward
reward function the penalizes repetitions ref implementation: https://github.com/eddycmu/demystify-long-cot/blob/release/openrlhf/ope
open-r1/src/open_r1/rewards.py:692
Functionrestore_prompt
(example)
open-r1/scripts/pass_rate_filtering/compute_pass_rate.py:161
Methodresume
r"""Get the initial value of gradio components and restores training status if necessary.
LLaMA-Factory/src/llamafactory/webui/engine.py:49
Functionrun_api
()
LLaMA-Factory/src/llamafactory/api/app.py:127
Methodrun_benchmark_callback
(_)
open-r1/src/open_r1/utils/callbacks.py:73
Functionrun_chat
()
LLaMA-Factory/src/llamafactory/chat/chat_model.py:147
Functionrun_eval
()
LLaMA-Factory/src/llamafactory/eval/evaluator.py:157
Methodrun_eval
(self, data)
LLaMA-Factory/src/llamafactory/webui/runner.py:401
Methodrun_train
(self, data)
LLaMA-Factory/src/llamafactory/webui/runner.py:398
Functionrun_web_demo
()
LLaMA-Factory/src/llamafactory/webui/interface.py:100
Functionrun_web_ui
()
LLaMA-Factory/src/llamafactory/webui/interface.py:91
Methodsave_args
r"""Save the training configuration to config path.
LLaMA-Factory/src/llamafactory/webui/runner.py:462
Functionsave_config
r"""Save user config.
LLaMA-Factory/src/llamafactory/webui/common.py:83
Functionsave_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
LLaMA-Factory/scripts/qwen_omni_merge.py:94
Functionsave_model
( lang: str, model_name: str, model_path: str, finetuning_type: str, checkpoint_path: Unio
LLaMA-Factory/src/llamafactory/webui/components/export.py:47
Functionscheduler_hook
(param: "torch.nn.Parameter")
LLaMA-Factory/src/llamafactory/train/trainer_utils.py:580
Methodscore
Calculates the raw score for the subtask as the minimum score across all test results. Returns: float: The rounded minim
open-r1/src/open_r1/utils/competitive_programming/ioi_scoring.py:62
Functionscore_submission
( client: PistonClient, problem_data: dict, submission: str, test_batch_size: int = 1, sco
open-r1/src/open_r1/utils/competitive_programming/cf_scoring.py:94
Functionscore_subtasks
Scores multiple subtasks for a submission. Args: client: PistonClient instance for executing code subtasks: List of dictiona
open-r1/src/open_r1/utils/competitive_programming/ioi_scoring.py:246
Methodsession
(self)
open-r1/src/open_r1/utils/competitive_programming/piston_client.py:82
MethodsetUpClass
(cls)
open-r1/tests/utils/test_data.py:25
Methodset_abort
(self)
LLaMA-Factory/src/llamafactory/webui/runner.py:70
Methodsetup
(self, args: "TrainingArguments", state: "TrainerState", model: "PreTrainedModel", **kwargs)
LLaMA-Factory/src/llamafactory/train/trainer_utils.py:671
Functionsoft_overlong_punishment_reward
Reward function that penalizes overlong completions.
open-r1/src/open_r1/rewards.py:1001
Methodsplit_arg
(arg)
LLaMA-Factory/src/llamafactory/hparams/finetuning_args.py:461
Methodsplit_arg
(arg)
LLaMA-Factory/src/llamafactory/hparams/data_args.py:142
Methodstatus
Determines the overall status of the subtask based on the worst status among test results. Status priorities are ordered from worst t
open-r1/src/open_r1/utils/competitive_programming/ioi_scoring.py:50
Methodstream
()
LLaMA-Factory/src/llamafactory/chat/hf_engine.py:304
Methodstream
r"""Generate output text in stream. Inputs: infer.chatbot, infer.messages, infer.system, infer.tools, infer.image, infer.video, ... O
LLaMA-Factory/src/llamafactory/webui/chatter.py:193
Methodstream_chat
( self, messages: list[dict[str, str]], system: Optional[str] = None, tools: O
LLaMA-Factory/src/llamafactory/chat/vllm_engine.py:240
Methodstream_chat
r"""Get the response token-by-token of the chat model.
LLaMA-Factory/src/llamafactory/chat/base_engine.py:78
Methodstream_chat
( self, messages: list[dict[str, str]], system: Optional[str] = None, tools: O
LLaMA-Factory/src/llamafactory/chat/sglang_engine.py:258
Methodstream_chat
( self, messages: list[dict[str, str]], system: Optional[str] = None, tools: O
LLaMA-Factory/src/llamafactory/chat/hf_engine.py:366
Methodstream_request
()
LLaMA-Factory/src/llamafactory/chat/sglang_engine.py:209
Functiontask
(content: str, ref_entry: dict, ref_id: str)
open-r1/src/open_r1/rewards.py:319
Functiontest_4d_attention_mask
()
LLaMA-Factory/tests/data/test_collator.py:129
Methodtest_accuracy_reward_correct_answer
Test accuracy_reward with a correct answer.
open-r1/tests/test_rewards.py:79
Methodtest_accuracy_reward_wrong_answer
Test accuracy_reward with an incorrect answer.
open-r1/tests/test_rewards.py:86
Methodtest_accuracy_reward_wrong_answer_no_latex
Test accuracy_reward with an incorrect answer and gold solution with no latex.
open-r1/tests/test_rewards.py:93
Functiontest_add_tokens
(special_tokens: bool)
LLaMA-Factory/tests/model/model_utils/test_add_tokens.py:29
Functiontest_alpaca_converter
()
LLaMA-Factory/tests/data/test_converter.py:21
Functiontest_attention
()
LLaMA-Factory/tests/model/model_utils/test_attention.py:33
Functiontest_base
()
LLaMA-Factory/tests/model/test_base.py:38
← previousnext →801–900 of 1,082, ranked by callers