Downloads · 30 days
6
35% of all-time downloads
AvinabhDutta-Dev/assamese-sentiment-indicbert
assamese-sentiment-indicbert is a text classification model from AvinabhDutta-Dev. Use it when you need a label for a piece of text. The card lists the license as mit.
This repository contains a fine-tuned IndicBERT (ai4bharat/indic-bert) transformer model optimized for binary sentiment analysis on Assamese textual reviews. It maps localized Assamese content into binary sentiment cl…
Downloads · 30 days
6
35% of all-time downloads
All-time downloads
17
Public
Parameters
33.4M
155 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors134 MB · 86%
From the Hugging Face model README
This repository contains a fine-tuned IndicBERT (ai4bharat/indic-bert) transformer model optimized for binary sentiment analysis on Assamese textual reviews. It maps localized Assamese content into binary sentiment classes (Positive and Negative).
ai4bharat/indic-bert)as)The model was evaluated against a held-out test dataset, demonstrating stable generalization across all macro-averaged dimensions:
| Metric | Score | Percentage / Value |
|---|---|---|
| Accuracy | 0.927141 | 92.71% |
| Macro F1-Score | 0.921967 | 0.9220 |
| Macro Precision | 0.920584 | 0.9206 |
| Macro Recall | 0.923433 | 0.9234 |
| ROC-AUC | 0.977318 | 0.9773 |
| Cohen's Kappa | 0.843940 | 0.8439 |
The dataset consists of localized social media commentaries, media assessments, and audience reviews covering drama (নাটক) and cultural content in Assamese.
0: Negative, 1: Positive).You can easily load and run inference with this model using the Hugging Face transformers library:
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
# Load model and tokenizer
model_name = "AvinabhDutta-Dev/assamese-sentiment-indicbert"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)
# Create pipeline
classifier = pipeline("sentiment-analysis", model=model, tokenizer=tokenizer)
# Example text (Assamese)
sample_text = "চলচ্চিত্ৰখনৰ কাহিনী আৰু অভিনয় অতি সুন্দৰ হৈছে।"
result = classifier(sample_text)
print(result)
Fine-tuning parameters were managed alongside the overall transformer execution pipeline:
| Parameter | Value |
|---|---|
| Base Model | ai4bharat/indic-bert |
| Total Epochs | 4.0 |
| Train Batch Size | 16 |
| Learning Rate | 2e-05 |
| Weight Decay | 0.01 |
| Warmup Ratio | 0.1 |
| Checkpoint Selection | Best Macro F1 |
If you use this model or refer to this work in your research, please link back to this Hugging Face repository or the GitHub project repository. If you use this model, please cite the associated preprint:
Dev, C., Baishya, B., Dey, N., Dutta, A., & Dutta, S. (2026). Sentiment Analysis of Assamese Reviews using Transfer Learning Models. Preprint. https://doi.org/10.2139/ssrn.6357982