Downloads · 30 days
11
12% of all-time downloads
sunilregmi/nepali-lemmatizerV1-mt5-base
nepali-lemmatizerV1-mt5-base is a translation model from sunilregmi. Use it when you need text moved from one language to another. The card lists the license as mit.
This model is a part of the study "Evaluating Multilingual Transformer Models for Lemmatization in Nepali: A Low-Resource Case Study" presented at LREC-COLING 2026. It addresses the challenges of lemmatization in the…
Downloads · 30 days
11
12% of all-time downloads
All-time downloads
91
Public
Parameters
582M
2.3 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors2.3 GB · 100%
From the Hugging Face model README
This model is a part of the study "Evaluating Multilingual Transformer Models for Lemmatization in Nepali: A Low-Resource Case Study" presented at LREC-COLING 2026. It addresses the challenges of lemmatization in the morphologically rich and low-resource Nepali language by leveraging pre-trained multilingual Transformer models.
This project frames Nepali lemmatization as a text-to-text generation problem. We fine-tuned several state-of-the-art architectures to map inflected Nepali words (e.g., खान्छु) to their canonical base forms (e.g., खानु).
mT5-base, mT5-small, and mBART-large-50.Our experiments show that the mT5-base model achieved the highest precision, while mBART-large-50 demonstrated superior morphological coverage.
| Model | CER ↓ | Accuracy ↑ | BLEU (Char) ↑ | Morph. Coverage ↑ |
|---|---|---|---|---|
| mT5-base | 1.1% | 96.1% | 0.980 | 0.964 |
| mBART-large-50 | 1.6% | 96.0% | 0.986 | 0.970 |
| mT5-small | 1.7% | 95.2% | 0.983 | 0.955 |
The use of this lemmatizer significantly improves performance in other NLP tasks:
You can use this model through the Hugging Face transformers library:
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
model_name = "sunilregmi/nepali-lemmatizerV1-mt5-base" # Example HF path
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
def lemmatize(word):
# Prompt format used during training
text = f"lemmatize: {word}"
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_length=32)
return tokenizer.decode(outputs[0], skip_special_tokens=True)
print(lemmatize("खैरियतसहितका")) # Output: खैरियत
The model was trained on a curated corpus of 8,000 unique word-lemma pairs:
If you use this model or the research findings, please cite:
@inproceedings{regmi2026evaluating,
title={Evaluating Multilingual Transformer Models for Lemmatization in Nepali: A Low-Resource Case Study},
author={Regmi, Sunil and Dawadi, Sundeep and Bal, Bal Krishna},
booktitle={Proceedings of the 31st International Conference on Computational Linguistics (LREC-COLING 2026)},
year={2026}
}