#827 · Primary category: Education & Research

bert_language_understanding

attention-is-all-you-need bert-model document-classification fasttext language-model language-understanding nlp pre-training question-answering self-attention text-classification textcnn transfer-learning transformer-encoder

Pre-training of Deep Bidirectional Transformers for Language Understanding: pre-train TextCNN

Project last updated:01/01/19

GitHub Stars

965

Forks

210

Contributors

3

License

Other

Why we included this project

Anyone who has tried to work through the official BERT or Transformer implementations knows how hard they are to digest. This project offers a compact TensorFlow version that keeps the core ideas and trades the transformer encoder for a TextCNN, then shows that masked-language-model pretraining plus fine-tuning still drives real gains on modest data. It is a good reference for people who want to see why pretraining helps and how the pieces fit together, and it bundles toy tasks, multi-label classification, and a set of questions that walk through both papers. Just note the code is from 2018-2019 and uses the old TensorFlow style, so treat it as a learning aid rather than something to drop into production.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category