Difference between revisions of "Transformer"

From
Jump to: navigation, search
m (BPeat moved page Attention Mechanism/Model - Transformer Model to Transformer without leaving a redirect)
Line 20: Line 20:
 
* [http://jalammar.github.io/illustrated-transformer/ The Illustrated Transformer | Jay Alammar]
 
* [http://jalammar.github.io/illustrated-transformer/ The Illustrated Transformer | Jay Alammar]
 
* [[Sequence to Sequence (Seq2Seq)]]
 
* [[Sequence to Sequence (Seq2Seq)]]
 
Attention mechanisms in neural networks are about memory access. That’s the first thing to remember about attention: it’s something of a misnomer. [http://skymind.ai/wiki/attention-mechanism-memory-network A Beginner's Guide to Attention Mechanisms and Memory Networks | Skymind]
 
 
3 ways of Attention:
 
# [[Autoencoder (AE) / Encoder-Decoder]]
 
# Encoder Self-Attention
 
# MaskedDecoder Self-Attention
 
  
 
Transformer Model - The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an [[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. [http://arxiv.org/abs/1706.03762  Attention Is All You Need | A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A.N. Gomez, L. Kaiser, and I. Polosukhin]
 
Transformer Model - The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an [[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. [http://arxiv.org/abs/1706.03762  Attention Is All You Need | A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A.N. Gomez, L. Kaiser, and I. Polosukhin]
 
  
 
http://skymind.ai/images/wiki/attention_mechanism.png
 
http://skymind.ai/images/wiki/attention_mechanism.png
 
  
 
<youtube>W2rWgXJBZhU</youtube>
 
<youtube>W2rWgXJBZhU</youtube>
Line 42: Line 33:
 
<youtube>OYygPG4d9H0</youtube>
 
<youtube>OYygPG4d9H0</youtube>
 
<youtube>QuvRWevJMZ4</youtube>
 
<youtube>QuvRWevJMZ4</youtube>
 
== 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.  [http://arxiv.org/abs/1706.03762 Attention Is All You Need | A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A.N. Gomez, L. Kaiser, and I. Polosukhin - Google]
 
 
<youtube>iDulhoQ2pro</youtube>
 
 
== Making decisions about where to send information ==
 
 
Making decisions about where to send information. [http://www.wired.com/story/ai-pioneer-explains-evolution-neural-networks/ AN AI PIONEER EXPLAINS THE EVOLUTION OF NEURAL NETWORKS | Nichokas Thompson - Wired]
 
 
* [[Capsule Networks (CapNets)]]
 

Revision as of 13:57, 29 June 2019

YouTube search... ...Google search

Transformer Model - The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an 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

attention_mechanism.png