Downloads · 30 days
380
18% of all-time downloads
olafuraron/emotion-english-distilroberta-base-safetensors
emotion-english-distilroberta-base-safetensors is a text classification model from olafuraron. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
This repository contains a safetensors-only conversion of the model:
Downloads · 30 days
380
18% of all-time downloads
All-time downloads
2.2K
Public
Parameters
82.1M
329 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors329 MB · 99%
From the Hugging Face model README
This repository contains a safetensors-only conversion of the model:
j-hartmann/emotion-english-distilroberta-base
The model performs multi-class emotion classification on English text and predicts the following labels:
No architectural changes or retraining have been performed. The only modification is the conversion of model weights to the safetensors format.
If you use this model in academic work, please cite the original author.
safetensorsfrom transformers import pipeline
classifier = pipeline(
"text-classification",
model="YOUR_USERNAME/YOUR_REPO_NAME",
return_all_scores=True
)
classifier("I love this!")