ALBETO and DistilBETO: Lightweight Spanish Language Models

José Cañete, Sebastián Donoso, Felipe Bravo-Marquez, Andrés Carvallo, Vladimir Araujo
4/19/2022
29 citations
cs.CL

Official code: dccuchile/lightweight-spanish-language-models (39 stars, Python, last commit 2023-02-07).

Abstract

In recent years there have been considerable advances in pre-trained language models, where non-English language versions have also been made available. Due to their increasing use, many lightweight versions of these models (with reduced parameters) have also been released to speed up training and inference times.

Show full abstract

However, versions of these lighter models (e.g., ALBERT, DistilBERT) for languages other than English are still scarce. In this paper we present ALBETO and DistilBETO, which are versions of ALBERT and DistilBERT pre-trained exclusively on Spanish corpora. We train several versions of ALBETO ranging from 5M to 223M parameters and one of DistilBETO with 67M parameters. We evaluate our models in the GLUES benchmark that includes various natural language understanding tasks in Spanish. The results show that our lightweight models achieve competitive results to those of BETO (Spanish-BERT) despite having fewer parameters. More specifically, our larger ALBETO model outperforms all other models on the MLDoc, PAWS-X, XNLI, MLQA, SQAC and XQuAD datasets. However, BETO remains unbeaten for POS and NER. As a further contribution, all models are publicly available to the community for future research.

View on arXivView PDF

Code Implementations(1)

ALBETO and DistilBETO are versions of ALBERT and DistilBERT pre-trained exclusively on Spanish corpora.

392Python, ShellJan 15, 20223 years ago

Similar Papers

Cite this paper

@article{caete2022albeto,
  title  = {ALBETO and DistilBETO: Lightweight Spanish Language Models},
  author = {José Cañete and Sebastián Donoso and Felipe Bravo-Marquez and Andrés Carvallo and Vladimir Araujo},
  year   = {2022},
  eprint = {2204.09145},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.09145}
}

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

Discussion