Model | Parameters | Speedup | Score |
---|---|---|---|
Fine-tuning | |||
BETO uncased | 110M | 1.00x | 81.02 |
BETO cased | 110M | 1.00x | 84.82 |
DistilBETO | 67M | 2.00x | 76.73 |
ALBETO tiny | 5M | 18.05x | 74.97 |
ALBETO base | 12M | 0.99x | 83.25 |
ALBETO large | 18M | 0.28x | 82.02 |
ALBETO xlarge | 59M | 0.07x | 84.13 |
ALBETO xxlarge | 223M | 0.03x | 85.17 |
BERTIN | 125M | 1.00x | 83.97 |
RoBERTa BNE base | 125M | 1.00x | 84.83 |
RoBERTa BNE large | 355M | 0.28x | 68.42 |
Task-specific Knowledge Distillation | |||
ALBETO tiny | 5M | 18.05x | 76.49 |
ALBETO base-2 | 12M | 5.96x | 72.98 |
ALBETO base-4 | 12M | 2.99x | 80.06 |
ALBETO base-6 | 12M | 1.99x | 82.70 |
ALBETO base-8 | 12M | 1.49x | 83.78 |
ALBETO base-10 | 12M | 1.19x | 84.32 |
Speedy Gonzales: A Collection of Fast Task-Specific Models for Spanish
To cite this resource in a publication please use the following:
@inproceedings{canete-bravo-marquez-2024-speedy,
title = "Speedy Gonzales: A Collection of Fast Task-Specific Models for {S}panish",
author = "Ca{\~n}ete, Jos{\'e} and
Bravo-Marquez, Felipe",
editor = "Bollegala, Danushka and
Shwartz, Vered",
booktitle = "Proceedings of the 13th Joint Conference on Lexical and Computational Semantics (*SEM 2024)",
month = jun,
year = "2024",
address = "Mexico City, Mexico",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2024.starsem-1.14",
pages = "176--189",
abstract = "Large language models (LLM) are now a very common and successful path to approach language and retrieval tasks. While these LLM achieve surprisingly good results it is a challenge to use them on more constrained resources. Techniques to compress these LLM into smaller and faster models have emerged for English or Multilingual settings, but it is still a challenge for other languages. In fact, Spanish is the second language with most native speakers but lacks of these kind of resources. In this work, we evaluate all the models publicly available for Spanish on a set of 6 tasks and then, by leveraging on Knowledge Distillation, we present Speedy Gonzales, a collection of inference-efficient task-specific language models based on the ALBERT architecture. All of our models (fine-tuned and distilled) are publicly available on: https://huggingface.co/dccuchile.",
}