Jump to content

Transformer: Difference between revisions

From Wikibase
No edit summary
Line 8: Line 8:
Interestingly, as [[User:Rongzhou/BehindScenes/Transformer-Intuition|the author explains himself]], the story doubles as a live demonstration of Transformers: parts of the story were co-authored by a Transformer model.
Interestingly, as [[User:Rongzhou/BehindScenes/Transformer-Intuition|the author explains himself]], the story doubles as a live demonstration of Transformers: parts of the story were co-authored by a Transformer model.


== Mathematical expression ==
== Mathematical representation ==
 
A Transformer is a mathematical [[function]] ($f_\theta$) parametrised by [[model parameters]] $\theta$, composed of $N$ independent smaller mathematical functions ('''layers'''):
 
$$
f_\theta=\varphi^{(N)}\circ\cdots\circ\varphi^{(1)},
$$


== History ==
== History ==


== See also ==
== See also ==

Revision as of 10:37, 16 November 2026

Languages: English · français · Esperanto

A Transformer is, at the time of writing(2026-08), the most popular architecture for building Large Language Models.

Intuition

Rongzhou's Transformer is a super-charged next word prediction algorithm provides a short intuition for Transformers.

Interestingly, as the author explains himself, the story doubles as a live demonstration of Transformers: parts of the story were co-authored by a Transformer model.

Mathematical representation

A Transformer is a mathematical function ($f_\theta$) parametrised by model parameters $\theta$, composed of $N$ independent smaller mathematical functions (layers):

$$ f_\theta=\varphi^{(N)}\circ\cdots\circ\varphi^{(1)}, $$

History

See also