Downloads · 30 days
4
21% of all-time downloads
alphaedge-ai/mmBERT-base-sin-32768
mmBERT-base-sin-32768 is a fill-mask model from alphaedge-ai. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as mit.
This model is a 55.86% smaller version of jhu-clsp/mmBERT-base optimized for Sinhala language via vocabulary size reduction using the trimming method. This trimmed model should perform similarly to the original model…
Downloads · 30 days
4
21% of all-time downloads
All-time downloads
19
Public
Parameters
135M
542 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors542 MB · 99%
From the Hugging Face model README
This model is a 55.86% smaller version of jhu-clsp/mmBERT-base optimized for Sinhala language via vocabulary size reduction using the trimming method.
This trimmed model should perform similarly to the original model with only 32,768 tokens and a much smaller memory footprint. However, it may not perform well for other languages as tokens not commonly used in the selected languages were removed from the vocabulary.
| Metric | Original | Trimmed | Reduction |
|---|---|---|---|
| Vocabulary size | 256,000 tokens | 32,768 tokens | 87.20% |
| Model size | 306,939,648 params | 135,497,472 params | 55.86% |

from transformers import AutoModel, AutoTokenizer
model_name = "alphaedge-ai/mmBERT-base-sin-32768"
model = AutoModel.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
@misc{marone2025mmbertmodernmultilingualencoder,
title={mmBERT: A Modern Multilingual Encoder with Annealed Language Learning},
author={Marc Marone and Orion Weller and William Fleshman and Eugene Yang and Dawn Lawrie and Benjamin Van Durme},
year={2025},
eprint={2509.06888},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2509.06888},
}
@misc{hf_blogpost_trimming,
title={Introduction to Trimming},
author={Loïck BOURDOIS and Tom AARSEN and Bram VANROY and Christopher AKIKI and Woojun JUNG and Manuel ROMERO and Prithiv SAKTHI},
year={2026},
url={https://huggingface.co/blog/lbourdois/introduction-to-trimming},
}