arXiv:2407.21783 · 中英对照阅读
The Llama 3 Herd of Models
中文速览
训练更强、也更开放的通用语言模型并不容易,关键是既要提升能力,也要让模型听指令、少出安全问题。Llama 3 用经过清洗筛选的海量多语言文本训练不同规模的模型,再通过指令微调和人类偏好对齐来增强推理、编程和工具使用能力;最大的模型有4050亿参数,还能处理很长的文本。测试显示,旗舰模型在多种任务上接近 GPT-4,同规模的小模型也表现突出,并且图像、视频和语音扩展实验效果不错。公开这些模型能让更多研究者和开发者在强大的基础上继续改进,而多模态版本仍在开发中,尚未广泛发布。
摘要
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.
术语表
- artificial intelligence (AI)
- 人工智能
- foundation model
- 基础模型
- Llama 3
- Llama 3
- Llama Guard 3
- Llama Guard 3
- large language model (LLM)
- 大语言模型
- dense Transformer
- 稠密 Transformer
- Transformer
- Transformer
- mixture-of-experts (MoE)
- 混合专家模型
- multilinguality
- 多语言能力
- pre-training
- 预训练
- continued pre-training
- 持续预训练
- post-training
- 后训练
- supervised fine-tuning (SFT)
- 监督微调
- rejection sampling (RS)
- 拒绝采样
- direct preference optimization (DPO)
- 直接偏好优化
- reinforcement learning
- 强化学习
- scaling laws
- 缩放定律
- compute-optimal
- 计算最优
- next-token prediction
- 下一个词元预测
- context window
- 上下文窗口
- token
- 词元
- instruction tuning
- 指令微调
- human feedback
- 人类反馈
- tool use
- 工具使用
- multimodal
- 多模态
- compositional approach
- 组合式方法
- self-supervised learning
- 自监督学习
- safety mitigation
- 安全缓解措施
- artificial general intelligence (AGI)
- 通用人工智能