Home / Companies / Modal / Blog / Post Details
Content Deep Dive

Best frameworks for fine-tuning LLMs in 2025

Blog post from Modal

Post Details
Company
Date Published
Author
Yiren Lu
Word Count
614
Company Posts That Month
4
Language
English
Hacker News Points
-
Post removed?
No
Summary

Axolotl is a wrapper for lower-level Hugging Face libraries that simplifies the fine-tuning process of large language models, offering granular control while being easier to use. It comes with built-in default values and optimizations, including sample packing, which can improve training efficiency. Axolotl allows users to train open weights models like LLaMA 3/LLaMA 3.1, Pythia, and Falcon on their own data without needing to implement the fine-tuning process from scratch. Unsloth is a framework designed to dramatically improve the speed and efficiency of LLM fine-tuning, allowing users to fine-tune Llama 3.1, Mistral, Phi & Gemma LLMs up to 2-5x faster with 80% less memory usage compared to FA2. Torchtune is a PyTorch-native library for easily fine-tuning LLMs, offering a lean and extensible design that's just pure PyTorch, with excellent interoperability with popular libraries across the PyTorch ecosystem. The choice between these tools ultimately depends on specific requirements, hardware constraints, and level of expertise, with Axolotl being recommended as a good starting point for beginners.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
AI Model Fine-tuning 14 862 147 71 +81%
LLM 6 3,709 434 145 +39%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.