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 sizesThe learned values that shape how a model responds. B means billion and T means trillion. For mixture-of-experts models, the total count is larger than the number active for each token. Parameter count alone does not measure quality., with a context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider. of 4k tokens. Benchmark results (shown below) cover HumanEval, MATH, ARC-Challenge, HellaSwag, WinoGrande, MMLU, and 1 more.
Get Meta releases and AI news.
Every other Monday
Benchmarks
Coding
Reasoning & science
Compare LLaMA 2 with
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.