Language Models on a Diet: Cost-Efficient Development of Encoders for Closely-Related Languages via Additional Pretraining

Nikola Ljubešić, Vít Suchomel, Peter Rupnik, Taja Kuzman, Rik van Noord
4/8/2024
cs.CL

No official code found. Best implementation: clarinsi/benchich (2 stars, last commit 2025-04-22).

Abstract

The world of language models is going through turbulent times, better and ever larger models are coming out at an unprecedented speed. However, we argue that, especially for the scientific community, encoder models of up to 1 billion parameters are still very much needed, their primary usage being in enriching large collections of data with metadata necessary for downstream research. We investigate the best way to ensure the existence of such encoder models on the set of very closely related languages - Croatian, Serbian, Bosnian and Montenegrin, by setting up a diverse benchmark for these languages, and comparing the trained-from-scratch models with the new models constructed via additional pretraining of existing multilingual models. We show that comparable performance to dedicated from-scratch models can be obtained by additionally pretraining available multilingual models even with a limited amount of computation. We also show that neighboring languages, in our case Slovenian, can be included in the additional pretraining with little to no loss in the performance of the final model.

View on arXivView PDF

Code Implementations(1)

clarinsi/benchichCommunity100%

BENCHić - the benchmark for Bosnian, Croatian, Montenegrin, Serbian (and friends)

20Shell, PythonFeb 16, 20231 years ago

Cite this paper

@article{ljubei2024language,
  title  = {Language Models on a Diet: Cost-Efficient Development of Encoders for Closely-Related Languages via Additional Pretraining},
  author = {Nikola Ljubešić and Vít Suchomel and Peter Rupnik and Taja Kuzman and Rik van Noord},
  year   = {2024},
  eprint = {2404.05428},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.05428v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.05428.svg)](https://codeofpaper.com/paper/2404.05428)

Discussion