MonoByte: A Pool of Monolingual Byte-level Language Models

Hugo Abonizio, Leandro Rodrigues de Souza, Roberto Lotufo, Rodrigo Nogueira
9/22/2022
cs.CL

Official code: lersouza/lang-agnostic (8 stars, Python, last commit 2023-02-24).

Abstract

The zero-shot cross-lingual ability of models pretrained on multilingual and even monolingual corpora has spurred many hypotheses to explain this intriguing empirical result. However, due to the costs of pretraining, most research uses public models whose pretraining methodology, such as the choice of tokenization, corpus size, and computational budget, might differ drastically.

Show full abstract

When researchers pretrain their own models, they often do so under a constrained budget, and the resulting models might underperform significantly compared to SOTA models. These experimental differences led to various inconsistent conclusions about the nature of the cross-lingual ability of these models. To help further research on the topic, we released 10 monolingual byte-level models rigorously pretrained under the same configuration with a large compute budget (equivalent to 420 days on a V100) and corpora that are 4 times larger than the original BERT's. Because they are tokenizer-free, the problem of unseen token embeddings is eliminated, thus allowing researchers to try a wider range of cross-lingual experiments in languages with different scripts. Additionally, we release two models pretrained on non-natural language texts that can be used in sanity-check experiments. Experiments on QA and NLI tasks show that our monolingual models achieve competitive performance to the multilingual one, and hence can be served to strengthen our understanding of cross-lingual transferability in language models.

View on arXivView PDF

Code Implementations(1)

82Python, Jupyter NotebookNov 18, 20213 years ago

Similar Papers

Cite this paper

@article{abonizio2022monobyte,
  title  = {MonoByte: A Pool of Monolingual Byte-level Language Models},
  author = {Hugo Abonizio and Leandro Rodrigues de Souza and Roberto Lotufo and Rodrigo Nogueira},
  year   = {2022},
  eprint = {2209.11035},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.11035}
}

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

Discussion