absa-deberta-v3

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.

Results (588-pair test set, split by sentence)

Runtime Size Accuracy
PyTorch fp32 ~500 MB 0.8214

Temperature scaling: T = 1.604, ECE reduced from 0.0993 to 0.0505.

Usage

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.

Limitations

Trained on restaurant and laptop reviews only (SemEval-2014 Task 4). The aspect must be provided.

Downloads last month
43
Safetensors
Model size
0.2B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for sy12ssss/absa-deberta-v3

Quantized
(30)
this model

Datasets used to train sy12ssss/absa-deberta-v3