eta onek sundor hoyeche vai -> positive
1 minute por por 3g hoia jay -> negative
gt 10 pro kokon asbe bangladesh e? -> neutral
app ta valo but dam beshi -> mixed
Four moods, including the hard one: praise and complaint in the same breath.
Banglish e
ki eta? Comment porhe bole dey mood ta ki — bhalo, kharap, emni
question, na dui rokom ek shathe. Banglish ei kaj kore, formal Bangla
lage na.
ki kaj e lagbe? Review sorting, comment moderation dashboard,
market research — jekhane hajar hajar comment porhar time nai.
The head is a separate small file on purpose: the encoder averages every
word before deciding, which the standard one-line pipeline cannot do —
these twelve lines are the whole integration.
How good
0.74 macro-F1 on 1,975 held-out comments, four-way. Always guessing the
commonest answer scores 0.12 on the same ruler. We also read 60 of its
answers by hand: the mistakes sit on genuinely blurry lines — a
complaint-shaped question, a sarcastic compliment — never a cheerful
review called hateful.
Built
On banglish-encoder,
our MuRIL further pretrained on Banglish. That backbone beat stock MuRIL
at this exact task on all five seeded runs — this model is the winning
arm. Trained on BnSentMix,
~20k human-labeled code-mixed comments.
Limits
Short, informal text — a comment, not an essay (about fifty words, then
it truncates). Four fixed moods; it does not detect topics, sarcasm as a
category, or hate speech. "mixed" is the hardest class and its weakest.
AI Disclosure
The author designed the system, chose the base models, ran all training and
measurement on the author's own machine, read the models' output, and chose
what to publish and what to withhold. Claude Code
(Anthropic) was used as a coding and writing tool under that direction.
License
Apache 2.0. Data from
BnSentMix (MIT);
base model lineage: MuRIL
(Google, Apache 2.0).
bibtex
1@misc{banglishsentiment2026,
2 author = {Sifat Febo},
3 title = {Banglish Sentiment: reads the mood of the comment section},
4 year = {2026},
5 url = {https://huggingface.co/sifat-febo/banglish-sentiment}
6}