dccuchile/speedy-gonzales

Code for "Speedy Gonzales: A Collection of Fast Task-Specific Models for Spanish"

HTML

7

9 commits

updated Jul 8, 2024

See the code

README

Speedy Gonzales: A Collection of Fast Task-Specific Models for Spanish

Summary

ModelParametersSpeedupScore
Fine-tuning
BETO uncased110M1.00x81.02
BETO cased110M1.00x84.82
DistilBETO67M2.00x76.73
ALBETO tiny5M18.05x74.97
ALBETO base12M0.99x83.25
ALBETO large18M0.28x82.02
ALBETO xlarge59M0.07x84.13
ALBETO xxlarge223M0.03x85.17
BERTIN125M1.00x83.97
RoBERTa BNE base125M1.00x84.83
RoBERTa BNE large355M0.28x68.42
Task-specific Knowledge Distillation
ALBETO tiny5M18.05x76.49
ALBETO base-212M5.96x72.98
ALBETO base-412M2.99x80.06
ALBETO base-612M1.99x82.70
ALBETO base-812M1.49x83.78
ALBETO base-1012M1.19x84.32

All results

Citation

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.",
}

dccuchile/speedy-gonzales

Code for "Speedy Gonzales: A Collection of Fast Task-Specific Models for Spanish"

HTML

7

9 commits

updated Jul 8, 2024

See the code

README

Speedy Gonzales: A Collection of Fast Task-Specific Models for Spanish

Summary

ModelParametersSpeedupScore
Fine-tuning
BETO uncased110M1.00x81.02
BETO cased110M1.00x84.82
DistilBETO67M2.00x76.73
ALBETO tiny5M18.05x74.97
ALBETO base12M0.99x83.25
ALBETO large18M0.28x82.02
ALBETO xlarge59M0.07x84.13
ALBETO xxlarge223M0.03x85.17
BERTIN125M1.00x83.97
RoBERTa BNE base125M1.00x84.83
RoBERTa BNE large355M0.28x68.42
Task-specific Knowledge Distillation
ALBETO tiny5M18.05x76.49
ALBETO base-212M5.96x72.98
ALBETO base-412M2.99x80.06
ALBETO base-612M1.99x82.70
ALBETO base-812M1.49x83.78
ALBETO base-1012M1.19x84.32

All results

Citation

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.",
}