Downloads · 30 days
56
26% of all-time downloads
sifat-febo/banglish-embed-minilm-small
banglish-embed-minilm-small is a sentence similarity model from sifat-febo. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as apache-2.0.
Downloads · 30 days
56
26% of all-time downloads
All-time downloads
213
Public
Parameters
117M
469 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors469 MB · 98%
From the Hugging Face model README
কারো কাজ করলে বলবেন প্লিজ
Karo kaj korle bolben please
Search in either. Find both.
ki eta? Banglish diye search korle Bangla lekha o pabe, ulta o hobe. Ei tate shob theke boro lekha dhore — prai shottor shobdo.
ki lagbe? pip install sentence-transformers. Adha GB-r o kom, tai
purono computer e o namano jay. Internet lagbe na, account lagbe na.
aro bhalo cai? banglish-embed — boro, kintu aro shothik.
aro choto cai? banglish-embed-tiny — 12 MB.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("sifat-febo/banglish-embed-minilm-small")
v = model.encode(["Karo kaj korle bolben please",
"কারো কাজ করলে বলবেন প্লিজ"])
model.similarity(v[0], v[1])
0.47 GB. Runs on a personal computer's CPU. No GPU, no account, no internet.
Built on paraphrase-multilingual-MiniLM-L12-v2, so it fits pipelines already built around that model.
| Bengali → Banglish | Banglish → Bengali | Size | |
|---|---|---|---|
| banglish-embed | 0.995 | 0.992 | 0.95 GB |
| this model | 0.988 | 0.986 | 0.47 GB |
| banglish-embed-tiny | 0.990 | 0.987 | 0.012 GB |
All three were tested on the same 2,000 pairs. In mistakes: 52 here against 26 for the larger one — half the size costs you about one extra mistake in every eighty searches.
If those mistakes matter to you, use banglish-embed instead. It is the more accurate model. This one is for when a gigabyte is the problem.
There is a 12 MB one: banglish-embed-tiny. Trained from scratch with its own 16,000-word Banglish vocabulary, which is how it stays that small — and it scores a little higher than this model on the same 2,000 pairs.
The catch: that vocabulary is its own, so it will not slot into a pipeline built around a standard multilingual tokenizer. This one will.
About seventy words, in either script, then it truncates. What it knows is narrow: whether two sentences mean the same. It will not summarize, answer, or rank anything else.
98.8% means the right sentence came back ahead of all 1,999 others, and a tie counts as a mistake, not a win. Nothing was removed from the test set to make that number look better.
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.
Apache 2.0. Base model paraphrase-multilingual-MiniLM-L12-v2 (Apache 2.0). Pair data from BanglaTLit (MIT).
@misc{banglishembedminilm2026,
author = {Sifat Febo},
title = {Banglish Embed MiniLM Small: one space, two scripts, half the weight},
year = {2026},
url = {https://huggingface.co/sifat-febo/banglish-embed-minilm-small}
}