← Open Source

Happy Transformer makes it easy to fine-tune and perform inference with NLP Transformer models.

Model DevelopmentFine-tuningPython
Momentum
+1stars in 24 hours+0.2%
548
Stars
69
Forks
+1
This week
13
Contributors
Created 2019-10-06 · Updated 2026-12-04 · #6575 today
Top developers
README

HAPPY TRANSFORMER

happytransformer.com


Happy Transformer makes it easy to fine-tune and perform inference with NLP Transformer models.

Tasks

Tasks Inference Training
Text Generation ✔ ✔
Text Classification ✔ ✔
Word Prediction ✔ ✔
Question Answering ✔ ✔
Text-to-Text ✔ ✔
Next Sentence Prediction ✔
Token Classification ✔

Note: word prediction, question answering, next sentence prediction and token classification have been deprecated.

Install

pip install "happytransformer<4.0.0"

Maintainers

Tutorial Articles

Text classification (training)

Top T5 Models

Grammar Correction

Fine-tune a Grammar Correction Model

Tutorial Videos

Text generation with training (GPT-Neo)

Text classification (hate speech detection)

Text classification (sentiment analysis)

Word prediction with training (DistilBERT, RoBERTa)

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store