DeepAI AI Chat
Log In Sign Up

Attention Is All You Need

06/12/2017
by   Ashish Vaswani, et al.
Google
UNIVERSITY OF TORONTO
0

The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an 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. Our model achieves 28.4 BLEU on the WMT 2014 English-to-German translation task, improving over the existing best results, including ensembles by over 2 BLEU. On the WMT 2014 English-to-French translation task, our model establishes a new single-model state-of-the-art BLEU score of 41.8 after training for 3.5 days on eight GPUs, a small fraction of the training costs of the best models from the literature. We show that the Transformer generalizes well to other tasks by applying it successfully to English constituency parsing both with large and limited training data.

READ FULL TEXT

page 1

page 2

page 3

page 4

10/29/2018

Parallel Attention Mechanisms in Neural Machine Translation

Recent papers in neural machine translation have proposed the strict use...
09/18/2019

Memory-Augmented Neural Networks for Machine Translation

Memory-augmented neural networks (MANNs) have been shown to outperform o...
10/12/2021

LightSeq2: Accelerated Training for Transformer-based Models on GPUs

Transformer-based neural models are used in many AI applications. Traini...
11/06/2021

Transformer Based Bengali Chatbot Using General Knowledge Dataset

An AI chatbot provides an impressive response after learning from the tr...
11/10/2019

Two-Headed Monster And Crossed Co-Attention Networks

This paper presents some preliminary investigations of a new co-attentio...
03/02/2020

Transformer++

Recent advancements in attention mechanisms have replaced recurrent neur...
05/16/2019

Joint Source-Target Self Attention with Locality Constraints

The dominant neural machine translation models are based on the encoder-...

Code Repositories

keyword_spotting

Chinese keyword spotting model using LSTM RNN


view repo

attention

Attention is All You Need in Sonnet


view repo

arxiv_leaks

Whisper of the arxiv: read comments in tex of papers


view repo

2017

The Year in Review 2017 | open guide to natural language processing


view repo

Machine-Translation-Transformers

Machine Translation using Transfromers (without RNNs or CNNs). "Attention Is All You Need."


view repo