Downloads · 30 days
56
100% of all-time downloads
sy12ssss/absa-deberta-v3
absa-deberta-v3 is a text classification model from sy12ssss. 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.
DeBERTa-v3-base fine-tuned for aspect-based sentiment analysis. Input is an (aspect, sentence) pair, output is negative, neutral or positive for that aspect.
Downloads · 30 days
56
100% of all-time downloads
All-time downloads
56
Public
Parameters
184M
1.7 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors738 MB · 75%
From the Hugging Face model README
DeBERTa-v3-base fine-tuned for aspect-based sentiment analysis. Input is an (aspect, sentence) pair, output is negative, neutral or positive for that aspect.
Int8 quantization of this model was not usable (accuracy collapsed), so the browser demo uses absa-roberta-base.
| Runtime | Size | Accuracy |
|---|---|---|
| PyTorch fp32 | ~500 MB | 0.8214 |
Temperature scaling: T = 1.604, ECE reduced from 0.0993 to 0.0505.
Pass the aspect as the first text and the sentence as the second (tokenizer(aspect, sentence)). Divide logits by the temperature before the softmax for calibrated confidence.
Trained on restaurant and laptop reviews only (SemEval-2014 Task 4). The aspect must be provided.