#84 · Primary category: NLP Tools & Text Processing

fast-bert

bert fast-bert fastai transformers

Super easy library for BERT based NLP models

Project last updated:08/19/24

GitHub Stars

1.9K

Forks

339

Contributors

37

License

Apache-2.0

Why we included this project

Fine-tuning a transformer for text classification usually means writing a lot of boilerplate. Fast-Bert simplifies that by letting you train BERT, RoBERTa, or XLNet models for multi-class and multi-label tasks on your own data, with knobs for epochs, learning rate, batch size, and optimizer schedule. The built-in learning-rate finder and LAMB optimizer support help you get decent results quickly, and you can export the trained model for inference, including on AWS SageMaker. It's an older library built on the original Hugging Face BERT PyTorch code, so it's best treated as a stable reference implementation rather than an actively maintained framework.

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