Evaluation · Training

Llama 3

First page
Llama 3
Paper summary

Meta's Llama 3 launches with 8B and 70B pretrained and instruction-tuned variants. Llama 3 8B beats Gemma 7B and Mistral 7B Instruct, and Llama 3 70B is competitive with Gemini Pro 1.5 and Claude 3 Sonnet on standard benchmarks.

Ask this paper

Key points
01

Sizes and release: Meta ships 8B and 70B base and Instruct variants first; larger 400B+ models are still training and planned for later releases with multimodality and longer context.

02

Training data: Pretrained on 15T+ tokens (7x more than Llama 2) including 4x more code, with 5%+ non-English across 30+ languages. A new 128K-token tokenizer improves encoding efficiency by roughly 15%.

03

Benchmark results: The 70B Instruct model wins human preference rankings against Claude Sonnet, Mistral Medium, and GPT-3.5 across 12 use-case categories; the 8B sets a new state of the art for open models in its size class.

04

Open deployment: Weights are available across AWS, HuggingFace, Databricks, Google Cloud, Azure, and more, alongside a safety suite - Llama Guard 2, Code Shield, and CyberSec Eval 2 - for responsible deployment.

Abstract

Modern artificial intelligence (AI) systems are powered by foundation models. This paper presents a new set of foundation models, called Llama 3. It is a herd of language models that natively support multilinguality, coding, reasoning, and tool usage. Our largest model is a dense Transformer with 405B parameters and a context window of up to 128K tokens. This paper presents an extensive empirical evaluation of Llama 3. We find that Llama 3 delivers comparable quality to leading language models such as GPT-4 on a plethora of tasks. We publicly release Llama 3, including pre-trained and post-trained versions of the 405B parameter language model and our Llama Guard 3 model for input and output safety. The paper also presents the results of experiments in which we integrate image, video, and speech capabilities into Llama 3 via a compositional approach. We observe this approach performs competitively with the state-of-the-art on image, video, and speech recognition tasks. The resulting models are not yet being broadly released as they are still under development.

Every Monday
Get next week’s papers.
Subscribe on Substack