Generalized Transformers from Applicative Functors
Transformers are a machine-learning model at the foundation of many state-of-the-art systems in modern AI, originally proposed in [arXiv:1706.03762]. In this post, we are going to build a generalization of Transformer models that can operate on (almost) arbitrary structures such as functions, graphs, probability distributions, not just matrices and vectors.
Generalized Transformers from Applicative Functors 11 February 2025 Generalized Transformers from Applicative Functors by Tuomas Laakkonen Transformers are a machine-learning model at the foundation of many state-of-the-art systems in modern AI, originally proposed in [arXiv:1706.03762] . In this post, we are going to build a generalization of Transformer models that can operate on (almost) arbitrary structures such as functions, graphs, probability distributions, not just matrices and vectors. We will do this using the language of applicative functors , and indeed many of the constructions he
Explore this link on the map →related reading
- A Mathematical Framework for Transformer Circuitstransformer-circuits.pub
- Transformers from Scratche2eml.school
- The Illustrated Transformer – Jay Alammar – Visualizing machine learning one concept at a time.jalammar.github.io
- The Annotated Transformernlp.seas.harvard.edu
- Transformer Explainer: LLM Transformer Model Visually Explainedpoloclub.github.io
- transformer_attention.pdfarxiv.org
- Transformer Circuits Threadtransformer-circuits.pub
- Transformer (deep learning) - Wikipediaen.wikipedia.org
- Transformers from Scratchbrandonrohrer.com
- The Annotated Transformernlp.seas.harvard.edu
- Transformers from scratch | peterbloem.nlpeterbloem.nl
- The Illustrated Transformer – Jay Alammar – Visualizing machine learning one concept at a time.jalammar.github.io