Positions & context

NoPE (no position embedding)

This path deliberately skips position encoding. The model relies on causal masking alone to sense order.

First page of The Impact of Positional Encoding on Length Generalization in TransformersIntroduced inMay 2023The Impact of Positional Encoding on Length Generalization in TransformersKazemnejad et al. · arXiv 2305.19466 ↗
NoPE: no position embeddingthe position tags are simply dropped · the causal mask alone conveys order123456tokens, untaggedorder from masking

Some recent models apply RoPE only to part of the head dimensions or only in some layers, leaving the rest position-free (‘NoPE’). Because causal masking already gives a weak sense of order, dropping explicit positions in places can improve length generalization: the model overfits less to the exact positions it saw in training. You will see graphs split query/key paths into an explicitly rotated part and a NoPE part.

Adoption over time

Share of new models that have included NoPE over time.

1%202220232024202520261%20222023202420252026

See it in real models

Open any of these on hfviewer to find this block in the interactive architecture graph.

moonshotai/Kimi-Linear-48B-A3B-Instruct architecture graphmoonshotai/Kimi-Linear-48B-A3B-Instructtext-generation · ↓ 147k · ♡ 575Open in visualizer nota-ai/Solar-Open2-250B-Nota-NVFP4 architecture graphnota-ai/Solar-Open2-250B-Nota-NVFP4text-generation · ↓ 71k · ♡ 174Open in visualizer upstage/Solar-Open2-250B architecture graphupstage/Solar-Open2-250Btext-generation · ↓ 28k · ♡ 747Open in visualizer nota-ai/Solar-Open2-250B-Nota-INT4 architecture graphnota-ai/Solar-Open2-250B-Nota-INT4text-generation · ↓ 5k · ♡ 40Open in visualizer Quazim0t0/Escarda-86M-Base architecture graphQuazim0t0/Escarda-86M-Basetext-generation · ↓ 3k · ♡ 3Open in visualizer moonshotai/Kimi-Linear-48B-A3B-Base architecture graphmoonshotai/Kimi-Linear-48B-A3B-Basetext-generation · ↓ 3k · ♡ 81Open in visualizer LGAI-EXAONE/K-EXAONE-2.0-750B-A37B architecture graphLGAI-EXAONE/K-EXAONE-2.0-750B-A37Btext-generation · ↓ 3k · ♡ 144Open in visualizer

Related concepts

hfviewer renders the full architecture of 3,500+ Hugging Face models as interactive graphs. Hover any block to see what it does, with this model’s real numbers.

Browse all model graphs →