For a framework for fine-tuning large language models, the first results are huggingface/peft, tatsu-lab/stanford_alpaca (Stanford Alpaca provides a complete end-to-end pipeline for supervised fine-tuning of LLMs on custom instruction data, combining synthetic data generation with memory-efficient techniques that align with parameter-efficient fine-tuning like LoRA) and hiyouga/llama-efficient-tuning. zyds/transformers-code and openaccess-ai-collective/axolotl round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
These open-source libraries provide tools and infrastructure for training and fine-tuning custom large language models.
This library provides a framework for parameter-efficient fine-tuning, enabling the adaptation of large pretrained models by training only a small subset of parameters. It functions as a distributed model training system and optimization toolkit, designed to reduce the computational and memory requirements typically associated with full model fine-tuning. The project distinguishes itself through a suite of methods for modular adapter composition, including low-rank matrix decomposition and activation-based scaling. It supports the integration of multiple task-specific adapter modules, allowin
PEFT is the go-to library for parameter-efficient fine-tuning of large language models, offering LoRA and other adapter methods out of the box, and integrates seamlessly with Hugging Face Transformers for dataset handling, training orchestration, and model export — directly matching the need for efficient LLM fine-tuning.
This project provides an end-to-end framework for adapting large language models to follow user instructions through supervised fine-tuning. It functions as a comprehensive training pipeline that enables the creation of specialized assistant models by minimizing the difference between predicted outputs and target responses within structured instruction datasets. The framework distinguishes itself by integrating synthetic data generation with memory-efficient training techniques. It utilizes powerful language models to iteratively expand small sets of human-written seeds into diverse, high-qua
Stanford Alpaca provides a complete end-to-end pipeline for supervised fine-tuning of LLMs on custom instruction data, combining synthetic data generation with memory-efficient techniques that align with parameter-efficient fine-tuning like LoRA.
This project is a fine-tuning framework and training pipeline designed to optimize and adapt large language and vision models. It provides a specialized toolkit for parameter-efficient tuning and supervised learning, serving as both a trainer for multimodal models and a deployment tool for serving fine-tuned models via high-performance inference engines. The framework focuses on reducing memory and compute requirements by updating a small subset of model parameters. It supports a wide range of adaptation strategies, including vision-language model training to align text, image, video, and aud
This framework is a dedicated fine-tuning and training pipeline for large language (and vision) models, explicitly built around parameter-efficient techniques like LoRA to reduce compute and memory, and it covers dataset preparation, training orchestration, model export, and deployment — directly matching the request for an open-source LLM fine-tuning tool with efficiency methods.
This project is a collection of scripts and workflows for training, fine-tuning, and deploying large language models using the Hugging Face Transformers toolkit. It functions as a distributed training framework, a library for natural language processing task implementations, and a system for building retrieval-augmented generation chatbots. The repository includes specialized tools for model optimization, such as a Bayesian hyperparameter optimizer for automatically tuning model settings. It provides implementations for scaling model training across multiple graphics processors using data par
This repository provides scripts and workflows for fine-tuning LLMs using Hugging Face Transformers and PEFT (which includes LoRA), along with distributed training and Bayesian hyperparameter optimization — exactly the kind of parameter-efficient fine-tuning framework you are looking for.
Axolotl is a distributed training orchestrator and fine-tuning framework for large language models, multimodal systems, and quantized models. It provides a structured environment for specializing pre-trained models through full parameter updates or low-rank adaptation, as well as aligning model outputs with human expectations via preference tuning pipelines and reward modeling. The system distinguishes itself through a configuration-driven pipeline that manages preprocessing and training workflows via a single file for reproducibility. It implements high-throughput optimizations such as multi
Axolotl is a distributed training orchestrator and fine-tuning framework that supports parameter-efficient methods like LoRA, dataset preparation, and scaling for LLMs, making it a comprehensive fit for custom model training.
Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a configurable training pipeline orchestrated through YAML recipes, with CLI overrides and component swapping, distributed training via FSDP2, memory optimizations, and parameter-efficient fine-tuning methods like LoRA, DoRA, and QLoRA. The library distinguishes itself through its YAML-driven configuration system that defines all training parameters and instantiates components from config files, with full CLI override capability for any field or component at launch time. It suppo
Torchtune is a PyTorch-native library that provides YAML-configured training pipelines, distributed scaling, and parameter-efficient fine-tuning methods like LoRA, DoRA, and QLoRA — exactly the kind of framework this search targets for training LLMs on custom data.
Axolotl is a configuration-driven framework designed for the fine-tuning, evaluation, and quantization of large language models. It functions as a comprehensive orchestrator for distributed training, enabling users to manage complex workflows across multi-node and multi-GPU environments. By utilizing structured configuration files, the platform streamlines the setup of training parameters, dataset paths, and hardware distribution strategies. The project distinguishes itself through its support for diverse training methodologies, including full-parameter tuning, parameter-efficient adaptation,
Axolotl is a configuration-driven fine-tuning framework purpose-built for LLMs, directly supporting parameter-efficient methods like LoRA alongside full fine-tuning, dataset preprocessing, distributed orchestration, and model export — a comprehensive match for training on custom data.
Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a config-driven system for instantiating components, orchestrating distributed training, and managing parameter-efficient fine-tuning with quantization support, all through YAML-based configurations and command-line overrides. The library distinguishes itself through its comprehensive post-training workflow orchestration, combining supervised fine-tuning, preference optimization (DPO, PPO, GRPO), knowledge distillation, and quantization-aware training in a single configurable pip
Torchtune is a PyTorch-native library purpose-built for fine-tuning, aligning, and quantizing LLMs, with built-in support for parameter-efficient methods like LoRA, distributed training orchestration, YAML-based configuration, and a command-line interface — covering the core fine-tuning and training workflow the visitor is looking for.
Firefly is a training framework and inference engine for large language models. It functions as a toolkit for pre-training and fine-tuning various open-weight architectures, providing a system for model alignment and parameter-efficient fine-tuning. The project includes utilities for merging adapter weights back into base models to create standalone files. It also provides a model alignment toolkit to format training data according to specific prompt templates, ensuring conversational consistency across different models. The framework supports distributed model training and preference-based
Firefly is a training framework and inference engine for LLMs that supports parameter-efficient fine-tuning (LoRA/QLoRA), popular model architectures, distributed training, and weight merging—directly matching the visitor's need for a tool to fine-tune and train large language models with efficiency techniques.
Corenet is a deep learning training framework and computer vision model library designed for developing neural networks across vision, text, and audio modalities. It functions as a distributed training orchestrator for scaling workloads across multiple compute nodes and provides a multimodal data pipeline for processing image, text, and video data. The project includes a model conversion toolkit for transforming weights and architectures between different machine learning frameworks. It also provides tools for optimizing model performance on Apple Silicon and reducing response latency in gene
CoreNet is a multimodal deep learning training framework that supports LLM fine-tuning with parameter-efficient methods like instruction tuning and includes training orchestration, making it a suitable tool for custom LLM training, though its scope extends beyond pure LLMs.
LlamaFactory is a unified framework for fine-tuning and adapting large language models. It provides a comprehensive platform that standardizes training workflows across diverse machine learning architectures, allowing users to execute both full-tuning and parameter-efficient methods through a single interface. The project distinguishes itself by offering a low-code visual dashboard that enables users to configure experiments and monitor performance metrics in real time without writing extensive custom scripts. It also features a configuration-driven orchestration system that decouples experim
LlamaFactory is a unified, low-code framework for fine-tuning LLMs that supports popular base models, parameter-efficient methods like LoRA and QLoRA, and provides a visual dashboard and configuration-driven orchestration—covering virtually all the features this search requires.
Open-r1 is a framework designed for the large-scale training, distillation, and optimization of language models focused on complex reasoning and programming tasks. It provides a comprehensive suite of tools for managing distributed training jobs across multi-node clusters, enabling the development of high-performance models through reinforcement learning and supervised fine-tuning. The project distinguishes itself by integrating secure, containerized code execution environments directly into the training and evaluation lifecycle. By allowing models to run and verify code snippets against test
Open-r1 is a comprehensive framework from Hugging Face for large-scale training, distillation, and optimization of language models, covering distributed training orchestration, dataset preparation, and model evaluation—directly matching the need for fine-tuning LLMs on custom data with efficient techniques like supervised fine-tuning and reinforcement learning.
This project provides a Chinese large language model based on the LLaMA architecture. It is an instruction-tuned model optimized for natural language processing and multi-turn conversations in Chinese. The system includes a framework for parameter-efficient fine-tuning using low-rank adaptation and quantization to reduce memory requirements. It also implements retrieval augmented generation for local document question answering and supports long-context processing for sequences up to 64K tokens. The project covers a broad set of capabilities including supervised instruction tuning, reinforce
This repository provides a complete framework for parameter-efficient fine-tuning of LLaMA-family models using LoRA and quantization, covering supervised instruction tuning, RLHF, inference, and deployment—exactly the kind of tool you need for training LLMs on custom data.
This project is a comprehensive framework for the entire lifecycle of transformer-based language models, supporting everything from foundational pretraining to specialized deployment. It provides a modular toolkit for defining neural network architectures, managing data preparation pipelines, and executing training routines across various scales. The framework is designed to handle the full model development process, including supervised fine-tuning, behavioral alignment, and the integration of agentic capabilities. What distinguishes this framework is its focus on efficient training and adva
Minimind is a comprehensive framework for training and fine-tuning transformer-based language models, covering pretraining, supervised fine-tuning, alignment, and efficient training techniques, with modular tooling for data pipelines, architecture definition, and training orchestration — exactly the kind of end-to-end LLM fine-tuning toolkit this search requires.
h2o-llmstudio is a language model training framework that provides a no-code graphical interface for fine-tuning large language models on custom datasets. It functions as a specialized tool for managing the training lifecycle, from configuring hyperparameters to monitoring performance metrics. The project distinguishes itself through a multi-GPU training orchestrator that distributes workloads via data parallel processing and a low-rank adaptation tool for memory-efficient fine-tuning. It also includes a model evaluation dashboard featuring an interactive chat interface to verify conversation
h2o-llmstudio is an open-source fine-tuning framework that combines a no-code graphical interface with a low-rank adaptation (LoRA) tool for memory-efficient training, multi-GPU orchestration, and interactive evaluation — directly covering the key capabilities for fine-tuning LLMs on custom datasets.
PaddleNLP is a development library and toolkit for training, fine-tuning, and deploying large and small language models using the PaddlePaddle framework. It provides a comprehensive suite for the entire natural language processing lifecycle, from model development to high-performance inference. The project features a standardized model zoo for loading and managing pre-trained models and tokenizers through a unified interface. It distinguishes itself with a specialized model compression framework that reduces memory footprints via weight precision conversion and lossless size optimization, alo
PaddleNLP is a development kit for training and fine-tuning large language models on PaddlePaddle, with support for model compression (like quantisation) and distributed scaling; it covers model zoos, fine-tuning toolkits, and deployment, but lacks explicit reference to automated hyperparameter optimisation.
This project is a language model finetuning framework designed to adapt large language models to specific datasets using supervised fine-tuning and low-rank adaptation. It serves as a distributed training manager that coordinates workloads and synchronizes gradients across multiple processing units to scale performance. The framework includes a specialized toolkit for low-rank adaptation to update a subset of model weights, reducing memory and hardware requirements. It provides capabilities for instruction fine-tuning, domain adaptation, and the optimization of function calling to improve how
Mistral Finetune is a purpose-built fine-tuning framework from Mistral AI that uses LoRA and distributed training to adapt large language models to custom data, directly matching the search for an LLM fine-tuning and training framework.
Ludwig is a multimodal machine learning platform and low-code framework designed for building, training, and deploying neural networks. It enables the construction of models that process text, images, audio, and tabular data through a unified interface using declarative configuration files rather than custom code. The system features a specialized low-code framework for large language models, supporting supervised fine-tuning, preference alignment, and a constrained decoding tool to force structured data output via logit extraction. It also includes an automated model architecture search to i
Ludwig is a low-code machine learning platform that supports building and fine-tuning large language models through declarative configurations, covering supervised fine-tuning and preference alignment, making it a solid fit for an LLM fine-tuning framework, though it does not explicitly highlight parameter-efficient techniques like LoRA.
Unsloth is a high-performance training and inference platform designed to optimize the lifecycle of large language and multimodal models. It provides a comprehensive engine for fine-tuning, executing, and managing models locally, with a focus on reducing memory consumption and increasing compute speed on consumer-grade hardware. The platform distinguishes itself through hand-optimized kernels and automated computational graph techniques that maximize hardware throughput. It supports advanced training methodologies, including reinforcement learning for reasoning and efficient adapter-based fin
Unsloth is a high-performance training and inference platform purpose-built for fine-tuning large language models on custom data, with hand‑optimized kernels and support for parameter‑efficient adapters like LoRA, making it a comprehensive solution that matches your core requirements.
Transformers is a comprehensive library for machine learning that provides a unified interface for training, fine-tuning, and deploying transformer-based models. It supports a wide range of tasks, including text classification, language modeling, question answering, and sequence-to-sequence translation, while offering specialized architectures for both text and vision processing. The framework includes tools for managing the entire model lifecycle, from data preprocessing and tokenization to distributed training and inference. The library features extensive support for model optimization and
Hugging Face Transformers is the standard library for fine-tuning and training large language models, covering the full pipeline from data preparation through distributed training to inference, and it integrates seamlessly with parameter-efficient methods like LoRA via the companion PEFT library.
This library provides a comprehensive framework for fine-tuning, aligning, and distilling transformer-based language models. It serves as a toolkit for adapting models to specialized domains through supervised learning, while offering advanced methodologies to improve output quality and reasoning capabilities. The project distinguishes itself through specialized alignment and optimization techniques, including direct preference optimization and reinforcement learning, which allow models to be tuned against human preferences without complex reward modeling. It further supports training efficie
TRL from Hugging Face is a dedicated library for fine-tuning and aligning large language models, supporting parameter-efficient methods like LoRA through tight integration with the PEFT library and providing dataset utilities, training orchestration, and model export, which exactly matches the need for a framework to fine-tune LLMs on custom data.
NeMo is a multimodal AI framework and toolkit designed for the development, training, and scaling of large language models, generative AI systems, and speech-based models. It functions as an automatic speech recognition toolkit, a text-to-speech engine, and a framework for building models that process and generate combinations of text, image, and audio data. The project serves as a conversational AI orchestrator capable of managing real-time, interruptible voice interactions. It provides specialized workflows for speech translation, converting spoken audio from one language into text or speec
NeMo is an open-source framework from NVIDIA specifically designed for training and fine‑tuning large language models, supporting parameter‑efficient methods like LoRA, dataset preparation, and scalable orchestration—directly matching what you are looking for.
This project is a comprehensive toolkit for adapting large language models to the Chinese language, providing a specialized framework for fine-tuning, inference, and local deployment. It serves as a coordinated suite for language-specific adaptation, including tools for expanding tokenizers and implementing retrieval-augmented generation. The project distinguishes itself through a complete pipeline for model adaptation, featuring multilingual tokenizer expansion and a fine-tuning framework that supports instruction-based supervised training and adapter merging. It also includes a dedicated de
This toolkit provides a specialized framework for fine-tuning large language models with techniques like LoRA and instruction-based training, plus dataset preparation and inference capabilities—it matches your search for a fine-tuning framework, though it is tailored to Chinese-language model adaptation.
xtuner is a comprehensive training engine for large language models, offering a toolkit for pre-training, supervised fine-tuning, and the optimization of vision-language multimodal models. It serves as a distributed training accelerator and a specialized framework for scaling Mixture-of-Experts models and aligning model behavior through reinforcement learning from human feedback. The project distinguishes itself through advanced memory and compute optimizations, such as sequence parallelism for ultra-long context windows and interleaved pipeline parallelism to reduce GPU idle time. It provide
XTuner is a comprehensive training engine for large language models with support for pre-training, supervised fine-tuning, and distributed scaling, directly matching the search for an LLM fine-tuning framework, though it does not specifically highlight parameter-efficient techniques like LoRA.
This project is a LLaMA fine-tuning framework and training pipeline designed for instruction tuning using low-rank adaptation. It provides a system for adapting large language models through a portable, containerized machine learning environment and a web-based inference interface. The framework enables the training of low-rank adapters and the subsequent merging of these weights back into base models to create standalone checkpoints. It includes utilities for defining and formatting prompt templates to ensure consistent data structures during the fine-tuning and inference processes. The pro
Alpaca-LoRA is an instruction fine-tuning framework for LLaMA models that uses low-rank adaptation (LoRA) for parameter-efficient training, and includes dataset formatting, a training pipeline, weight merging, and a web-based inference interface—directly matching your need for an LLM fine-tuning tool with LoRA efficiency, though it is centered on LLaMA and lacks automated hyperparameter optimization.
FastChat is a training and serving platform for large language models that provides an integrated toolkit for fine-tuning, hosting, and benchmarking chatbots. It functions as an inference server capable of hosting multiple models and exposing them via a standardized API for chat applications. The platform distinguishes itself through a distributed model controller that manages worker nodes and routes requests across a hardware-agnostic inference layer supporting various accelerators. It includes a dedicated evaluation framework for assessing model quality using automated judges, multi-turn di
FastChat is a training and serving platform for large language models that includes fine-tuning capabilities alongside inference and evaluation, fitting your search for an LLM fine-tuning framework even though its primary focus is serving and benchmarking rather than deep fine-tuning workflows.
DeepSpeed is a distributed deep learning optimization library and framework designed for the training and inference of massive AI models. It serves as a model parallelism orchestrator and a toolkit for scaling large language models across multiple GPUs and compute nodes. The project distinguishes itself through 3D parallelism orchestration, which combines data, pipeline, and tensor parallelism. It utilizes ZeRO-based memory partitioning to eliminate redundant storage and employs CPU-offload memory management to move weights and optimizer states to system RAM. Additionally, it provides special
DeepSpeed is a distributed training optimization library that supports memory-efficient fine-tuning of large models through techniques like ZeRO offloading, and it offers a CLI and API for scaling and inference, making it a relevant framework for LLM fine-tuning despite its emphasis on multi-GPU setups.
This project is a training pipeline and framework for developing Chinese language models based on the Llama 2 architecture. It functions as a distributed GPU trainer and dataset preprocessing toolkit designed for both the initial pre-training of baseline models and subsequent supervised fine-tuning. The system distinguishes itself through a specialized workflow for Chinese text, incorporating a data curation pipeline that uses similarity hashing for deduplication and a tokenization process that converts raw text into memory-mapped binary files for efficient disk access. It implements a superv
Baby-Llama2-Chinese is a training pipeline and distributed GPU trainer for fine-tuning Llama 2 models on custom data, including dataset preparation and SFT support, which fits the intent of an LLM fine-tuning framework, though it is specialized to Chinese and does not explicitly mention LoRA or parameter-efficient fine-tuning.
Nanochat is a lightweight execution environment designed for training and running language models on standard consumer hardware. It functions as both a neural network training framework and an inference engine, enabling users to perform backpropagation-based training and model execution directly on general-purpose processors without the need for dedicated graphics hardware. The project distinguishes itself through a suite of optimization tools that prioritize efficiency on local machines. By utilizing memory-mapped weight loading and CPU-optimized vector math, it maximizes throughput for inte
Nanochat is a lightweight training and inference framework for language models on consumer hardware, which fits the category of an LLM training framework, but its CPU-only focus and lack of explicit support for parameter-efficient fine-tuning or popular large base models mean it suits small-scale experiments rather than the typical fine-tuning workflows this search expects.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| huggingface/peft | 21.3K | Python | Apache-2.0 | |
| tatsu-lab/stanford_alpaca | 30.3K | Python | apache-2.0 | |
| 72.2K |
| Python |
| Apache-2.0 |
| zyds/transformers-code | 3.8K | Jupyter Notebook | — |
| openaccess-ai-collective/axolotl | 12.1K | Python | Apache-2.0 |
| pytorch/torchtune | 5.8K | Python | BSD-3-Clause |
| axolotl-ai-cloud/axolotl | 12.1K | Python | Apache-2.0 |
| meta-pytorch/torchtune | 5.8K | Python | BSD-3-Clause |
| yangjianxin1/firefly | 6.6K | Python | — |
| apple/corenet | 7K | Jupyter Notebook | NOASSERTION |