Views
No views yet
| Epoch | Training Loss | Validation Loss | Validation Accuracy |
|---|---|---|---|
| 1 | 0.5383 | 0.1845 | 92.90% |
| 2 | 0.2254 | 0.1589 | 93.55% |
| 3 | 0.0520 | 0.1485 | 94.25% |
1from transformers import pipeline
2
3# Load the fine-tuned model
4classifier = pipeline("text-classification", model="Panda0116/emotion-classification-model")
5
6# Example usage
7text = "I am so happy to see you!"
8emotion = classifier(text)
9print(emotion)