Downloads · 30 days
3
3% of all-time downloads
billerjully/BERT-absa-rest-reviews-asc
BERT-absa-rest-reviews-asc is a text classification model from billerjully. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
Document-level sentiment classifier for Russian restaurant reviews. Given the full text of a review, it predicts the overall sentiment: Positive, Negative, or Neutral.
Downloads · 30 days
3
3% of all-time downloads
All-time downloads
104
Public
Parameters
29.2M
117 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors117 MB · 97%
From the Hugging Face model README
Document-level sentiment classifier for Russian restaurant reviews. Given the full text of a review, it predicts the overall sentiment: Positive, Negative, or Neutral.
This is a fine-tune of cointegrated/rubert-tiny2 (a compact Russian BERT, 29M parameters) for sequence classification. It complements the aspect extraction model billerjully/BERT-absa-rest-reviews-ate: together they answer "what is the review about" and "how does the reviewer feel overall".
from transformers import pipeline
asc = pipeline(
"text-classification",
model="billerjully/BERT-absa-rest-reviews-asc",
top_k=None, # return probabilities for all three classes
)
text = "Ужасное место. Еда пришла холодной, официант хамил, цены завышены."
print(asc(text)[0])
[{'label': 'Positive', 'score': 0.71},
{'label': 'Negative', 'score': 0.15},
{'label': 'Neutral', 'score': 0.14}]
Trained on billerjully/ru-absa-restaurant-reviews — 7,253 Russian restaurant reviews:
| Label | Count | Share |
|---|---|---|
| Positive | 6,163 | 85.0% |
| Negative | 591 | 8.1% |
| Neutral | 499 | 6.9% |