Sentence Embedding

ELMo: Deep Contextualized Word Representationselmo_sentence_representation.html

See how to use GluonNLP’s model API to automatically download the pre-trained ELMo model from NAACL2018 best paper, and extract features with it.

A Structured Self-attentive Sentence Embeddingself_attentive_sentence_embedding.html

See how to use GluonNLP to build more advanced model structure for extracting sentence embeddings to predict Yelp review rating.

BERT: Bidirectional Encoder Representations from Transformersbert.html

See how to use GluonNLP to fine-tune a sentence pair classification model with pre-trained BERT parameters.