Views
No views yet
google/muril-base-cased)as)| Metric | Score | Percentage |
|---|---|---|
| Accuracy | 0.963293 | 96.33% |
| Macro F1-Score | 0.960526 | 96.05% |
| Macro Precision | 0.960819 | 96.08% |
| Macro Recall | 0.960236 | 96.02% |
| ROC-AUC | 0.988171 | 98.82% |
0: Negative, 1: Positive).transformers library:1from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
2
3# Load model and tokenizer
4model_name = "AvinabhDutta-Dev/assamese-sentiment-muril"
5tokenizer = AutoTokenizer.from_pretrained(model_name)
6model = AutoModelForSequenceClassification.from_pretrained(model_name)
7
8# Create pipeline
9classifier = pipeline("sentiment-analysis", model=model, tokenizer=tokenizer)
10
11# Example text (Assamese)
12sample_text = "চলচ্চিত্ৰখনৰ কাহিনী আৰু অভিনয় অতি সুন্দৰ হৈছে।"
13result = classifier(sample_text)
14
15print(result)| Parameter | Value |
|---|---|
| Total Epochs | 4.0 |
| Train Batch Size | 16 |
| Max Training Steps | 1800 |
| Peak Learning Rate | 2e-05 (decayed to 1.234e-08) |
| Logging Steps | 100 |
| Evaluation Steps | 500 |
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