MCPcopy Create free account

hub / github.com/chenyiqun/MMOA-RAG / types & classes

Types & classes101 in github.com/chenyiqun/MMOA-RAG

↓ 111 callersClassStringFormatter
LLaMA-Factory/src/llamafactory/data/formatter.py:69
↓ 58 callersClassEmptyFormatter
LLaMA-Factory/src/llamafactory/data/formatter.py:53
↓ 10 callersClassToolFormatter
LLaMA-Factory/src/llamafactory/data/formatter.py:133
↓ 7 callersClassFunctionFormatter
LLaMA-Factory/src/llamafactory/data/formatter.py:99
↓ 6 callersClassChatModel
r""" General class for chat models. Backed by huggingface or vllm engines. Supports both sync and async methods. Sync methods: chat(), st
LLaMA-Factory/src/llamafactory/chat/chat_model.py:39
↓ 6 callersClassSaveProcessorCallback
r""" A callback for saving the processor.
LLaMA-Factory/src/llamafactory/train/callbacks.py:115
↓ 5 callersClassChatCompletionMessage
LLaMA-Factory/src/llamafactory/api/protocol.py:89
↓ 5 callersClassDatasetAttr
r""" Dataset attributes.
LLaMA-Factory/src/llamafactory/data/parser.py:27
↓ 4 callersClassDataArguments
r""" Arguments pertaining to what data we are going to input our model for training and evaluation.
LLaMA-Factory/src/llamafactory/hparams/data_args.py:23
↓ 3 callersClassFinetuningArguments
r""" Arguments pertaining to which techniques we are going to fine-tuning with.
LLaMA-Factory/src/llamafactory/hparams/finetuning_args.py:308
↓ 2 callersClassAllowedTokensLogitsProcessor
LLaMA-Factory/src/llamafactory/train/ppo/trainer_qr_s_g.py:186
↓ 2 callersClassAverageMeter
r""" Computes and stores the average and current value.
LLaMA-Factory/src/llamafactory/extras/misc.py:54
↓ 2 callersClassEngine
LLaMA-Factory/src/llamafactory/webui/engine.py:29
↓ 2 callersClassPairwiseDataCollatorWithPadding
r""" Data collator for pairwise data.
LLaMA-Factory/src/llamafactory/data/collator.py:124
↓ 2 callersClassResponse
LLaMA-Factory/src/llamafactory/chat/base_engine.py:30
↓ 1 callersClassCMMLUConfig
LLaMA-Factory/evaluation/cmmlu/cmmlu.py:111
↓ 1 callersClassCevalConfig
LLaMA-Factory/evaluation/ceval/ceval.py:96
↓ 1 callersClassChatCompletionResponse
LLaMA-Factory/src/llamafactory/api/protocol.py:126
↓ 1 callersClassChatCompletionResponseChoice
LLaMA-Factory/src/llamafactory/api/protocol.py:108
↓ 1 callersClassChatCompletionResponseUsage
LLaMA-Factory/src/llamafactory/api/protocol.py:120
↓ 1 callersClassChatCompletionStreamResponse
LLaMA-Factory/src/llamafactory/api/protocol.py:135
↓ 1 callersClassChatCompletionStreamResponseChoice
LLaMA-Factory/src/llamafactory/api/protocol.py:114
↓ 1 callersClassComputeAccuracy
r""" Computes reward accuracy and supports `batch_eval_metrics`.
LLaMA-Factory/src/llamafactory/train/rm/metric.py:28
↓ 1 callersClassComputeAccuracy
r""" Computes accuracy and supports `batch_eval_metrics`.
LLaMA-Factory/src/llamafactory/train/sft/metric.py:64
↓ 1 callersClassComputeSimilarity
r""" Computes text similarity scores and supports `batch_eval_metrics`. Wraps the tokenizer into metric functions, used in CustomSeq2SeqTrain
LLaMA-Factory/src/llamafactory/train/sft/metric.py:92
↓ 1 callersClassCustomDPOTrainer
LLaMA-Factory/src/llamafactory/train/dpo/trainer.py:42
↓ 1 callersClassCustomKTOTrainer
LLaMA-Factory/src/llamafactory/train/kto/trainer.py:42
↓ 1 callersClassCustomPPOTrainer_QSG
r""" Inherits PPOTrainer.
LLaMA-Factory/src/llamafactory/train/ppo/trainer_qr_s_g.py:199
↓ 1 callersClassCustomSeq2SeqTrainer
r""" Inherits Seq2SeqTrainer to compute generative metrics such as BLEU and ROUGE.
LLaMA-Factory/src/llamafactory/train/sft/trainer.py:45
↓ 1 callersClassCustomTrainer
r""" Inherits Trainer for custom optimizer.
LLaMA-Factory/src/llamafactory/train/pt/trainer.py:36
↓ 1 callersClassDefaultToolUtils
LLaMA-Factory/src/llamafactory/data/tool_utils.py:78
↓ 1 callersClassDummyOptimizer
r""" A dummy optimizer used for the GaLore algorithm.
LLaMA-Factory/src/llamafactory/train/trainer_utils.py:52
↓ 1 callersClassEvalTemplate
LLaMA-Factory/src/llamafactory/eval/template.py:23
↓ 1 callersClassEvaluator
LLaMA-Factory/src/llamafactory/eval/evaluator.py:61
↓ 1 callersClassFunction
LLaMA-Factory/src/llamafactory/api/protocol.py:51
↓ 1 callersClassFunctionCall
LLaMA-Factory/src/llamafactory/api/protocol.py:67
↓ 1 callersClassGLM4ToolUtils
LLaMA-Factory/src/llamafactory/data/tool_utils.py:139
↓ 1 callersClassHuggingfaceEngine
LLaMA-Factory/src/llamafactory/chat/hf_engine.py:45
↓ 1 callersClassKTODataCollatorWithPadding
r""" Data collator for KTO data.
LLaMA-Factory/src/llamafactory/data/collator.py:152
↓ 1 callersClassLogCallback
r""" A callback for logging training and evaluation status.
LLaMA-Factory/src/llamafactory/train/callbacks.py:183
↓ 1 callersClassLoggerHandler
r""" Redirects the logging output to the logging file for LLaMA Board.
LLaMA-Factory/src/llamafactory/extras/logging.py:33
↓ 1 callersClassMMLUConfig
LLaMA-Factory/evaluation/mmlu/mmlu.py:101
↓ 1 callersClassManager
LLaMA-Factory/src/llamafactory/webui/manager.py:22
↓ 1 callersClassModelArguments
r""" Arguments pertaining to which model/config/tokenizer we are going to fine-tune or infer.
LLaMA-Factory/src/llamafactory/hparams/model_args.py:146
↓ 1 callersClassModelCard
LLaMA-Factory/src/llamafactory/api/protocol.py:39
↓ 1 callersClassModelList
LLaMA-Factory/src/llamafactory/api/protocol.py:46
↓ 1 callersClassMultiModalDataCollatorForSeq2Seq
r""" Data collator that supports VLMs. Features should contain input_ids, attention_mask, labels and images.
LLaMA-Factory/src/llamafactory/data/collator.py:71
↓ 1 callersClassPairwiseDataCollatorWithPadding
r""" Data collator for pairwise data.
LLaMA-Factory/scripts/cal_ppl.py:33
↓ 1 callersClassPairwiseTrainer
r""" Inherits Trainer to compute pairwise loss.
LLaMA-Factory/src/llamafactory/train/rm/trainer.py:42
↓ 1 callersClassRunner
LLaMA-Factory/src/llamafactory/webui/runner.py:40
↓ 1 callersClassSFTDataCollatorWith4DAttentionMask
r""" Data collator for 4d attention mask.
LLaMA-Factory/src/llamafactory/data/collator.py:106
↓ 1 callersClassScoreEvaluationResponse
LLaMA-Factory/src/llamafactory/api/protocol.py:149
↓ 1 callersClassVllmEngine
LLaMA-Factory/src/llamafactory/chat/vllm_engine.py:49
↓ 1 callersClassWebChatModel
LLaMA-Factory/src/llamafactory/webui/chatter.py:37
ClassBAdamArgument
r""" Arguments pertaining to the BAdam optimizer.
LLaMA-Factory/src/llamafactory/hparams/finetuning_args.py:255
ClassBaseEngine
r""" Base class for inference engine of chat models. Must implements async methods: chat(), stream_chat() and get_scores().
LLaMA-Factory/src/llamafactory/chat/base_engine.py:37
ClassBasePlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:54
ClassCMMLU
LLaMA-Factory/evaluation/cmmlu/cmmlu.py:116
ClassCeval
LLaMA-Factory/evaluation/ceval/ceval.py:101
ClassChatCompletionRequest
LLaMA-Factory/src/llamafactory/api/protocol.py:95
ClassChatMessage
LLaMA-Factory/src/llamafactory/api/protocol.py:83
ClassCommand
LLaMA-Factory/src/llamafactory/cli.py:63
ClassDatasetModule
LLaMA-Factory/src/llamafactory/data/data_utils.py:44
ClassDownloadSource
LLaMA-Factory/src/llamafactory/extras/constants.py:107
ClassEncodedImage
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:29
ClassEvaluationArguments
r""" Arguments pertaining to specify the evaluation parameters.
LLaMA-Factory/src/llamafactory/hparams/evaluation_args.py:23
ClassExportArguments
r""" Arguments pertaining to the model export.
LLaMA-Factory/src/llamafactory/hparams/model_args.py:78
ClassFinish
LLaMA-Factory/src/llamafactory/api/protocol.py:33
ClassFixValueHeadModelCallback
r""" A callback for fixing the checkpoint for valuehead models.
LLaMA-Factory/src/llamafactory/train/callbacks.py:98
ClassFormatter
LLaMA-Factory/src/llamafactory/data/formatter.py:32
ClassFreezeArguments
r""" Arguments pertaining to the freeze (partial-parameter) training.
LLaMA-Factory/src/llamafactory/hparams/finetuning_args.py:20
ClassFunctionAvailable
LLaMA-Factory/src/llamafactory/api/protocol.py:62
ClassFunctionDefinition
LLaMA-Factory/src/llamafactory/api/protocol.py:56
ClassGaloreArguments
r""" Arguments pertaining to the GaLore algorithm.
LLaMA-Factory/src/llamafactory/hparams/finetuning_args.py:214
ClassGeneratingArguments
r""" Arguments pertaining to specify the decoding parameters.
LLaMA-Factory/src/llamafactory/hparams/generating_args.py:20
ClassImageURL
LLaMA-Factory/src/llamafactory/api/protocol.py:73
ClassLlama2Template
LLaMA-Factory/src/llamafactory/data/template.py:156
ClassLlavaMultiModalProjectorForYiVL
LLaMA-Factory/src/llamafactory/model/model_utils/visual.py:38
ClassLlavaMultiModalProjectorForYiVLForVLLM
LLaMA-Factory/src/llamafactory/model/model_utils/visual.py:72
ClassLlavaNextPlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:274
ClassLlavaNextVideoPlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:323
ClassLlavaPlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:234
ClassLoraArguments
r""" Arguments pertaining to the LoRA training.
LLaMA-Factory/src/llamafactory/hparams/finetuning_args.py:58
ClassMMLU
LLaMA-Factory/evaluation/mmlu/mmlu.py:106
ClassMultimodalInputItem
LLaMA-Factory/src/llamafactory/api/protocol.py:77
ClassPaliGemmaPlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:390
ClassPissaConvertCallback
r""" A callback for converting the PiSSA adapter to a normal one.
LLaMA-Factory/src/llamafactory/train/callbacks.py:135
ClassProcessorArguments
r""" Arguments pertaining to the image processor.
LLaMA-Factory/src/llamafactory/hparams/model_args.py:54
ClassQuantizationArguments
r""" Arguments pertaining to the quantization method.
LLaMA-Factory/src/llamafactory/hparams/model_args.py:26
ClassQuantizationMethod
r""" Borrowed from `transformers.utils.quantization_config.QuantizationMethod`.
LLaMA-Factory/src/llamafactory/model/model_utils/quantization.py:46
ClassQwen2vlPlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:451
ClassRLHFArguments
r""" Arguments pertaining to the PPO, DPO and KTO training.
LLaMA-Factory/src/llamafactory/hparams/finetuning_args.py:130
ClassRole
LLaMA-Factory/src/llamafactory/data/data_utils.py:36
ClassRole
LLaMA-Factory/src/llamafactory/api/protocol.py:24
ClassScoreEvaluationRequest
LLaMA-Factory/src/llamafactory/api/protocol.py:143
ClassTemplate
LLaMA-Factory/src/llamafactory/data/template.py:39
ClassTokenizerModule
LLaMA-Factory/src/llamafactory/model/loader.py:40
ClassToolUtils
Base class for tool utilities.
LLaMA-Factory/src/llamafactory/data/tool_utils.py:48
ClassUnslothGradientCheckpointing
r""" Saves VRAM by smartly offloading to RAM.
LLaMA-Factory/src/llamafactory/model/model_utils/checkpointing.py:42
ClassVideoLlavaPlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:544
next →1–100 of 101, ranked by callers