model-architectures / README.md
ArthurZ's picture
ArthurZ HF Staff
Architecture gallery: 435 full renders incl. Mamba/SSM mixers
3c3356c verified
|
Raw
History Blame Contribute Delete
793 Bytes
---
title: Transformers Model Architectures
emoji: πŸ“
colorFrom: indigo
colorTo: blue
sdk: static
pinned: false
license: apache-2.0
---
# πŸ€— Transformers β€” Model Architecture Gallery
Static, dependency-free architecture diagrams for every model in
[`huggingface/transformers`](https://github.com/huggingface/transformers), generated by
introspecting each model built on the `meta` device (no weights, no network).
- **full** view β€” the decoder/encoder block decomposed top-to-bottom (attention or SSM mixer,
Q/K/V/O projections with real dims, norms, MLP / Sparse MoE, residual stream, mask grids).
- **diff** view β€” for models with a `modular_*.py`, what each model overrides / adds / removes
versus the parent it inherits from.
Open `index.html` for the browsable gallery.