An Introduction to Transformers

Richard E. Turner
4/20/2023
cs.LGcs.AI
transformer-attention

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

The transformer is a neural network component that can be used to learn useful representations of sequences or sets of data-points. The transformer has driven recent advances in natural language processing, computer vision, and spatio-temporal modelling.

Show full abstract

There are many introductions to transformers, but most do not contain precise mathematical descriptions of the architecture and the intuitions behind the design choices are often also missing. Moreover, as research takes a winding path, the explanations for the components of the transformer can be idiosyncratic. In this note we aim for a mathematically precise, intuitive, and clean description of the transformer architecture. We will not discuss training as this is rather standard. We assume that the reader is familiar with fundamental topics in machine learning including multi-layer perceptrons, linear transformations, softmax functions and basic probability.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{turner2023introduction,
  title  = {An Introduction to Transformers},
  author = {Richard E. Turner},
  year   = {2023},
  eprint = {2304.10557},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.10557v6}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.10557.svg)](https://codeofpaper.com/paper/2304.10557)

Discussion