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 | Provenance | Actions |
|---|---|---|---|---|
| happytransformer-3.0.1.tar.gz | 18.1 kB | Without provenance | Details for happytransformer-3.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| happytransformer-3.0.1-py3-none-any.whl | Python 3 | none | any | Details for happytransformer-3.0.1-py3-none-any.whl |
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
|
Security for happytransformer 3.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.