Downloads · 30 days
393
0% of all-time downloads
yangheng/deberta-v3-large-absa-v1.1
deberta-v3-large-absa-v1.1 is a text classification model from yangheng. 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.
Tired of the high costs, slow latency, and massive computational footprint of Large Language Models? This is the sentiment analysis model you've been waiting for.
Downloads · 30 days
393
0% of all-time downloads
All-time downloads
348K
Public
Parameters
435M
3.5 GB on disk
Likes
26
Public
Click a slice to open those files.
.bin1.7 GB · 50%
How the weights are stored.
F32435M · 100%
From the Hugging Face model README
Tired of the high costs, slow latency, and massive computational footprint of Large Language Models? This is the sentiment analysis model you've been waiting for.
deberta-v3-large-absa-v1.1 delivers state-of-the-art accuracy for fine-grained sentiment analysis with the speed, efficiency, and simplicity of a classic encoder model. It represents a paradigm shift in production-ready AI: maximum performance with minimum operational burden.
DeBERTa-v3 architecture and fine-tuned with advanced, context-aware methods from PyABSA, this model achieves top-tier accuracy on complex sentiment tasks.This model excels where speed, cost, and precision are critical:
Getting started is incredibly simple. You can use the Hugging Face pipeline for a zero-effort implementation.
from transformers import pipeline
classifier = pipeline("text-classification", model="yangheng/deberta-v3-large-absa-v1.1")
sentence = "The food was exceptional, although the service was a bit slow."
result_food = classifier(sentence, text_pair="food")
result_food ->
{
'Negative': 0.989
'Neutral': 0.008
'Positive': 0.003
}
result_service = classifier("这部手机的性能差劲", text_pair="性能")
result_service = classifier("这台汽车的引擎推力强劲", text_pair="引擎")
It starts with microsoft/deberta-v3-large, a highly optimized encoder known for its disentangled attention mechanism, which improves efficiency and performance over original BERT/RoBERTa models.
It employs the FAST-LCF-BERT backbone trained from the PyABSA framework. This introduces a Local Context Focus (LCF) layer that dynamically guides the model to concentrate on the words and phrases most relevant to the given aspect, dramatically improving contextual understanding and accuracy.
This model was trained on a robust, aggregated corpus of over 30,000 unique samples (augmented to ~180,000 examples) from canonical ABSA datasets, including SemEval-2014, SemEval-2016, MAMS, and more. The standard test sets were excluded to ensure fair and reliable benchmarking.
If you use this model in your research or application, please cite the foundational work on the PyABSA framework.
@inproceedings{DBLP:conf/cikm/0008ZL23,
author = {Heng Yang and Chen Zhang and Ke Li},
title = {PyABSA: {A} Modularized Framework for Reproducible Aspect-based Sentiment Analysis},
booktitle = {Proceedings of the 32nd {ACM} International Conference on Information and Knowledge Management, {CIKM} 2023},
pages = {5117--5122},
publisher = {{ACM}},
year = {2023},
doi = {10.1145/3583780.3614752}
}
@article{YangZMT21,
author = {Heng Yang and Biqing Zeng and Mayi Xu and Tianxing Wang},
title = {Back to Reality: Leveraging Pattern-driven Modeling to Enable Affordable Sentiment Dependency Learning},
journal = {CoRR},
volume = {abs/2110.08604},
year = {2021},
url = {https://arxiv.org/abs/2110.08604},
}