Edit model card

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Polarity Classification Model for Kazakh

This is a RemBERT model fine-tuned for sentiment analysis on product reviews in Kazakh. It predicts the polarity of a review as positive or negative. The model was fine-tuned on KazSAnDRA.

Model Accuracy Precision Recall F1
RemBERT 0.89 0.81 0.82 0.81

How to use

You can use this model with the Transformers pipeline for text classification.

from transformers import AutoModelForSequenceClassification
from transformers import AutoTokenizer
from transformers import TextClassificationPipeline

model = AutoModelForSequenceClassification.from_pretrained("issai/rembert-sentiment-analysis-polarity-classification-kazakh")
tokenizer = AutoTokenizer.from_pretrained("issai/rembert-sentiment-analysis-polarity-classification-kazakh")

pipe = TextClassificationPipeline(model = model, tokenizer = tokenizer)

reviews = ["Бұл бейнефильм маған түк ұнамады.", "Осы кітап қызық сияқты."]

for review in reviews:
    print(pipe(review))
Downloads last month
2
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Dataset used to train issai/rembert-sentiment-analysis-polarity-classification-kazakh

Space using issai/rembert-sentiment-analysis-polarity-classification-kazakh 1