Downloads · 30 days
5
8% of all-time downloads
sandip404/sambodhan-folded-muril-grievance
sambodhan-folded-muril-grievance is a text classification model from sandip404. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
This is a fine-tuned MuRIL (Multilingual Representations for Indian Languages) model for Nepali grievance classification. This model classifies citizen grievances into 5 department categories.
Downloads · 30 days
5
8% of all-time downloads
All-time downloads
61
Public
Parameters
238M
950 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors950 MB · 99%
From the Hugging Face model README
This is a fine-tuned MuRIL (Multilingual Representations for Indian Languages) model for Nepali grievance classification. This model classifies citizen grievances into 5 department categories.
Best performing model from 5-fold cross-validation - This is Fold 1.
| Metric | Score |
|---|---|
| Accuracy | 1.0000 (100.00%) |
| F1 Score | 1.0000 |
| Precision | 1.0000 |
| Recall | 1.0000 |
| Fold | Accuracy | F1 Score | Precision | Recall |
|---|---|---|---|---|
| Fold 0 | 0.9949 | 0.9949 | 0.9950 | 0.9949 |
| Fold 1 ✅ | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
| Fold 2 | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
| Fold 3 | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
| Fold 4 | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
| Mean | 0.9990 | 0.9990 | 0.9990 | 0.9990 | | Std Dev | ±0.0023 | ±0.0023 | ±0.0022 | ±0.0023 |
✅ = Best performing fold (this model)
The model classifies grievances into these 5 departments:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
# Load model and tokenizer
model_name = "sandip404/sambodhan-folded-muril-grievance"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)
# Example inference
text = "बिजुली मर्मतका लागि पटक पटक सम्पर्क गर्दा पनि आएको छैन।"
inputs = tokenizer(text, return_tensors="pt", padding=True, truncation=True, max_length=128)
with torch.no_grad():
outputs = model(**inputs)
predictions = torch.nn.functional.softmax(outputs.logits, dim=-1)
predicted_class_id = predictions.argmax().item()
confidence = predictions.max().item()
print(f"Predicted class: {predicted_class_id}")
print(f"Confidence: {confidence:.3f}")
This model is designed for:
If you use this model, please cite:
@misc{sambodhan-muril-nepali-grievance,
author = {Sambodhan Team},
title = {MuRIL Nepali Grievance Classification Model},
year = {2025},
publisher = {HuggingFace},
howpublished = {\url{https://huggingface.co/sandip404/sambodhan-folded-muril-grievance}}
}
For questions or feedback, please open an issue in the Sambodhan repository.