---
title: "Open-source LLM fine-tuning and model training tools"
type: "category"
slug: "model-training"
canonical_url: "https://www.graphcanon.com/categories/model-training"
tool_count: 572
description: "Compare Unsloth, LlamaFactory, TRL, and Axolotl for fine-tuning using recorded adoption, maintenance and relevance signals, plus workflow requirements."
---

# Model Training

*GraphCanon updated Oct 29, 2026*

Model training tools cover fine-tuning and post-training (LoRA, QLoRA, RLHF) when prompting and RAG are not enough for style, format, or domain behavior. Consider lighter adapters before full fine-tunes, and assess whether retrieval already covers missing knowledge. GraphCanon lists published toolkits with recorded GitHub metadata, comparisons and alternatives to help you evaluate the options. transformers appears first in the displayed ranking among 572 published tools; its recorded GitHub star count is 166,279.

572 tools in this category (showing 60).

## Featured comparisons

- [Unsloth vs Axolotl](/compare/axolotl-ai-cloud-axolotl-vs-unslothai-unsloth.md)
- [Unsloth vs LlamaFactory](/compare/hiyouga-llamafactory-vs-unslothai-unsloth.md)
- [Ollama vs Unsloth](/compare/ollama-ollama-vs-unslothai-unsloth.md)

## Alternatives hubs

- [Unsloth alternatives](/tools/unslothai-unsloth/alternatives.md)
- [LlamaFactory alternatives](/tools/hiyouga-llamafactory/alternatives.md)
- [TRL alternatives](/tools/huggingface-trl/alternatives.md)

## Stacks

- [The local / self-hosted LLM stack](/stacks/local-llm.md)

## Tools

- [transformers](/tools/huggingface-transformers.md) - 🤗 Transformers: state-of-the-art machine learning models for text, vision, audio, and multimodal models (★ 166,279) [Very active]
- [tensorflow](/tools/tensorflow-tensorflow.md) - An Open Source Machine Learning Framework for Everyone (★ 200,493) [Very active]
- [LLMs-from-scratch](/tools/rasbt-llms-from-scratch.md) - Implement a ChatGPT-like LLM in PyTorch from scratch, step by step (★ 105,176) [Very active]
- [caveman](/tools/juliusbrussee-caveman.md) - Reduces token usage by 65% through minimalistic language for coding agents (★ 106,401) [Very active]
- [keras](/tools/keras-team-keras.md) - Deep Learning for humans (★ 64,343) [Very active]
- [LlamaFactory](/tools/hiyouga-llamafactory.md) - Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (★ 74,849) [Very active]
- [unsloth](/tools/unslothai-unsloth.md) - Local UI for running and training LLMs and diffusion models (★ 76,344) [Very active]
- [headroom](/tools/headroomlabs-ai-headroom.md) - Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. (★ 72,850) [Very active]
- [ai-engineering-from-scratch](/tools/rohitg00-ai-engineering-from-scratch.md) - Learn, build, and deploy AI engineering skills from scratch. (★ 54,935) [Active]
- [llama_index](/tools/run-llama-llama-index.md) - Document processing platform for AI (★ 52,207) [Very active]
- [hello-agents](/tools/datawhalechina-hello-agents.md) - A comprehensive guide to building intelligent agents from scratch (★ 79,727) [Very active]
- [LibreChat](/tools/danny-avila-librechat.md) - Enhanced ChatGPT Clone with extensive features and integrations for self-hosting (★ 44,416) [Very active]
- [ray](/tools/ray-project-ray.md) - Unified framework for scaling AI and Python applications (★ 43,863) [Very active]
- [LocalAI](/tools/mudler-localai.md) - Open-source AI engine for running various models on any hardware (★ 49,150) [Very active]
- [LightRAG](/tools/hkuds-lightrag.md) - Simple and Fast Retrieval-Augmented Generation (★ 39,743) [Very active]
- [FastGPT](/tools/labring-fastgpt.md) - A knowledge-based platform for developing and deploying complex question-answering systems (★ 29,690) [Very active]
- [onyx](/tools/onyx-dot-app-onyx.md) - Open Source AI Platform - AI Chat with advanced features that works with every LLM (★ 32,153) [Very active]
- [mlflow](/tools/mlflow-mlflow.md) - Open source AI engineering platform for agents, LLMs, and ML models (★ 28,010) [Very active]
- [netron](/tools/lutzroeder-netron.md) - Visualizer for neural network, deep learning and machine learning models (★ 33,524) [Very active]
- [RAG_Techniques](/tools/nirdiamant-rag-techniques.md) - Showcases advanced Retrieval-Augmented Generation (RAG) techniques with detailed notebook tutorials. (★ 29,525) [Very active]
- [peft](/tools/huggingface-peft.md) - State-of-the-art Parameter-Efficient Fine-Tuning (★ 21,704) [Very active]
- [code-review-graph](/tools/tirth8205-code-review-graph.md) - Local-first code intelligence graph for AI coding tools (★ 31,569) [Very active]
- [ml-engineering](/tools/stas00-ml-engineering.md) - Machine Learning Engineering Open Book (★ 19,009) [Very active]
- [FinGPT](/tools/ai4finance-foundation-fingpt.md) - Open-Source Financial Large Language Models (★ 21,265) [Very active]
- [generative-ai](/tools/googlecloudplatform-generative-ai.md) - Sample code and notebooks for Generative AI on Google Cloud, with Gemini Enterprise Agent Platform (★ 17,726) [Very active]
- [DeepSpeed](/tools/deepspeedai-deepspeed.md) - Deep learning optimization library for efficient distributed training and inference (★ 43,226) [Very active]
- [ludwig](/tools/ludwig-ai-ludwig.md) - Low-code framework for building custom LLMs and AI models (★ 11,772) [Very active]
- [txtai](/tools/neuml-txtai.md) - All-in-one AI framework for semantic search, LLM orchestration and language model workflows (★ 12,959) [Very active]
- [OpenLLM](/tools/bentoml-openllm.md) - Run any open-source LLMs as OpenAI compatible API endpoint in the cloud. (★ 12,559) [Very active]
- [pytorch](/tools/pytorch-pytorch.md) - Tensors and Dynamic neural networks in Python with strong GPU acceleration (★ 103,384) [Very active]
- [unstructured](/tools/unstructured-io-unstructured.md) - Convert documents to structured data effortlessly (★ 15,446) [Very active]
- [llm-app](/tools/pathwaycom-llm-app.md) - Ready-to-run cloud templates for RAG, AI pipelines, and enterprise search with live data (★ 58,920) [Steady]
- [litgpt](/tools/lightning-ai-litgpt.md) - High-performance LLMs for pretraining, finetuning, and deployment (★ 13,667) [Very active]
- [python-sdk](/tools/modelcontextprotocol-python-sdk.md) - Official Python SDK for Model Context Protocol servers and clients (★ 24,325) [Very active]
- [khoj](/tools/khoj-ai-khoj.md) - Self-hostable AI second brain for personalized research and automation (★ 37,399) [Steady]
- [mcp-for-beginners](/tools/microsoft-mcp-for-beginners.md) - Open-source curriculum for Model Context Protocol (MCP), covering modular and secure AI workflows in multiple languages (★ 17,256) [Very active]
- [awesome-gpt-image-2](/tools/youmind-openlab-awesome-gpt-image-2.md) - World's largest GPT Image 2 prompt library, updated daily (★ 9,918) [Very active]
- [LangGPT](/tools/langgptai-langgpt.md) - A pioneering framework for structured & meta-prompt design (★ 12,539) [Active]
- [happy-llm](/tools/datawhalechina-happy-llm.md) - 从零开始构建大模型 (★ 33,889) [Steady]
- [TensorRT-LLM](/tools/nvidia-tensorrt-llm.md) - Python API for defining and optimizing Large Language Models for efficient inference on NVIDIA GPUs (★ 14,645) [Very active]
- [metaflow](/tools/netflix-metaflow.md) - Build, Manage and Deploy AI/ML Systems (★ 10,273) [Very active]
- [OpenRLHF](/tools/openrlhf-openrlhf.md) - Scalable and High-performance Agentic RL Framework based on Ray (★ 10,014) [Very active]
- [ai-guide](/tools/liyupi-ai-guide.md) - 免费开放的AI知识共享平台 (★ 18,766) [Active]
- [ultralytics](/tools/ultralytics-ultralytics.md) - Ultralytics YOLO27, YOLO26, YOLO11, YOLOv8 for various computer vision tasks (★ 61,741) [Very active]
- [Paddle](/tools/paddlepaddle-paddle.md) - High-performance single-machine and distributed deep learning & machine learning framework (★ 24,105) [Very active]
- [CV](/tools/accumulatemore-cv.md) - 超级全面的 深度学习 笔记 (★ 23,321) [Steady]
- [tokenizers](/tools/huggingface-tokenizers.md) - Fast State-of-the-Art Tokenizers optimized for Research and Production (★ 11,047) [Very active]
- [bisheng](/tools/dataelement-bisheng.md) - BISHENG is an open LLM devops platform for next generation Enterprise AI applications (★ 11,879) [Very active]
- [garden-skills](/tools/conardli-garden-skills.md) - Skills collection for web design, knowledge retrieval, image generation and more. (★ 10,406) [Steady]
- [llm-action](/tools/liguodongiot-llm-action.md) - Aims to share large model technology principles and practical experience (large model engineering, application implementation) (★ 24,898) [Active]
- [axolotl](/tools/axolotl-ai-cloud-axolotl.md) - Go ahead and axolotl questions (★ 12,503) [Very active]
- [ColossalAI](/tools/hpcaitech-colossalai.md) - Making large AI models cheaper, faster and more accessible (★ 41,432) [Very active]
- [scikit-learn](/tools/scikit-learn-scikit-learn.md) - machine learning in Python (★ 67,389) [Very active]
- [machine-learning-for-trading](/tools/stefan-jansen-machine-learning-for-trading.md) - Code for Machine Learning for Trading, 3rd edition, from data sourcing to live execution. (★ 20,925) [Very active]
- [wandb](/tools/wandb-wandb.md) - Weights & Biases platform for model training and management (★ 11,262) [Very active]
- [awesome-generative-ai-guide](/tools/aishwaryanr-awesome-generative-ai-guide.md) - A one stop repository for generative AI research updates, interview resources, notebooks and much more! (★ 29,463) [Very active]
- [Skill_Seekers](/tools/yusufkaraaslan-skill-seekers.md) - Automation tool for converting documentation and code into Claude AI skills (★ 15,009) [Very active]
- [pytorch-lightning](/tools/lightning-ai-pytorch-lightning.md) - Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes. (★ 31,363) [Very active]
- [juicefs](/tools/juicedata-juicefs.md) - Distributed POSIX file system built on Redis and S3 (★ 14,479) [Very active]
- [self-llm](/tools/datawhalechina-self-llm.md) - 教程和指南，帮助用户在Linux环境下快速部署和微调开源大模型 (★ 32,251) [Very active]

## Common questions

### What are the best model training tools?

GraphCanon combines adoption, maintenance recency and topical relevance to rank Model Training tools. transformers appears first in the displayed list, with 166,279 recorded GitHub stars. Compare your requirements with the [maintenance labels](/glossary/trust-and-signals/maintenance-label) and graph relationships; this ranking does not establish a best tool for every use case.

### How does GraphCanon rank Model Training tools?

Category rankings combine adoption signals, maintenance recency and topical relevance, with a penalty for archived repositories. Stars and forks contribute to adoption; package downloads contribute when recorded. Paid placement does not affect the order. Alternatives and compare pages also expose [typed graph edges](/glossary/knowledge-graph/typed-edge) and shared categories.

### How many tools are in Model Training?

572 published tools are tagged with Model Training in the GraphCanon knowledge graph.

### What are popular Model Training comparisons?

Head-to-head compare pages in this category include Unsloth vs Axolotl, Unsloth vs LlamaFactory, Ollama vs Unsloth. Each comparison uses recorded GitHub metadata and optional [trust signals](/glossary/trust-and-signals/trust-signal) - see the comparisons block on this page.

### Which stacks use Model Training?

Curated workflow pages that include Model Training: [The local / self-hosted LLM stack](/stacks/local-llm). Each stack step includes when-not-to-use guidance.

### Where are graph-backed alternatives hubs for Model Training?

High-intent OSS-vs-OSS alternatives pages include [Unsloth alternatives](/tools/unslothai-unsloth/alternatives), [LlamaFactory alternatives](/tools/hiyouga-llamafactory/alternatives), [TRL alternatives](/tools/huggingface-trl/alternatives). Each hub ranks typed graph neighbors and constraint tags - not popularity votes.

### Is there a machine-readable Model Training list?

Yes. Append `.md` to this URL or fetch [`/md/categories/model-training`](/md/categories/model-training) for a markdown twin. The JSON API exposes the same corpus at [`/api/graphcanon/categories/model-training`](/api/graphcanon/categories/model-training).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/categories/model-training`](/api/graphcanon/categories/model-training)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - Evidence for your next tool choice. https://www.graphcanon.com/_
