Transformer

From
Revision as of 11:42, 12 January 2019 by BPeat (talk | contribs)
Jump to: navigation, search

YouTube search... ...Google search


Attention mechanisms in neural networks are about memory access. That’s the first thing to remember about attention: it’s something of a misnomer. A Beginner's Guide to Attention Mechanisms and Memory Networks | Skymind


attention_mechanism.png



Attention Is All You Need

The dominant sequence transduction models are based on complex recurrent (Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), and Recurrent Neural Network (RNN)) or (Deep) Convolutional Neural Network (DCNN/CNN) in an encoder-decoder (Autoencoder (AE) / Encoder-Decoder} configuration. The best performing models also connect the encoder and decoder through an attention mechanism. We propose a new simple network architecture, the Transformer, based solely on attention mechanisms, dispensing with recurrence and convolutions entirely. Experiments on two machine translation tasks show these models to be superior in quality while being more parallelizable and requiring significantly less time to train. Attention Is All You Need | A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A.N. Gomez, L. Kaiser, and I. Polosukhin - Google