dair-ai/emotion
Viewer • Updated • 437k • 33.8k • 440
How to use gokuls/bert-base-emotion-intent with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gokuls/bert-base-emotion-intent") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokuls/bert-base-emotion-intent")
model = AutoModelForSequenceClassification.from_pretrained("gokuls/bert-base-emotion-intent")This model is a fine-tuned version of bert-base-uncased on the emotion dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.4058 | 1.0 | 1000 | 0.2421 | 0.9265 |
| 0.1541 | 2.0 | 2000 | 0.1952 | 0.9385 |
| 0.1279 | 3.0 | 3000 | 0.1807 | 0.9345 |
| 0.1069 | 4.0 | 4000 | 0.2292 | 0.9365 |
| 0.081 | 5.0 | 5000 | 0.3315 | 0.936 |