← all repositories
meta-llama/llama-cookbook

Meta’s official Llama field guide, freshly reorganized

Meta’s official answer to 'I cloned the model, now what?'

18.5k stars Jupyter Notebook LearningLanguage Models
llama-cookbook
Velocity · 7d
+20
★ / day
Trend
accelerating
star history

What it does

Llama Cookbook is a repository of Jupyter notebooks and reference code organized into getting-started guides for inference, fine-tuning, and RAG, plus end-to-end use cases and third-party integration examples. It covers both text and vision models across the Llama family, including the latest Llama 4 recipes for long-context work, research analysis, and API bots. The src directory still houses the original llama-recipes library code and a fine-tuning FAQ, preserved after the project’s recent rename and reorganization.

The interesting bit

The repo straddles both open-weight models and Meta’s newer hosted Llama API, offering recipes that range from local fine-tuning to a WhatsApp-integrated bot. That breadth makes it less a single framework and more a curated field guide for wherever you happen to be deploying Llama.

Key highlights

  • Covers the full lifecycle from inference and fine-tuning to RAG and deployed end-to-end use cases
  • Latest Llama 4 recipes include 5-million-token context windows with Scout, research-paper analysis with Maverick, and a WhatsApp bot integration
  • Includes third-party provider integrations alongside Meta’s own Llama API and open-weight model workflows
  • Preserves the original llama-recipes library source and fine-tuning FAQs in src after the recent refactor

Caveats

  • The repo recently underwent a major refactor; the README warns that some links may still be broken or folders missing, with an archive-main snapshot available for the old layout
  • Several Llama 4 recipes rely on the Llama API, which currently requires joining a waitlist

Verdict

Worth bookmarking if you are actively building with Llama and prefer to start from a working notebook rather than a blank page. Skip it if you need a unified framework or are not interested in Meta’s model family.

Frequently asked

What is meta-llama/llama-cookbook?
Meta’s official answer to 'I cloned the model, now what?'
Is llama-cookbook open source?
Yes — meta-llama/llama-cookbook is open source, released under the MIT license.
What language is llama-cookbook written in?
meta-llama/llama-cookbook is primarily written in Jupyter Notebook.
How popular is llama-cookbook?
meta-llama/llama-cookbook has 18.5k stars on GitHub and is currently accelerating.
Where can I find llama-cookbook?
meta-llama/llama-cookbook is on GitHub at https://github.com/meta-llama/llama-cookbook.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.