Downloads · 30 days
4
14% of all-time downloads
alphaedge-ai/mbart-large-50-sin-16384
mbart-large-50-sin-16384 is a machine learning model from alphaedge-ai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as mit.
This model is a 39.17% smaller version of facebook/mbart-large-50 optimized for Sinhala language via vocabulary size reduction using the trimming method. This trimmed model should perform similarly to the original mod…
Downloads · 30 days
4
14% of all-time downloads
All-time downloads
28
Public
Parameters
422M
1.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.7 GB · 100%
From the Hugging Face model README
This model is a 39.17% smaller version of facebook/mbart-large-50 optimized for Sinhala language via vocabulary size reduction using the trimming method.
This trimmed model should perform similarly to the original model with only 16,384 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 | 250,027 tokens | 16,384 tokens | 93.45% |
| Model size | 610,879,488 params | 371,601,408 params | 39.17% |

from transformers import AutoModel, AutoTokenizer
model_name = "alphaedge-ai/mbart-large-50-sin-16384"
model = AutoModel.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
@misc{tang2020multilingualtranslationextensiblemultilingual,
title={Multilingual Translation with Extensible Multilingual Pretraining and Finetuning},
author={Yuqing Tang and Chau Tran and Xian Li and Peng-Jen Chen and Naman Goyal and Vishrav Chaudhary and Jiatao Gu and Angela Fan},
year={2020},
eprint={2008.00401},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2008.00401},
}
@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},
}