BERTIN: Efficient Pre-Training of a Spanish Language Model using Perplexity Sampling

Javier de la Rosa, Eduardo G. Ponferrada, Paulo Villegas, Pablo Gonzalez de Prado Salas, Manu Romero +1 more
7/14/2022
cs.CLcs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

The pre-training of large language models usually requires massive amounts of resources, both in terms of computation and data. Frequently used web sources such as Common Crawl might contain enough noise to make this pre-training sub-optimal. In this work, we experiment with different sampling methods from the Spanish version of mC4, and present a novel data-centric technique which we name $\textit{perplexity sampling}$ that enables the pre-training of language models in roughly half the amount of steps and using one fifth of the data. The resulting models are comparable to the current state-of-the-art, and even achieve better results for certain tasks. Our work is proof of the versatility of Transformers, and paves the way for small teams to train their models on a limited budget. Our models are available at this $\href{https://huggingface.co/bertin-project}{URL}$.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{rosa2022bertin,
  title  = {BERTIN: Efficient Pre-Training of a Spanish Language Model using Perplexity Sampling},
  author = {Javier de la Rosa and Eduardo G. Ponferrada and Paulo Villegas and Pablo Gonzalez de Prado Salas and Manu Romero and Marıa Grandury},
  year   = {2022},
  eprint = {2207.06814},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.06814v1}
}

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

Discussion