#243 · Primary category: Deep Learning Frameworks

albert_pytorch

albert bert language-model mask ngram nlp pytorch

A Lite Bert For Self-Supervised Learning Language Representations

Project last updated:05/13/20

GitHub Stars

714

Forks

148

Contributors

1

License

Apache-2.0

Why we included this project

This PyTorch implementation of ALBERT keeps the model architecture and the fine-tuning plumbing together, so you don't have to pull in a heavyweight framework just to run a lite BERT variant. It includes a script that converts the official TensorFlow checkpoints into PyTorch weights, covering the base through xxlarge sizes, and the GLUE task scripts (SST-2 among them) give you a working starting point for sentence and sentence-pair classification. The README also records the dev-set scores the author reproduced on several GLUE tasks, which helps you gauge what to expect. If you want to see how ALBERT's parameter sharing and embedding factorization are actually implemented, or need a compact reference for fine-tuning, the code is readable and easy to adapt.

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