Downloads · 30 days
22
40% of all-time downloads
SrothJr/bangla-depression-model
bangla-depression-model is a machine learning model from SrothJr. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A fine-tuned transformer model for Bangla text depression detection.
Downloads · 30 days
22
40% of all-time downloads
All-time downloads
55
Public
Parameters
164M
658 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors658 MB · 99%
From the Hugging Face model README
A fine-tuned transformer model for Bangla text depression detection.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
model_name = "SrothJr/bangla-depression-model"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)
# Inference
text = "আপনার বাংলা টেক্সট এখানে"
inputs = tokenizer(text, return_tensors="pt")
with torch.no_grad():
outputs = model(**inputs)
logits = outputs.logits
predicted_class = logits.argmax(-1).item()
print(f"Predicted class: {predicted_class}")
This model was fine-tuned on a Bangla depression detection dataset using the Hugging Face Transformers library.
MIT
If you use this model, please cite:
@model{bangla_depression_model_2026,
author = {SrothJr},
title = {Bangla Depression Detection Model},
year = {2026}
}