awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

56 repos

Awesome GitHub RepositoriesSupervised Fine-Tuning

Methods for updating pre-trained models using labeled instruction datasets to improve performance on specific tasks.

Distinguishing note: Focuses on the training methodology for instruction-following models rather than general model architecture.

Explore 56 awesome GitHub repositories matching artificial intelligence & ml · Supervised Fine-Tuning. Refine with filters or upvote what's useful.

Awesome Supervised Fine-Tuning GitHub Repositories

Find the best repos with AI.We'll search the best matching repositories with AI.
  • deepseek-ai/deepseek-r1deepseek-ai avatar

    deepseek-ai/DeepSeek-R1

    91,996View on GitHub↗

    DeepSeek-R1 is an open-weights large language model focused on advanced reasoning. It uses chain-of-thought processing and internal monologues to solve complex mathematical and logical problems by breaking tasks into sequential, verifiable thought processes. The model is developed using reinforcement learning to optimize reasoning patterns and verify logical steps. It employs a distillation process to transfer these high-performance logic capabilities from a large teacher model into smaller, computationally efficient versions. The training framework incorporates group relative policy optimiz

    Uses a high-quality reasoning dataset for initial supervised fine-tuning to establish a baseline for reinforcement learning.

    View on GitHub↗91,996
  • openai/codexopenai avatar

    openai/codex

    91,445View on GitHub↗

    Codex is an automated programming tool and generative code assistant designed to interpret developer intent through a natural language interface. It functions as a machine learning model trained on public code repositories to provide intelligent code completion, suggestions, and refactoring within development environments. By translating human instructions into executable code snippets, the system bridges the gap between high-level technical requirements and functional software implementation. The engine utilizes transformer-based sequence modeling and supervised fine-tuning to align its outp

    Refines pre-trained models on curated datasets to align output patterns with specific programming styles and requirements.

    Rust
    View on GitHub↗91,445
  • mlabonne/llm-coursemlabonne avatar

    mlabonne/llm-course

    80,178View on GitHub↗

    This project is a comprehensive educational curriculum and engineering handbook focused on the lifecycle of large language models. It serves as a structured knowledge base for machine learning practitioners, covering the fundamental mathematical and architectural principles of transformer-based sequence modeling, as well as the practical implementation of supervised instruction fine-tuning and preference-based model alignment. The repository distinguishes itself by providing a deep dive into advanced model composition and optimization techniques. It details methodologies for weight-space mode

    Describes methods for refining pre-trained models on curated datasets to improve task-specific performance.

    courselarge-language-modelsllm
    View on GitHub↗80,178
  • hiyouga/llama-efficient-tuninghiyouga avatar

    hiyouga/LLaMA-Efficient-Tuning

    72,239View on GitHub↗

    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

    Updates pre-trained models using labeled instruction datasets to improve performance on specific tasks.

    Python
    View on GitHub↗72,239
  • hiyouga/llama-factoryhiyouga avatar

    hiyouga/LLaMA-Factory

    72,241View on GitHub↗

    LLaMA-Factory is a comprehensive suite for dataset preparation, model fine-tuning, memory optimization, and standardized API deployment. It provides a unified platform for the supervised and reward-based fine-tuning of large language models and vision-language models. The framework includes a specialized toolkit for training vision-language models and a model serving interface that deploys trained models through high-performance APIs. It utilizes precision tuning and quantization techniques to reduce the hardware requirements and memory footprint of large models. The system covers data pipel

    Provides a supervised fine-tuning pipeline to align model outputs with human goals using labeled instruction datasets.

    Python
    View on GitHub↗72,241
  • facebookresearch/fairseqfacebookresearch avatar

    facebookresearch/fairseq

    32,228View on GitHub↗

    Fairseq is a PyTorch toolkit for sequence-to-sequence modeling, specializing in neural machine translation, automatic speech recognition, and large-scale language model training. It provides a framework for processing and aligning diverse data sources, including text, audio, and video, to support tasks such as speech-to-text conversion and multimodal sequence learning. The project is distinguished by its distributed training capabilities, which utilize parameter sharding, mixed-precision training, and CPU offloading to handle models that exceed single-device memory. It also includes specializ

    Adapts pre-trained sequence-to-sequence models to specific language pairs using supervised datasets.

    Python
    View on GitHub↗32,228
  • tatsu-lab/stanford_alpacatatsu-lab avatar

    tatsu-lab/stanford_alpaca

    30,266View on GitHub↗

    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

    Updates pre-trained language models by minimizing the difference between predicted outputs and target responses.

    Pythondeep-learninginstruction-followinglanguage-model
    View on GitHub↗30,266
  • openbmb/voxcpmOpenBMB avatar

    OpenBMB/VoxCPM

    29,985View on GitHub↗

    VoxCPM is a multilingual speech synthesis system and text-to-speech inference server. It functions as an AI voice cloning tool and a synthetic voice designer, capable of generating natural speech across global languages and regional dialects using a GPU-accelerated audio generator. The project features a speech model fine-tuning framework that supports both full parameter updates and low-rank adaptation for customizing voice characteristics. It enables high-fidelity voice cloning from reference audio, including cross-lingual voice transfer and acoustic environment mimicry, as well as the crea

    Adapts models to specific speakers or languages using labeled datasets and supervised fine-tuning.

    Pythonaudiodeeplearningminicpm
    View on GitHub↗29,985
  • qwenlm/qwen2.5QwenLM avatar

    QwenLM/Qwen2.5

    27,307View on GitHub↗

    Qwen2.5 is a suite of large language model foundation models designed for natural language generation, code production, and complex mathematical reasoning. The project encompasses a multilingual language model capable of processing dozens of languages and a specialized code generation model for technical problem solving and debugging. The framework is distinguished by its long context capabilities, enabling the analysis of massive inputs ranging from 256K up to 1 million tokens. It further functions as an agentic framework, utilizing standardized templates and parsers to execute autonomous wo

    Refines the base model using high-quality curated instruction datasets to align responses with human preferences.

    Python
    View on GitHub↗27,307
  • datawhalechina/llm-cookbookdatawhalechina avatar

    datawhalechina/llm-cookbook

    24,263View on GitHub↗

    This repository is a comprehensive set of tutorials and examples for building software powered by large language models. It serves as an application development guide and a prompt engineering framework, providing instructional content for integrating model logic with user interfaces and external data sources. The project provides technical walkthroughs for specialized workflows, including the implementation of retrieval augmented generation using vector databases and semantic search. It includes guidance on adapting pre-trained model weights through fine-tuning with private datasets and the o

    Offers guidance on adapting pre-trained model weights using curated private datasets for specialized tasks.

    Jupyter Notebookcookbookllm
    View on GitHub↗24,263
  • volcengine/verlvolcengine avatar

    volcengine/verl

    22,015View on GitHub↗

    verl is a distributed training system designed for large language model alignment and reinforcement learning. It provides a framework for executing post-training pipelines, including supervised fine-tuning and reinforcement learning from human feedback, to refine model behavior and agentic capabilities. The system utilizes a hybrid training and inference engine that optimizes memory and communication when switching between model generation and gradient updates. It supports multi-modal reinforcement learning for models processing both image and text data, and implements algorithms such as PPO

    Provides supervised fine-tuning capabilities as a prerequisite or complement to reinforcement learning.

    Python
    View on GitHub↗22,015
  • lvwerra/trllvwerra avatar

    lvwerra/trl

    18,718View on GitHub↗

    This project is a transformer post-training toolkit and reinforcement learning library designed to align language model behavior with human preferences. It provides a framework for managing the transition from supervised fine-tuning to reinforcement learning and preference optimization. The library distinguishes itself through a specialized focus on preference optimization and reward modeling, enabling the adjustment of model outputs based on preferred versus rejected examples. It also includes capabilities for training agents within controlled sandbox environments using task suites and verif

    Manages the transition from standard supervised fine-tuning to reinforcement learning for iterative behavior refinement.

    Python
    View on GitHub↗18,718
  • huggingface/trlhuggingface avatar

    huggingface/trl

    18,653View on GitHub↗

    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

    Adapts transformer models to specific domains using supervised fine-tuning pipelines on curated datasets.

    Python
    View on GitHub↗18,653
  • facebookresearch/llama-recipesfacebookresearch avatar

    facebookresearch/llama-recipes

    18,379View on GitHub↗

    This repository is a collection of frameworks and guides for Llama models, functioning as a fine-tuning framework, an inference pipeline, and an AI workflow orchestrator. It provides tools for adapting large language models to specific datasets and domains. The project includes a parameter-efficient fine-tuning toolkit that utilizes techniques like low-rank adaptation to reduce memory and compute requirements. It also serves as an implementation guide for retrieval-augmented generation, combining model inference with external data retrieval to improve response accuracy. The capability surfac

    Implements training loops that process labeled prompt-response datasets to align model behavior.

    Jupyter Notebook
    View on GitHub↗18,379
  • meta-llama/codellamameta-llama avatar

    meta-llama/codellama

    16,307View on GitHub↗

    CodeLlama is a family of large language models derived from the Llama 2 architecture and specialized for producing, completing, and refactoring source code across multiple programming languages. It functions as a code generation model capable of synthesizing source code from natural language descriptions. The project includes specific model variants designed for different programming tasks. This includes instruction-tuned models trained to follow complex natural language directions and code infilling models that predict and insert missing code segments into existing files by analyzing surroun

    Adjusts model weights on curated programming datasets to improve adherence to coding constraints and styles.

    Python
    View on GitHub↗16,307
  • thudm/chatglm3THUDM avatar

    THUDM/ChatGLM3

    13,676View on GitHub↗

    ChatGLM3 is an open-weights large language model designed for bilingual conversational interactions in English and Chinese. It functions as a tool-augmented system capable of calling external functions and executing internal code to resolve complex tasks. The model utilizes four-bit quantization to reduce memory requirements, enabling inference on consumer hardware and diverse processing units including GPUs and CPUs. It features an expanded context window for processing and summarizing long documents and includes a supervised fine-tuning pipeline for adapting the model to specialized domains

    Includes a supervised fine-tuning pipeline to align model responses with human conversation patterns.

    Python
    View on GitHub↗13,676
  • openlmlab/mossOpenLMLab avatar

    OpenLMLab/MOSS

    12,140View on GitHub↗

    MOSS is a conversational AI platform, fine-tuning toolkit, and quantized model runtime. It provides a framework for deploying large language models capable of multi-turn dialogue, general-purpose response generation, and following complex instructions. The system functions as a tool-augmented framework that extends model knowledge through external plugins and tool-call loops. This allows the model to execute tasks via search engines and calculators to augment responses with external data. The project covers model training through supervised conversational fine-tuning and optimizes deployment

    Implements supervised fine-tuning methods to optimize pre-trained models for specific conversational tasks.

    Python
    View on GitHub↗12,140
  • openmoss/mossOpenMOSS avatar

    OpenMOSS/MOSS

    12,140View on GitHub↗

    MOSS is a conversational AI API server and framework designed to manage stateful multi-turn dialogues via session identifiers for remote interaction. It functions as a tool-augmented language model framework and a quantized inference engine. The project integrates external plugins, such as search engines and calculators, to provide factual and computed data within model responses. It also includes a supervised fine-tuning toolkit for adapting base language models to specific conversational datasets and behavioral instructions. The system supports inference optimization through 4-bit and 8-bi

    Supports training base models on custom conversational datasets to adapt specific behaviors.

    Pythonchatgptdeep-learningdialogue-systems
    View on GitHub↗12,140
  • ludwig-ai/ludwigludwig-ai avatar

    ludwig-ai/ludwig

    11,717View on GitHub↗

    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

    Performs supervised fine-tuning and alignment training to adapt large language models to specific tasks.

    Pythoncomputer-visiondata-centricdata-science
    View on GitHub↗11,717
  • uber/ludwiguber avatar

    uber/ludwig

    11,718View on GitHub↗

    Ludwig is a declarative machine learning framework designed for training neural networks and large language models using configuration files instead of manual coding. It functions as a multimodal model builder and a low-code tool for supervised fine-tuning, allowing users to build models that process mixed inputs of text, images, audio, and tabular data. The project distinguishes itself through an automated hyperparameter optimizer and a system for large language model fine-tuning using parameter-efficient adapters. It features a multimodal data pipeline and the ability to automatically gener

    Supports adapting pre-trained models using labeled instruction datasets and quantization techniques.

    Python
    View on GitHub↗11,718
Prev123Next
  1. Home
  2. Artificial Intelligence & ML
  3. Supervised Fine-Tuning

Explore sub-tags

  • Cold-Start Initializations2 sub-tagsInitial training phases using a small set of high-quality examples to establish a reasoning baseline. **Distinct from Supervised Fine-Tuning:** Distinct from general supervised fine-tuning: focuses specifically on the initial 'cold-start' phase to seed reasoning patterns for RL.
  • Contrastive Fine-TuningSpecialized supervised fine-tuning that optimizes the distance between positive and negative pairs in a vector space. **Distinct from Supervised Fine-Tuning:** Distinct from general supervised fine-tuning by focusing on contrastive loss for embedding distance rather than instruction-following.
  • Instruction-Tuning Training1 sub-tagTraining supervised fine-tuning models on instruction-response data by converting datasets into message format. **Distinct from Supervised Fine-Tuning:** Distinct from Supervised Fine-Tuning: focuses specifically on training with instruction-response data converted to OpenAI message format, not general SFT methods.
  • RL Transition PipelinesWorkflows that move a model from supervised fine-tuning to reinforcement learning stages. **Distinct from Supervised Fine-Tuning:** Focuses on the transition and iteration between SFT and RL, not just the SFT methodology.