Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chenyiqun/MMOA-RAG
/ types & classes
Types & classes
101 in github.com/chenyiqun/MMOA-RAG
⨍
Functions
656
◇
Types & classes
101
↳
Endpoints
5
↓ 111 callers
Class
StringFormatter
LLaMA-Factory/src/llamafactory/data/formatter.py:69
↓ 58 callers
Class
EmptyFormatter
LLaMA-Factory/src/llamafactory/data/formatter.py:53
↓ 10 callers
Class
ToolFormatter
LLaMA-Factory/src/llamafactory/data/formatter.py:133
↓ 7 callers
Class
FunctionFormatter
LLaMA-Factory/src/llamafactory/data/formatter.py:99
↓ 6 callers
Class
ChatModel
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 callers
Class
SaveProcessorCallback
r""" A callback for saving the processor.
LLaMA-Factory/src/llamafactory/train/callbacks.py:115
↓ 5 callers
Class
ChatCompletionMessage
LLaMA-Factory/src/llamafactory/api/protocol.py:89
↓ 5 callers
Class
DatasetAttr
r""" Dataset attributes.
LLaMA-Factory/src/llamafactory/data/parser.py:27
↓ 4 callers
Class
DataArguments
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 callers
Class
FinetuningArguments
r""" Arguments pertaining to which techniques we are going to fine-tuning with.
LLaMA-Factory/src/llamafactory/hparams/finetuning_args.py:308
↓ 2 callers
Class
AllowedTokensLogitsProcessor
LLaMA-Factory/src/llamafactory/train/ppo/trainer_qr_s_g.py:186
↓ 2 callers
Class
AverageMeter
r""" Computes and stores the average and current value.
LLaMA-Factory/src/llamafactory/extras/misc.py:54
↓ 2 callers
Class
Engine
LLaMA-Factory/src/llamafactory/webui/engine.py:29
↓ 2 callers
Class
PairwiseDataCollatorWithPadding
r""" Data collator for pairwise data.
LLaMA-Factory/src/llamafactory/data/collator.py:124
↓ 2 callers
Class
Response
LLaMA-Factory/src/llamafactory/chat/base_engine.py:30
↓ 1 callers
Class
CMMLUConfig
LLaMA-Factory/evaluation/cmmlu/cmmlu.py:111
↓ 1 callers
Class
CevalConfig
LLaMA-Factory/evaluation/ceval/ceval.py:96
↓ 1 callers
Class
ChatCompletionResponse
LLaMA-Factory/src/llamafactory/api/protocol.py:126
↓ 1 callers
Class
ChatCompletionResponseChoice
LLaMA-Factory/src/llamafactory/api/protocol.py:108
↓ 1 callers
Class
ChatCompletionResponseUsage
LLaMA-Factory/src/llamafactory/api/protocol.py:120
↓ 1 callers
Class
ChatCompletionStreamResponse
LLaMA-Factory/src/llamafactory/api/protocol.py:135
↓ 1 callers
Class
ChatCompletionStreamResponseChoice
LLaMA-Factory/src/llamafactory/api/protocol.py:114
↓ 1 callers
Class
ComputeAccuracy
r""" Computes reward accuracy and supports `batch_eval_metrics`.
LLaMA-Factory/src/llamafactory/train/rm/metric.py:28
↓ 1 callers
Class
ComputeAccuracy
r""" Computes accuracy and supports `batch_eval_metrics`.
LLaMA-Factory/src/llamafactory/train/sft/metric.py:64
↓ 1 callers
Class
ComputeSimilarity
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 callers
Class
CustomDPOTrainer
LLaMA-Factory/src/llamafactory/train/dpo/trainer.py:42
↓ 1 callers
Class
CustomKTOTrainer
LLaMA-Factory/src/llamafactory/train/kto/trainer.py:42
↓ 1 callers
Class
CustomPPOTrainer_QSG
r""" Inherits PPOTrainer.
LLaMA-Factory/src/llamafactory/train/ppo/trainer_qr_s_g.py:199
↓ 1 callers
Class
CustomSeq2SeqTrainer
r""" Inherits Seq2SeqTrainer to compute generative metrics such as BLEU and ROUGE.
LLaMA-Factory/src/llamafactory/train/sft/trainer.py:45
↓ 1 callers
Class
CustomTrainer
r""" Inherits Trainer for custom optimizer.
LLaMA-Factory/src/llamafactory/train/pt/trainer.py:36
↓ 1 callers
Class
DefaultToolUtils
LLaMA-Factory/src/llamafactory/data/tool_utils.py:78
↓ 1 callers
Class
DummyOptimizer
r""" A dummy optimizer used for the GaLore algorithm.
LLaMA-Factory/src/llamafactory/train/trainer_utils.py:52
↓ 1 callers
Class
EvalTemplate
LLaMA-Factory/src/llamafactory/eval/template.py:23
↓ 1 callers
Class
Evaluator
LLaMA-Factory/src/llamafactory/eval/evaluator.py:61
↓ 1 callers
Class
Function
LLaMA-Factory/src/llamafactory/api/protocol.py:51
↓ 1 callers
Class
FunctionCall
LLaMA-Factory/src/llamafactory/api/protocol.py:67
↓ 1 callers
Class
GLM4ToolUtils
LLaMA-Factory/src/llamafactory/data/tool_utils.py:139
↓ 1 callers
Class
HuggingfaceEngine
LLaMA-Factory/src/llamafactory/chat/hf_engine.py:45
↓ 1 callers
Class
KTODataCollatorWithPadding
r""" Data collator for KTO data.
LLaMA-Factory/src/llamafactory/data/collator.py:152
↓ 1 callers
Class
LogCallback
r""" A callback for logging training and evaluation status.
LLaMA-Factory/src/llamafactory/train/callbacks.py:183
↓ 1 callers
Class
LoggerHandler
r""" Redirects the logging output to the logging file for LLaMA Board.
LLaMA-Factory/src/llamafactory/extras/logging.py:33
↓ 1 callers
Class
MMLUConfig
LLaMA-Factory/evaluation/mmlu/mmlu.py:101
↓ 1 callers
Class
Manager
LLaMA-Factory/src/llamafactory/webui/manager.py:22
↓ 1 callers
Class
ModelArguments
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 callers
Class
ModelCard
LLaMA-Factory/src/llamafactory/api/protocol.py:39
↓ 1 callers
Class
ModelList
LLaMA-Factory/src/llamafactory/api/protocol.py:46
↓ 1 callers
Class
MultiModalDataCollatorForSeq2Seq
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 callers
Class
PairwiseDataCollatorWithPadding
r""" Data collator for pairwise data.
LLaMA-Factory/scripts/cal_ppl.py:33
↓ 1 callers
Class
PairwiseTrainer
r""" Inherits Trainer to compute pairwise loss.
LLaMA-Factory/src/llamafactory/train/rm/trainer.py:42
↓ 1 callers
Class
Runner
LLaMA-Factory/src/llamafactory/webui/runner.py:40
↓ 1 callers
Class
SFTDataCollatorWith4DAttentionMask
r""" Data collator for 4d attention mask.
LLaMA-Factory/src/llamafactory/data/collator.py:106
↓ 1 callers
Class
ScoreEvaluationResponse
LLaMA-Factory/src/llamafactory/api/protocol.py:149
↓ 1 callers
Class
VllmEngine
LLaMA-Factory/src/llamafactory/chat/vllm_engine.py:49
↓ 1 callers
Class
WebChatModel
LLaMA-Factory/src/llamafactory/webui/chatter.py:37
Class
BAdamArgument
r""" Arguments pertaining to the BAdam optimizer.
LLaMA-Factory/src/llamafactory/hparams/finetuning_args.py:255
Class
BaseEngine
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
Class
BasePlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:54
Class
CMMLU
LLaMA-Factory/evaluation/cmmlu/cmmlu.py:116
Class
Ceval
LLaMA-Factory/evaluation/ceval/ceval.py:101
Class
ChatCompletionRequest
LLaMA-Factory/src/llamafactory/api/protocol.py:95
Class
ChatMessage
LLaMA-Factory/src/llamafactory/api/protocol.py:83
Class
Command
LLaMA-Factory/src/llamafactory/cli.py:63
Class
DatasetModule
LLaMA-Factory/src/llamafactory/data/data_utils.py:44
Class
DownloadSource
LLaMA-Factory/src/llamafactory/extras/constants.py:107
Class
EncodedImage
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:29
Class
EvaluationArguments
r""" Arguments pertaining to specify the evaluation parameters.
LLaMA-Factory/src/llamafactory/hparams/evaluation_args.py:23
Class
ExportArguments
r""" Arguments pertaining to the model export.
LLaMA-Factory/src/llamafactory/hparams/model_args.py:78
Class
Finish
LLaMA-Factory/src/llamafactory/api/protocol.py:33
Class
FixValueHeadModelCallback
r""" A callback for fixing the checkpoint for valuehead models.
LLaMA-Factory/src/llamafactory/train/callbacks.py:98
Class
Formatter
LLaMA-Factory/src/llamafactory/data/formatter.py:32
Class
FreezeArguments
r""" Arguments pertaining to the freeze (partial-parameter) training.
LLaMA-Factory/src/llamafactory/hparams/finetuning_args.py:20
Class
FunctionAvailable
LLaMA-Factory/src/llamafactory/api/protocol.py:62
Class
FunctionDefinition
LLaMA-Factory/src/llamafactory/api/protocol.py:56
Class
GaloreArguments
r""" Arguments pertaining to the GaLore algorithm.
LLaMA-Factory/src/llamafactory/hparams/finetuning_args.py:214
Class
GeneratingArguments
r""" Arguments pertaining to specify the decoding parameters.
LLaMA-Factory/src/llamafactory/hparams/generating_args.py:20
Class
ImageURL
LLaMA-Factory/src/llamafactory/api/protocol.py:73
Class
Llama2Template
LLaMA-Factory/src/llamafactory/data/template.py:156
Class
LlavaMultiModalProjectorForYiVL
LLaMA-Factory/src/llamafactory/model/model_utils/visual.py:38
Class
LlavaMultiModalProjectorForYiVLForVLLM
LLaMA-Factory/src/llamafactory/model/model_utils/visual.py:72
Class
LlavaNextPlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:274
Class
LlavaNextVideoPlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:323
Class
LlavaPlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:234
Class
LoraArguments
r""" Arguments pertaining to the LoRA training.
LLaMA-Factory/src/llamafactory/hparams/finetuning_args.py:58
Class
MMLU
LLaMA-Factory/evaluation/mmlu/mmlu.py:106
Class
MultimodalInputItem
LLaMA-Factory/src/llamafactory/api/protocol.py:77
Class
PaliGemmaPlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:390
Class
PissaConvertCallback
r""" A callback for converting the PiSSA adapter to a normal one.
LLaMA-Factory/src/llamafactory/train/callbacks.py:135
Class
ProcessorArguments
r""" Arguments pertaining to the image processor.
LLaMA-Factory/src/llamafactory/hparams/model_args.py:54
Class
QuantizationArguments
r""" Arguments pertaining to the quantization method.
LLaMA-Factory/src/llamafactory/hparams/model_args.py:26
Class
QuantizationMethod
r""" Borrowed from `transformers.utils.quantization_config.QuantizationMethod`.
LLaMA-Factory/src/llamafactory/model/model_utils/quantization.py:46
Class
Qwen2vlPlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:451
Class
RLHFArguments
r""" Arguments pertaining to the PPO, DPO and KTO training.
LLaMA-Factory/src/llamafactory/hparams/finetuning_args.py:130
Class
Role
LLaMA-Factory/src/llamafactory/data/data_utils.py:36
Class
Role
LLaMA-Factory/src/llamafactory/api/protocol.py:24
Class
ScoreEvaluationRequest
LLaMA-Factory/src/llamafactory/api/protocol.py:143
Class
Template
LLaMA-Factory/src/llamafactory/data/template.py:39
Class
TokenizerModule
LLaMA-Factory/src/llamafactory/model/loader.py:40
Class
ToolUtils
Base class for tool utilities.
LLaMA-Factory/src/llamafactory/data/tool_utils.py:48
Class
UnslothGradientCheckpointing
r""" Saves VRAM by smartly offloading to RAM.
LLaMA-Factory/src/llamafactory/model/model_utils/checkpointing.py:42
Class
VideoLlavaPlugin
LLaMA-Factory/src/llamafactory/data/mm_plugin.py:544
next →
1–100 of 101, ranked by callers