Production model

Mistral 7B

Architecture

Positional encoding RoPE
Norm placement Pre-Norm
Norm type RMSNorm
QK-Norm no
Activation SwiGLU
Attention GQA (8 KV heads, 32 query heads) + Sliding Window Attention (W = 4096)
MoE
Other 32 layers, First production decoder to ship SWA as a primary mechanism, Apache 2.0 license

Techniques used

Mistral 7B (September 2023) is the model that brought sliding window attention to the production frontier and gave Apache-licensed open weights to a model competitive with much larger dense baselines. Architecturally a 32-layer transformer with the Pre-Norm RMSNorm + RoPE

The Mistral 7B paper’s empirical comparisons (Table 2) showed the model matching or beating Llama 2 13B on most benchmarks despite roughly half the parameters — a result mostly attributable to data and training rather than architecture, but the architectural simplicity made the recipe easily reproducible. The 32-layer configuration: hidden size 4096, FFN intermediate 14336, RoPE base 10000, 32K base context.

Subsequent open-weights efforts adopted variations of the same stack: Mixtral 8x7B from the same lab kept the Mistral-7B shape per expert while dropping SWA, and the OLMo family from AI2 picked up the GQA + RoPE + SwiGLU triple. Mistral 7B remains the canonical production reference for sliding window attention.

Sources

Export

BibTeX
@article{arxiv_2310_06825,
  title         = {Mistral 7B},
  author        = {Mistral AI},
  year          = {2023},
  eprint        = {2310.06825},
  archivePrefix = {arXiv},
  url           = {https://arxiv.org/abs/2310.06825}
}
CSL JSON
{
  "id": "arxiv_2310_06825",
  "type": "article-journal",
  "title": "Mistral 7B",
  "author": [
    {
      "literal": "Mistral AI"
    }
  ],
  "issued": {
    "date-parts": [
      [
        2023
      ]
    ]
  },
  "URL": "https://arxiv.org/abs/2310.06825",
  "number": "2310.06825",
  "source": "arXiv"
}
RIS
TY  - JOUR
TI  - Mistral 7B
AU  - Mistral AI
PY  - 2023
JO  - arXiv
AN  - arXiv:2310.06825
UR  - https://arxiv.org/abs/2310.06825
ER  - 

Models like this