SOTAVerified

Learned in Translation: Contextualized Word Vectors

2017-08-01NeurIPS 2017Code Available0· sign in to hype

Bryan McCann, James Bradbury, Caiming Xiong, Richard Socher

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Computer vision has benefited from initializing multiple deep layers with weights pretrained on large supervised training sets like ImageNet. Natural language processing (NLP) typically sees initialization of only the lowest layer of deep models with pretrained word vectors. In this paper, we use a deep LSTM encoder from an attentional sequence-to-sequence model trained for machine translation (MT) to contextualize word vectors. We show that adding these context vectors (CoVe) improves performance over using only unsupervised word and character vectors on a wide variety of common NLP tasks: sentiment analysis (SST, IMDb), question classification (TREC), entailment (SNLI), and question answering (SQuAD). For fine-grained sentiment analysis and entailment, CoVe improves performance of our baseline models to the state of the art.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
SNLIBiattentive Classification Network + CoVe + Char% Test Accuracy88.1Unverified

Reproductions