Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 2.29 KB

examples.md

File metadata and controls

50 lines (28 loc) · 2.29 KB

Examples

Rich examples are included to demonstrate the use of Texar. The implementations of cutting-edge models/algorithms also provide references for reproducibility and comparisons.

More examples are continuously added...

Examples by Models/Algorithms

RNN / Seq2seq

Transformer (Self-attention)

  • transformer: Transformer for machine translation
  • bert: Pre-trained BERT model for text representation
  • gpt-2: Pre-trained OpenAI GPT-2 language model
  • xlnet: Pre-trained XLNet model for text representation

Classifier / Sequence Prediction

  • bert: Pre-trained BERT model for text representation
  • xlnet: Pre-trained XLNet model for text representation

GANs / Discriminator-supervision


Examples by Tasks

Language Modeling

  • gpt-2: Pre-trained OpenAI GPT-2 language model

Machine Translation

Text Style Transfer

Classification

  • bert: Pre-trained BERT model for text representation
  • xlnet: Pre-trained XLNet model for text representation