Llama 2

Meta's open-weight foundation model family with chat-tuned variants ranging from 7B to 70B parameters.
Ask this paper
Open-weight release: Released pretrained and RLHF-tuned chat models under a permissive license that allowed commercial use, reshaping the open-source LLM landscape.
Training recipe: Pretrained on 2T tokens with 4K context; chat models use SFT followed by iterative RLHF with Ghost Attention (GAtt) for multi-turn consistency.
Safety investment: Extensive red-teaming, safety reward models, and context distillation produce chat models with strong helpfulness-safety trade-offs.
Ecosystem catalyst: Llama 2 became the base for hundreds of community fine-tunes (Vicuna, WizardLM, CodeLlama) and catalyzed the open-weight movement that 2024's Llama 3 and Mistral would extend.
Abstract
In this work, we develop and release Llama 2, a collection of pretrained and fine-tuned large language models (LLMs) ranging in scale from 7 billion to 70 billion parameters. Our fine-tuned LLMs, called Llama 2-Chat, are optimized for dialogue use cases. Our models outperform open-source chat models on most benchmarks we tested, and based on our human evaluations for helpfulness and safety, may be a suitable substitute for closed-source models. We provide a detailed description of our approach to fine-tuning and safety improvements of Llama 2-Chat in order to enable the community to build on our work and contribute to the responsible development of LLMs.