Llama Cookbook

Official recipes to fine-tune Llama
Fine-tuningRecipes & scriptsMITRuns locallyPythonIntermediate
OSAI Pulse ⓘ ★★★★★★★★★★ /100 signals tracked
🐳 Docker pulls 📦 PyPI downloads / month 📦 npm downloads / month 🚀 Latest release ·
Visit website →View on GitHub

What is Llama Cookbook?

The official Meta cookbook of scripts and notebooks for fine-tuning, evaluating and deploying Llama models.

Why people choose Llama Cookbook

Llama Cookbook at a glance

CategoryFine-tuning
TypeRecipes & scripts
LicenseMIT
Runs locallyYes
Built withPython
Skill levelIntermediate
Best forfine-tuning Llama models the supported way

Open-source alternatives to Llama Cookbook

Other open-source fine-tuning tools worth comparing:

UnslothFine-tune LLMs 2x faster on one GPUAxolotlConfig-driven fine-tuning for many modelsLLaMA-FactoryFine-tune 100+ models with a UIPEFTLoRA and friends from Hugging FaceTRLAlign LLMs (SFT, DPO, PPO)TorchtunePyTorch-native post-training, hackable recipesms-swiftFine-tune 500+ LLMs and VLMs

Llama Cookbook head-to-head

Llama Cookbook vs UnslothLlama Cookbook vs AxolotlLlama Cookbook vs LLaMA-FactoryLlama Cookbook vs PEFTLlama Cookbook vs TRLLlama Cookbook vs TorchtuneLlama Cookbook vs ms-swift

FAQ

Is Llama Cookbook free?

Llama Cookbook is free and open-source (MIT license), so you can use, self-host and modify it at no cost.

Can I run Llama Cookbook locally?

Yes. Llama Cookbook is designed to run on your own machine or server, keeping your data private.

What is the best alternative to Llama Cookbook?

Popular open-source alternatives include Unsloth, Axolotl, LLaMA-Factory. See the comparisons above to choose.

Explore more open-source AI

Browse the full directory of open-source AI tools, models and projects — updated daily.

Browse all tools →