Python fine-tuning

Open-source Python projects categorized as fine-tuning

Top 23 Python fine-tuning Projects

fine-tuning
  1. unsloth

    Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

    Project mention: Fine-Tuning LLMs with LoRA & QLoRA: Complete Practical Guide | dev.to | 2026-10-12

    Unsloth (Faster Training)

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. LlamaFactory

    Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

  4. llama_index

    LlamaIndex is the document processing platform for AI

    Project mention: Every requirement satisfied, still broken: dependency bugs I found in six Python apps | dev.to | 2026-11-11

    llama-index: run-llama/llama_index#23871 and #23872

  5. CosyVoice

    Multi-lingual large voice generation model, providing inference, training and deployment full-stack ability.

    Project mention: CosyVoice on Mac: CosyVoice 2 and 3 Setup Guide | dev.to | 2026-11-11

    The project now lives under the QwenAudio/CosyVoice repository (the older FunAudioLLM links redirect there) and is licensed Apache-2.0. The architecture splits the job in two: a text to speech language model predicts supervised semantic speech tokens, then a conditional flow matching model turns those tokens into a Mel spectrogram for a given speaker, and a vocoder produces the waveform. The CosyVoice 2 paper describes a gradual semantic decoding procedure and says the design supports both streaming and non-streaming synthesis in one model.

  6. peft

    🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.

    Project mention: Fine-Tuning LLMs with LoRA & QLoRA: Complete Practical Guide | dev.to | 2026-10-12

    PEFT Documentation

  7. axolotl

    Go ahead and axolotl questions

    Project mention: Fine-Tuning LLMs with LoRA & QLoRA: Complete Practical Guide | dev.to | 2026-10-12

    Axolotl (Config-Based Training)

  8. OpenLLM

    Run any open-source LLMs, such as DeepSeek and Llama, as OpenAI compatible API endpoint in the cloud.

  9. ludwig

    Low-code framework for building custom LLMs, neural networks, and other AI models

    Project mention: Low-code framework for building custom AI | news.ycombinator.com | 2026-09-09
  10. Soup

    Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU. (by MakazhanAlpamys)

    Project mention: Show HN: Fine-tune an 8B model on a 4 GB laptop GPU | news.ycombinator.com | 2026-08-04

    There are some samples of training data in this folder - https://github.com/MakazhanAlpamys/Soup/tree/main/examples/d...

    They're all very short though. Anyone got a good rule for how much data of this nature is needed to successfully fine-tune a model of this size?

  11. oumi

    Easily fine-tune (SFT/RL), evaluate, and deploy Qwen, Gemma, or any open agentic LLM/VLM!

    Project mention: Oumi's FAiE Wants to Be the Engineer That Builds Your AI Agents — Explained Honestly | dev.to | 2026-11-05

    Sources: BusinessWire, 4 November 2026, "Oumi Launches the Agent That Builds, Trains, and Continuously Improves AI Agents" (https://www.businesswire.com/news/home/20261104154139/en/Oumi-Launches-the-Agent-That-Builds-Trains-and-Continuously-Improves-AI-Agents); Oumi (https://oumi.ai). All capability, quality, cost and control claims are Oumi's own, not independently tested results. No hands-on testing was performed. This breaking article is not the daily buyer-intent post, and it contains no affiliate links.

  12. Kiln

    Build, Evaluate, and Optimize AI Systems. Includes evals, RAG, agents, fine-tuning, synthetic data generation, dataset management, MCP, and more.

    Project mention: Kiln – a free app and open-source library to build better AI products | news.ycombinator.com | 2026-05-12
  13. h2o-llmstudio

    H2O LLM Studio - a framework and no-code GUI for fine-tuning LLMs. Documentation: https://docs.h2o.ai/h2o-llmstudio/

  14. OML-1.0-Fingerprinting

    OML 1.0 via Fingerprinting: Open, Monetizable, and Loyal AI

  15. MetaClaw

    🦞 Just talk to your agent — it learns and EVOLVES 🧬.

    Project mention: A free model matched GPT-5.2. No fine-tuning. It rewrote its own skill files until it got there | dev.to | 2026-04-01

    The paper is MetaClaw (arXiv:2603.17187). It is one of five papers published between March 15 and March 20 that all arrived at the same idea: let agents evolve their own skills.

  16. OneTrainer

    OneTrainer is a one-stop solution for all your Diffusion training needs.

    Project mention: Ask HN: Gen model to 1) design characters 2) make a consistent comic with them? | news.ycombinator.com | 2026-05-30

    I haven't used it in a while but OneTrainer [1] used to be the "industry standard" for a solid LoRA trainer you can use locally - though a lot of people use CivitAI's LoRA training tools online [2] as well.

    Biggest tip I can give is that more images is not necessarily better, rather the most important thing is that you caption/tag the images well so the LoRA learns the right "concepts".

    [1] - https://github.com/Nerogar/OneTrainer

    [2] - https://education.civitai.com/using-civitai-the-on-site-lora...

  17. SimpleTuner

    A general fine-tuning kit geared toward image/video/audio diffusion models.

  18. maestro

    streamline the fine-tuning process for multimodal models: PaliGemma 2, Florence-2, and Qwen2.5-VL (by roboflow)

  19. xTuring

    Build, personalize and control your own LLMs. From data pre-processing to fine-tuning, xTuring provides an easy way to personalize open-source LLMs. Join our discord community: https://discord.gg/TgHXuSJEk6

  20. maxtext

    A simple, performant, and scalable Jax LLM!

    Project mention: Agent Factory Recap: Reinforcement Learning and Fine-Tuning on TPUs | dev.to | 2026-03-31
  21. dstack

    A unified orchestration layer for heterogeneous AI compute. It standardizes how to manage compute and run training and inference on GPU clouds, Kubernetes, VMs, or bare-metal clusters.

  22. YiVal

    Your Automatic Prompt Engineering Assistant for GenAI Applications

  23. DB-GPT-Hub

    A repository that contains models, datasets, and fine-tuning techniques for DB-GPT, with the purpose of enhancing model performance in Text-to-SQL

  24. custom-diffusion

    Custom Diffusion: Multi-Concept Customization of Text-to-Image Diffusion (CVPR 2023)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python fine-tuning discussion

Log in or Post with

Python fine-tuning related posts

  • Every requirement satisfied, still broken: dependency bugs I found in six Python apps

    7 projects | dev.to | 11 Nov 2026
  • The model card is the model: a 3.7 KB PDF that classifies SMS

    1 project | dev.to | 9 Nov 2026
  • We put a 1.6 KB AI in a QR code, a favicon, and a WAV

    1 project | dev.to | 9 Nov 2026
  • Oumi's FAiE Wants to Be the Engineer That Builds Your AI Agents — Explained Honestly

    1 project | dev.to | 5 Nov 2026
  • Fine-Tuning LLMs with LoRA & QLoRA: Complete Practical Guide

    6 projects | dev.to | 12 Oct 2026
  • I Gave My AI Agents an Org Chart

    1 project | dev.to | 8 Oct 2026
  • One bug class, four fusion modes: finding cache corruption in QueryFusionRetriever

    1 project | dev.to | 3 Oct 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source fine-tuning projects in Python? This list will help you:

# Project Stars
1 unsloth 79,535
2 LlamaFactory 76,022
3 llama_index 52,894
4 CosyVoice 24,386
5 peft 21,888
6 axolotl 12,690
7 OpenLLM 12,600
8 ludwig 11,790
9 Soup 10,602
10 oumi 9,433
11 Kiln 5,280
12 h2o-llmstudio 5,193
13 OML-1.0-Fingerprinting 3,494
14 MetaClaw 3,468
15 OneTrainer 3,268
16 SimpleTuner 2,958
17 maestro 2,695
18 xTuring 2,679
19 maxtext 2,461
20 dstack 2,310
21 YiVal 2,137
22 DB-GPT-Hub 2,014
23 custom-diffusion 1,979

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Developer survey
Take the Python Developer Survey

About 6 minutes on the tools, libraries and AI you use with Python. You get the results by email.

Did you know that Python is
the 1st most popular programming language
based on number of references?