Downloads · 30 days
0
ArshVerma/mannsaathi-symptom-classifier-large
mannsaathi-symptom-classifier-large is a text classification model from ArshVerma. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
A multilingual symptom classification model fine-tuned to understand how people in India actually describe health concerns — in Hindi, English, and Hinglish. Built as the AI core of MannSaathi, an anonymous health com…
Downloads · 30 days
0
Access
Public
Updated Jun 21, 2026
Repo size
24.2 MB
Likes
0
Public
Click a slice to open those files.
.json16.8 MB · 69%
From the Hugging Face model README
A multilingual symptom classification model fine-tuned to understand how people in India actually describe health concerns — in Hindi, English, and Hinglish. Built as the AI core of MannSaathi, an anonymous health companion designed to help people overcome fear and hesitation around seeking healthcare.
This model classifies free-text symptom descriptions into 22+ symptom categories and outputs a calibrated risk score. It was fine-tuned using LoRA (Low-Rank Adaptation) on top of xlm-roberta-large, specifically trained to handle code-mixed Hindi-English (Hinglish) input, which most general-purpose medical NLP models fail to interpret correctly.
The model intentionally avoids alarming or diagnostic language in its design philosophy — it is built to inform and reassure, not to diagnose.
This model is intended to power conversational symptom-checking experiences where users describe how they're feeling in natural, informal language. It returns likely symptom categories and a risk indicator to help guide users toward an appropriate next step (self-care info, telemedicine, or in-person care).
This model is not a diagnostic tool and must not be used as a substitute for professional medical advice, diagnosis, or treatment. It should not be deployed in any clinical decision-making system without human oversight. It is not validated for emergency triage.
The model was trained on a dataset skewed toward Hindi-English code-mixed text common in North Indian conversational patterns, and may underperform on other Indian languages or regional dialects. As with any symptom-classification model, false negatives on serious symptoms are possible — this model should always be paired with clear messaging encouraging users to seek professional care when uncertain.
Users (and downstream developers) should be made aware of the risks, biases, and limitations of the model. Always pair model output with clear next-step guidance and never present results as a clinical diagnosis.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
tokenizer = AutoTokenizer.from_pretrained("ArshVerma/mannsaathi-symptom-classifier-large")
model = AutoModelForSequenceClassification.from_pretrained("ArshVerma/mannsaathi-symptom-classifier-large")
text = "sir dard hai aur neend nahi aa rahi 3 din se"
inputs = tokenizer(text, return_tensors="pt", truncation=True, padding=True)
with torch.no_grad():
outputs = model(**inputs)
probs = torch.sigmoid(outputs.logits)
print(probs)
The model was trained on a custom-curated dataset of Hindi, English, and Hinglish health-related text, combining publicly available medical Q&A sources with manually labeled conversational symptom descriptions reflecting how people in India actually talk about their health.
Fine-tuning was performed using LoRA (Low-Rank Adaptation) on top of xlm-roberta-large, allowing efficient training on limited GPU resources without updating all base model parameters.
The model was evaluated on a held-out validation split of the curated dataset, measuring multi-label classification accuracy and F1 score across all 22+ symptom categories.
Training was performed on a single Kaggle T4 GPU instance over a limited number of epochs, resulting in minimal estimated carbon impact compared to large-scale pretraining runs.
XLM-RoBERTa-large backbone with a fine-tuned classification head (via LoRA adapters) for multi-label symptom category prediction.
Kaggle free-tier NVIDIA T4 GPU
transformerspeft (for LoRA)torchIf you use this model, please consider citing the project:
@misc{mannsaathi2026,
author = {Arsh Verma},
title = {MannSaathi Symptom Classifier (Large)},
year = {2026},
url = {https://huggingface.co/ArshVerma/mannsaathi-symptom-classifier-large}
}