Token Classification
Transformers
PyTorch
English
deberta-v2
text-classification
deberta-v3-base
deberta-v3
deberta
emotion
Instructions to use akira225/deberta-v3-base-ECE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use akira225/deberta-v3-base-ECE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="akira225/deberta-v3-base-ECE")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("akira225/deberta-v3-base-ECE") model = AutoModelForSequenceClassification.from_pretrained("akira225/deberta-v3-base-ECE") - Notebooks
- Google Colab
- Kaggle
Model Card for DeBERTa-v3-base-ECE
This is DeBERTa-v3 fine-tuned for Emotion Cause Extraction (ECE) task. For input text i.e. a sequence of tokens containing a situation with emotional coloring, it is necessary to determine the subset of which tokens justify the emotional state of the speaker. Formally speaking, it is convenient to look at the problem as a binary token classification, where one means that the corresponding token belongs to the desired subset.
Training
Code use to train this model avaliable on my GitHub
Evaluation
Has following results on EmoCause and EmpatheticDialodues:
| Accuracy | Top-1 Recall | Top-3 Recall | Top-5 Recall |
|---|---|---|---|
| 0.59 | 0.249 | 0.623 | 0.806 |
- Downloads last month
- 7