GlotLID: Language Identification for Low-Resource Languages

Amir Hossein Kargaran, Ayyoob Imani, François Yvon, Hinrich Schütze
10/24/2023
cs.CL

Official code: cisnlp/GlotLID (222 stars, last commit 2026-04-15). 1 more implementation below.

Abstract

Several recent papers have published good solutions for language identification (LID) for about 300 high-resource and medium-resource languages. However, there is no LID available that (i) covers a wide range of low-resource languages, (ii) is rigorously evaluated and reliable and (iii) efficient and easy to use. Here, we publish GlotLID-M, an LID model that satisfies the desiderata of wide coverage, reliability and efficiency. It identifies 1665 languages, a large increase in coverage compared to prior work. In our experiments, GlotLID-M outperforms four baselines (CLD3, FT176, OpenLID and NLLB) when balancing F1 and false positive rate (FPR). We analyze the unique challenges that low-resource LID poses: incorrect corpus metadata, leakage from high-resource languages, difficulty separating closely related languages, handling of macrolanguage vs varieties and in general noisy data. We hope that integrating GlotLID-M into dataset creation pipelines will improve quality and enhance accessibility of NLP technology for low-resource languages and cultures. GlotLID-M model (including future versions), code, and list of data sources are available: https://github.com/cisnlp/GlotLID.

View on arXivView PDF

Code Implementations(2)

cisnlp/GlotLIDOfficial100%

[EMNLP 2023] 💬 Language Identification with Support for More Than 2000 Labels

22213PythonSep 26, 20236 months agoNOASSERTION
glotglotccglotlidlangidlanguage-classification+12 more
CC0-1.0

Children StoryBooks for 180 langauges.

41Jupyter NotebookOct 13, 20232 years agoCC0-1.0
datasetglotlow-resource-languageslow-resource-nlpmultilingual+1 more

Similar Papers

Cite this paper

@article{kargaran2023glotlid,
  title  = {GlotLID: Language Identification for Low-Resource Languages},
  author = {Amir Hossein Kargaran and Ayyoob Imani and François Yvon and Hinrich Schütze},
  year   = {2023},
  eprint = {2310.16248},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.16248v3}
}

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/2310.16248.svg)](https://codeofpaper.com/paper/2310.16248)

Discussion