llama-cookbook README

The project's README from github.com/meta-llama/llama-cookbook. As one markdown file: README.md.

Llama Cookbook

Llama Model cards Llama Documentation Hugging Face meta-llama

Llama Tools Syntethic Data Kit Llama Tools Syntethic Data Kit

Official Guide to building with Llama

Welcome to the official repository for helping you get started with inference, fine-tuning and end-to-end use-cases of building with the Llama Model family.

This repository covers the most popular community approaches, use-cases and the latest recipes for Llama Text and Vision models.

Latest Llama 4 recipes

Repository Structure:

Note: We recently did a refactor of the repo, archive-main is a snapshot branch from before the refactor

FAQ:

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

See the License file for Meta Llama 4 here and Acceptable Use Policy here

See the License file for Meta Llama 3.3 here and Acceptable Use Policy here

See the License file for Meta Llama 3.2 here and Acceptable Use Policy here

See the License file for Meta Llama 3.1 here and Acceptable Use Policy here

See the License file for Meta Llama 3 here and Acceptable Use Policy here

See the License file for Meta Llama 2 here and Acceptable Use Policy here

llama-cookbook (meta-llama/llama-cookbook)

whatsapp
Searching Database…

What is this?The Llama Cookbook — Meta's official collection of recipes for building with the Llama model family: inference, fine-tuning, RAG and end-to-end use cases, mostly written as Jupyter notebooks.
Is it a library I install, or a collection of example notebooks?A recipe collection rather than a package: notebooks organized by topic, plus a src folder holding the original llama-recipes library code and fine-tuning FAQs.
How do I actually run the recipes?There is nothing to install — you open the notebooks and run them. Start with the Getting Started section, the reference for inferencing, fine-tuning and RAG, then explore the provider-integration and end-to-end use-case folders.
What do I need on my machine before opening a notebook?Python with Jupyter Notebook. Each recipe adds its own dependencies — the repo covers stacks like LangChain and vLLM — so check the requirements of the specific notebook you open.
Anything flaky about the repo right now?The repo was recently refactored, so some links are broken and a few folders are missing — the FAQ acknowledges this and points to the archive-main branch for the pre-refactor layout.
Is the code free to use in my own projects?The repo itself is MIT-licensed per GitHub metadata, but the models are not: every Llama generation from 2 to 4 ships its own Meta license file plus an Acceptable Use Policy you must accept to use the models.
Which Llama models do the recipes cover?Llama Text and Vision models. The newest recipes target Llama 4 — Scout and Maverick — and the repo keeps license files for every generation back to Llama 2.
What Llama 4 recipes can I try today?Getting started with the Llama API, a WhatsApp integration through that API, 5M-token long context with Llama 4 Scout, and research-paper analysis or character mind maps with Llama 4 Maverick.
Is this the same project that used to be called llama-recipes?Yes — Meta renamed llama-recipes to llama-cookbook and refactored the repository; the pre-refactor snapshot is preserved on the archive-main branch.
What is the difference between the Getting Started and End to End sections?Getting Started is the reference: inference, fine-tuning and RAG examples for learning the core skills. End to End Use Cases are complete applications across domains, while 3P Integrations collects recipes from various Llama providers.
Creator
meta-llama
Size
273.4 MB
Stars
18.6K
Age
3y
Commits · 90 Days