emotions-entailment/zero-shot-emotions-8-4-1.1
Viewer • Updated • 279k • 24
How to use emotions-entailment/roberta-8-4-1.1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="emotions-entailment/roberta-8-4-1.1") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("emotions-entailment/roberta-8-4-1.1")
model = AutoModelForSequenceClassification.from_pretrained("emotions-entailment/roberta-8-4-1.1")This model is a fine-tuned version of FacebookAI/roberta-base. It achieves the following results on the evaluation set:
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | F1 Micro | F1 Macro | Precision Micro | Recall Micro |
|---|---|---|---|---|---|---|---|
| 1.2652 | 1.0 | 5240 | 1.2620 | 0.8011 | 0.7596 | 0.8422 | 0.7638 |
| 1.2534 | 2.0 | 10480 | 1.2509 | 0.8179 | 0.7854 | 0.8501 | 0.7881 |
| 1.2371 | 3.0 | 15720 | 1.2468 | 0.8251 | 0.7922 | 0.8621 | 0.7912 |
Base model
FacebookAI/roberta-base