flâneur — a map of the web's best reading

Improving Transformer Models by Reordering their Sublayers – Ofir Press

ofir.io · 569 words · saved by 1 readers

The transformer layer is currently the primary component in natural language processing, playing a leading role in recent innovations such as BERT and GPT-3. Each transformer layer consists of a self-attention sublayer (s) followed by a feedforward sublayer (f), creating an interleaving pattern of self-attention and feedforward sublayers throughout a multilayer transformer model.

Improving Transformer Models by Reordering their Sublayers The transformer layer is currently the primary component in natural language processing, playing a leading role in recent innovations such as BERT and GPT-3. Each transformer layer consists of a self-attention sublayer (s) followed by a feedforward sublayer (f), creating an interleaving pattern of self-attention and feedforward sublayers throughout a multilayer transformer model. Is this interleaved pattern the best way to order these sublayers? In this post, I’ll explain how we recently found a better way to order these sublayers. Tha

Explore this link on the map →

related reading