LLaMA 2Open Weight

Released

LLaMA 2 is an AI model released by Meta on Tuesday, Jul 18 2023, 144 days after LLaMA 1. It is an open-weight model — the trained weights are available to download and run. It was released in 7B and 13B and 70B parameter sizes, with a context window of 4k tokens. Benchmark results (shown below) cover HumanEval, MATH, ARC-Challenge, HellaSwag, WinoGrande, MMLU, and 1 more.

Benchmarks

Coding

HumanEval
29.9%
#86 of 91

Reasoning & science

MATH
13.5%
#59 of 63
ARC-Challenge
57.4%
#15 of 18
HellaSwag
85.3%
#12 of 23
WinoGrande
80.2%
#7 of 13
MMLU
68.9%
#70 of 86
GSM8K
56.8%
#52 of 59

Compare LLaMA 2 with

LLaMA 2

About

Llama 2, released July 18, 2023, expanded Meta's downloadable model family to research and commercial use under the Llama 2 Community License. It included 7B, 13B and 70B sizes, with both pretrained checkpoints and dialogue-tuned Llama 2 Chat models. Microsoft was the preferred partner for the launch, and distribution included Azure, Hugging Face and other providers. The publisher benchmarks listed here use the 70B base checkpoint.

The new generation doubled the context length to 4,096 tokens compared with the first LLaMA models and used more pretraining data. The chat variants added supervised fine-tuning and reinforcement learning from human feedback. That gave developers a choice between a base for customization and an assistant-oriented model that already followed conversational instructions.

Commercial availability still came with license conditions and an acceptable-use policy. Llama 2 was therefore an open-weight alternative to hosted-only models, with deployment and customization under the user's control, but it did not carry the unrestricted terms of Apache 2.0. Code Llama extended the same generation into programming tasks the following month.

Frequently asked questions

LLaMA 2 was released by Meta on Tuesday, Jul 18 2023.

All Meta releases

19 tracked