The Transformers Library: standardizing model definitions
Related stories
Equivalence of Context and Parameter Updates in Modern Transformer Blocks
arXiv:2511. 17864v3 Announce Type: replace Abstract: Recent research has established that the impact of context in a vanilla transformer can be represented implicitly by forming a token-dependent, rank-1 patch to its MLP weights.
From the Transformer to a Formal Semantics of Coordinated Transformations
The paper presents a formal semantics for coordinated systems of parameterized transformations, using the Transformer as a starting point but abstracting away from its specific mathematical form. It introduces concepts such as transforming concepts, where parameterized transformations are linked to property-level maps, and distinguishes a common algebraic-semantic core from architecture-specific organization. The framework is applied to attention heads and residual connections, showing how complex architectures can be decomposed into simpler, semantically coordinated subsystems that recur across different system types.
On the Expressive Power of Transformers
arXiv:2608. 12671v1 Announce Type: new Abstract: Multi-layer transformers form the critical component of essentially all large language models (LLMs) in use today.
Native-speed vLLM transformers modeling backend
Toward Manifest Relationality in Transformers via Symmetry Reduction
arXiv:2602. 18948v2 Announce Type: replace Abstract: Transformer models contain substantial internal redundancy arising from coordinate-dependent representations and continuous symmetries, in model space and in head space, respectively.
Tokenization in Transformers v5: Simpler, Clearer, and More Modular
At the Edge of Understanding: Sparse Autoencoders Trace The Limits of Transformer Generalization
arXiv:2606. 26396v1 Announce Type: new Abstract: Pre-trained transformers have demonstrated remarkable generalization abilities, at times extending beyond the scope of their training data.
Learning Rate Transfer for Hybrid Transformer-SSM Architectures
arXiv:2610. 01172v1 Announce Type: new Abstract: We study learning rate (LR) scaling for hybrid architectures combining Transformer and State-Space Model (SSM) blocks, a class adopted by several recent production language models.
How to train a new language model from scratch using Transformers and Tokenizers
Small-Scale Experiments: Are We There Yet?
Scaling laws promised cost-effective experiments; six years later, they have yet to fully deliver. Instead, researchers have found them unreliable at small scales (starting at 4M parameters) and concluded that sizable models cannot be avoided.
Discovering Interpretable Algorithms by Decompiling Transformers to RASP
arXiv:2602. 08857v2 Announce Type: replace-cross Abstract: Recent work has shown that the computations of Transformers can be simulated in the RASP family of programming languages.