HAPPY TRANSFORMER
Happy Transformer makes it easy to fine-tune and perform inference with NLP Transformer models.
Upcoming Version 4.0.0
Version 4.0.0 is in the final stages of development. It's a complete rewrite of the library with many new features. It includes breaking changes, and so we recommend you set the version to <4.0.0 in your requirements.
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
- Eric Fillion Lead Maintainer
- Ted Brownlow Maintainer
Tutorial Articles
Text classification (training)
Fine-tune a Grammar Correction Model
Tutorial Videos
Text generation with training (GPT-Neo)
Text classification (hate speech detection)
Metadata
Release files for happytransformer 3.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| happytransformer-3.0.1.tar.gz | 18.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| happytransformer-3.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.7 kB
Release files / happytransformer-3.0.1.tar.gz
| Download URL | happytransformer-3.0.1.tar.gz |
|---|---|
| Size | 18.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82cea2af2429cb05fbc1d3e2f85a381745325f92daa271a62ec6ea0bb535b5d3
|
|
BLAKE2b-256 checksum How to use checksums |
123f5029f0645fe5fff433a14ce3c4a9bcc65b51d935a516a4a824cd3fc88b5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / happytransformer-3.0.1-py3-none-any.whl
| Download URL | happytransformer-3.0.1-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e39d7d51f6e36cf86cb495aa4a57c136a8f50c8335a1ac9a53e7a0a993113dc
|
|
BLAKE2b-256 checksum How to use checksums |
c31ef1695470f162ba24b47d753d30c060ca2f13b7efa2361273163882e7d0a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|