Methods › Natural Language Processing › Language Models › Sandwich Transformer
Sandwich Transformer
Introduced by Ofir Press et al. in Improving Transformer Models by Reordering their Sublayers
archive 2025-07-28 Description, source and code snippet are the archive's method entry.
A Sandwich Transformer is a variant of a Transformer that reorders sublayers in the architecture to achieve better performance. The reordering is based on the authors' analysis that models with more self-attention toward the bottom and more feedforward sublayers toward the top tend to perform better in general.
Papers archive 2025-07-28
2 shown of 2, newest first. Repository counts are the archive's code-links table. A Syntology line states what Syntology ran from that paper's harvested code; it is per sample and not a correctness claim.
-
Generative Pre-Training from Molecules 16 Sep 2021 · 1 repository
-
Improving Transformer Models by Reordering their Sublayers 10 Nov 2019 · 2 repositories · arXiv:1911.03864
Tasks archive 2025-07-28
8 tasks the archive attaches to papers tagged with this method, by distinct papers. A task without a page in the catalog is plain text.
| Task | Papers |
|---|---|
| Language Modelling | 2 |
| Feature Engineering | 1 |
| General Knowledge | 1 |
| Language Modeling | 1 |
| Machine Translation | 1 |
| Molecular Property Prediction | 1 |
| Property Prediction | 1 |
| Translation | 1 |
Usage over time archive 2025-07-28
Components: the archive holds no method-to-method composition, so PwC's Components table cannot be rebuilt; the Papers list carries no Results column for the same reason (the archive does not join its leaderboard rows to method tags).
Categories archive 2025-07-28
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections