Production model

GLM-130B

Architecture

Positional encoding 2D Rotary Position Embedding (RoPE on each axis of the 2D position grid)
Norm placement Post-Norm with DeepNorm scaling
Norm type LayerNorm
QK-Norm no
Activation GeLU
Attention MHA (96 query heads, head_dim 128)
MoE
Other 70 transformer layers; hidden_dim 12288, GLM autoregressive blank infilling pretraining objective (not pure causal LM), Bilingual Chinese / English; 400B-token training corpus, DeepNorm β = (8N)^(-1/4) for Post-Norm stability at 130B scale

GLM-130B (October 2022) is the first 100B+ open bilingual model, released by Tsinghua KEG and Zhipu AI under a non-commercial research license. The architecture is a snapshot of late-2021 / early-2022 design conventions, predating the Llama-driven settlement on Pre-Norm + RMSNorm + RoPE + SwiGLU + GQA. Reading GLM-130B against contemporary models is useful for seeing what the consensus stack quietly displaced.

The four architectural choices that age GLM-130B against modern models:

The GLM pretraining objective itself — autoregressive blank infilling — is also distinct from the pure causal-LM objective Llama and successors use. The model masks contiguous spans, then predicts each masked span autoregressively while the surrounding tokens have full bidirectional visibility. GLM-130B inference can be operated either causally or with the bidirectional infill mode active, depending on the task framing.

For later GLM family members see GLM-4 9B — which keeps the Post-Norm placement and 2D RoPE while moving to RMSNorm + SwiGLU + GQA — and GLM-4.5, the 355B / 32B-active MoE flagship.

Sources

Export

BibTeX
@article{arxiv_2210_02414,
  title         = {GLM-130B},
  author        = {Tsinghua KEG / Zhipu AI},
  year          = {2022},
  eprint        = {2210.02414},
  archivePrefix = {arXiv},
  url           = {https://arxiv.org/abs/2210.02414}
}
CSL JSON
{
  "id": "arxiv_2210_02414",
  "type": "article-journal",
  "title": "GLM-130B",
  "author": [
    {
      "literal": "Tsinghua KEG / Zhipu AI"
    }
  ],
  "issued": {
    "date-parts": [
      [
        2022
      ]
    ]
  },
  "URL": "https://arxiv.org/abs/2210.02414",
  "number": "2210.02414",
  "source": "arXiv"
}
RIS
TY  - JOUR
TI  - GLM-130B
AU  - Tsinghua KEG / Zhipu AI
PY  - 2022
JO  - arXiv
AN  - arXiv:2210.02414
UR  - https://arxiv.org/abs/2210.02414
ER  -