Open Agent School · Public worked example

Transformer: meaning and example

Welcome! Take one idea with you today.

A neural-network architecture that uses attention to let representations of items in a sequence depend on other relevant items. It underlies many modern language models.

Picture it: When processing a sentence, attention can connect a pronoun with the person mentioned earlier.

What is easy to mix up?

Attention patterns are not, by themselves, a complete explanation of a model decision.

Teaching example by Open Agent School. Source: Google - Machine Learning Glossary.