login

Spanish Pre-trained BERT Model and Evaluation Data

arXiv (Cornell University)Published 6 August 2023Open access
José Cañete, Gabriel Chaperon, Rodrigo Fuentes, Jou-Hui Ho, Ho-Jin Kang, Jorge Eduardo Pérez Pérez
Citations332
View PDF

TL;DR

By fine-tuning the authors' pre-trained Spanish model, this paper obtains better results compared to other BERT-based models pre- trained on multilingual corpora for most of the tasks, even achieving a new state-of-the-art on some of them.

Abstract

The Spanish language is one of the top 5 spoken languages in the world. Nevertheless, finding resources to train or evaluate Spanish language models is not an easy task. In this paper we help bridge this gap by presenting a BERT-based language model pre-trained exclusively on Spanish data. As a second contribution, we also compiled several tasks specifically for the Spanish language in a single repository much in the spirit of the GLUE benchmark. By fine-tuning our pre-trained Spanish model, we obtain better results compared to other BERT-based models pre-trained on multilingual corpora for most of the tasks, even achieving a new state-of-the-art on some of them. We have publicly released our model, the pre-training data, and the compilation of the Spanish benchmarks.

Keywords

Computer Science