Mistral 7B:高性能高效语言模型

Mistral 7B

蒋启天 Albert Q. Jiang · Mistral AI · 2023-10-10 · arXiv:2310.06825 ↗ · 被引 3625

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

我们推出了 Mistral 7B v0.1,一个拥有 70 亿参数的语言模型,旨在实现卓越的性能和效率。Mistral 7B 在所有评估基准上均优于 Llama 2 13B,并在推理、数学和代码生成方面超越 Llama 1 34B。我们的模型采用分组查询注意力(GQA)实现更快的推理,并结合滑动窗口注意力(SWA)以降低推理成本,有效处理任意长度的序列。我们还提供了一个经过微调以遵循指令的模型 Mistral 7B – Instruct,它在人工和自动化基准测试中均超越了 Llama 2 13B – Chat 模型。我们的模型在 Apache 2.0 许可下发布。

We introduce Mistral 7B v0.1, a 7-billion-parameter language model engineered for superior performance and efficiency. Mistral 7B outperforms Llama 2 13B across all evaluated benchmarks, and Llama 1 34B in reasoning, mathematics, and code generation. Our model leverages grouped-query attention (GQA) for faster inference, coupled with sliding window attention (SWA) to effectively handle sequences of arbitrary length with a reduced inference cost. We also provide a model fine-tuned to follow instructions, Mistral 7B -- Instruct, that surpasses the Llama 2 13B -- Chat model both on human and automated benchmarks. Our models are released under the Apache 2.0 license.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 10)

阅读逐段中英对照全文 →