Llama Cookbook: The Official Guide to building with Llama Models
Note: We recently did a refactor of the repo, archive-main is a snapshot branch from before the refactor
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.
The examples cover the most popular community approaches, popular use-cases and the latest Llama 3.2 Vision and Llama 3.2 Text, in this repository.
Tip
Repository Structure:
- Start building with the Llama 3.2 models
- End to End Use cases with Llama model family
- Examples of building with 3rd Party Llama Providers [!TIP] Get started with Llama 3.2 with these new recipes:
- Finetune Llama 3.2 Vision
- Multimodal Inference with Llama 3.2 Vision
- Inference on Llama Guard 1B + Multimodal inference on Llama Guard 11B-Vision
Note
Llama 3.2 follows the same prompt template as Llama 3.1, with a new special token <|image|>
representing the input image for the multimodal models.
More details on the prompt templates for image reasoning, tool-calling and code interpreter can be found on the documentation website.
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
FAQ:
- 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
- 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 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