EMNLP Findings2024
One Model is All You Need: ByT5-Sanskrit, a Unified Model for Sanskrit NLP Tasks
Sebastian Nehrdich, Oliver Hellwig, Kurt Keutzer
Abstract
Morphologically rich languages are notoriously challenging to process for downstream NLP applications. This paper presents a new pretrained language model, ByT5-Sanskrit, designed for NLP applications involving the morphologically rich language Sanskrit. We evaluate ByT5-Sanskrit on established Sanskrit word segmentation tasks, where it outperforms previous data-driven approaches by a considerable margin and matches the performance of the current best lexicon-based model. It is easier to deploy and more robust to data not covered by external linguistic resources. It also achieves new state-of-the-art results in Vedic Sanskrit dependency parsing and OCR post-correction tasks. Additionally, based on the Digital Corpus of Sanskrit, we introduce a novel multitask dataset for the joint training of Sanskrit word segmentation, lemmatization, and morphosyntactic tagging tasks. We fine-tune ByT5-Sanskrit on this dataset, creating a versatile multitask model for various downstream Sanskrit applications. We have used this model in Sanskrit linguistic annotation projects, in information retrieval setups, and as a preprocessing step in a Sanskrit machine translation pipeline. We also show that our approach yields new best scores for lemmatization and dependency parsing of other morphologically rich languages. We thus demonstrate that byte-level pretrained language models can achieve excellent performance for morphologically rich languages, outperforming tokenizer-based models and presenting an important vector of exploration when constructing NLP pipelines for such languages.
Ask Lune
Ask anything. The answer quotes the paper.
Lune reads all of it and the papers around it, then shows you the passages behind every answer.
Lune answers from
the full paper · 1 top-tier paper that cites it · related work
Free to start. No credit card required.
Cited by top-tier papers1
Builds on6
- Multitask Prompted Training Enables Zero-Shot Task GeneralizationVictor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach et al.ICLR 2022 · 1,976 citations
- IndicLLMSuite: A Blueprint for Creating Pre-training and Fine-Tuning Datasets for Indian LanguagesMohammed Safi Ur Rahman Khan, Priyam Mehta, Ananth Sankar, Umashankar Kumaravelan et al.ACL 2024 · 12 citations
- TransLIST: A Transformer-Based Linguistically Informed Sanskrit TokenizerJivnesh Sandhan, Rathin Singha, Narein Rao, Suvendu Samanta et al.EMNLP Findings 2022 · 11 citations
- A Benchmark and Dataset for Post-OCR text correction in SanskritAyush Maheshwari, Nikhil Singh, Amrith Krishna, Ganesh RamakrishnanEMNLP Findings 2022 · 11 citations
- Dependency Parsing via Sequence GenerationBoda Lin, Zijun Yao, Jiaxin Shi, Shulin Cao et al.EMNLP Findings 2022 · 4 citations
Related papers
- BanglaByT5: Byte-Level Modelling for BanglaPramit Bhattacharyya, Arnab BhattacharyaEMNLP Findings 2025 · 3 citations
- Lemmatisation & Morphological Analysis of Unedited Greek: Do Simple Tasks Need Complex Solutions?Colin Swaelens, Ilse De Vos, Els LefeverACL Findings 2025 · 1 citation
- Multilingual Sequence-to-Sequence Models for Hebrew NLPMatan Eyal, Hila Noga, Roee Aharoni, Idan Szpektor et al.ACL Findings 2023 · 5 citations
- A Case Study of Cross-Lingual Zero-Shot Generalization for Classical Languages in LLMsV. S. D. S. Mahesh Akavarapu, Hrishikesh Terdalkar, Pramit Bhattacharyya, Shubhangi Agarwal et al.ACL Findings 2025
- Exploring Large Language Models for Classical PhilologyFrederick Riemenschneider, Anette FrankACL 2023 · 8 citations
