meta-llama/llama-cookbook
Welcome to the Llama Cookbook! This is your go to guide for Building with Llama: Getting started with Inference, Fine-Tuning, RAG. We also show you how to solve end to end problems using Llama model family and using them on various provider services
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#5 Repository of the week
Llama Cookbook
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
- Get started with Llama API
- Integrate Llama API with WhatsApp
- 5M long context using Llama 4 Scout
- Analyze research papers with Llama 4 Maverick
- Create a character mind map from a book using Llama 4 Maverick
Repository Structure:
- 3P Integrations: Getting Started Recipes and End to End Use-Cases from various Llama providers
- End to End Use Cases: As the name suggests, spanning various domains and applications
- Getting Started: Reference for inferencing, fine-tuning and RAG examples
- src: Contains the src for the original llama-recipes library along with some FAQs for fine-tuning.
Note: We recently did a refactor of the repo, archive-main is a snapshot branch from before the refactor
FAQ:
-
Q: What happened to llama-recipes? A: We recently renamed llama-recipes to llama-cookbook.
-
Q: I have some questions for Fine-Tuning, is there a section to address these? A: Check out the Fine-Tuning FAQ here.
-
Q: Some links are broken/folders are missing: A: We recently did a refactor of the repo, archive-main is a snapshot branch from before the refactor.
-
Q: Where can we find details about the latest models? A: Official Llama models website.
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
Similar Projects
Discover other similar projects and AI models.
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.
A high-throughput and memory-efficient inference and serving engine for LLMs