--- license: cc-by-4.0 language: eu tags: - bert - basque - euskara --- # ElhBERTeu-medium This is the medium-size version of [ElhBERTeu](https://huggingface.co/orai-nlp/ElhBERTeu) model, the BERT-base for Basque introduced in [BasqueGLUE: A Natural Language Understanding Benchmark for Basque](https://aclanthology.org/2022.lrec-1.172/). ElhBERTeu-medium was trained over the same corpus as for ElhBERTeu, for which we employed different corpora sources from several domains: updated (2021) national and local news sources, Basque Wikipedia, as well as novel news sources and texts from other domains, such as science (both academic and divulgative), literature or subtitles. More details about the corpora used and their sizes are shown in the following table. Texts from news sources were oversampled (duplicated) as done during the training of BERTeus. In total 575M tokens were used for pre-training ElhBERTeu. |Domain | Size | |-----------|----------| |News | 2 x 224M | |Wikipedia | 40M | |Science | 58M | |Literature | 24M | |Others | 7M | |Total | 575M | ElhBERTeu-medium is a medium-sized (L=8, H=512), cased monolingual BERT model for Basque, with a vocab size of 50K, which has 51M parameters in total and was trained as ElhBERTeu (steps=1M, batch_size=256). If you use this model, please cite the following paper: - G. Urbizu, I. San Vicente, X. Saralegi, R. Agerri, A. Soroa. BasqueGLUE: A Natural Language Understanding Benchmark for Basque. In proceedings of the 13th Language Resources and Evaluation Conference (LREC 2022). June 2022. Marseille, France ``` @InProceedings{urbizu2022basqueglue, author = {Urbizu, Gorka and San Vicente, IƱaki and Saralegi, Xabier and Agerri, Rodrigo and Soroa, Aitor}, title = {BasqueGLUE: A Natural Language Understanding Benchmark for Basque}, booktitle = {Proceedings of the Language Resources and Evaluation Conference}, month = {June}, year = {2022}, address = {Marseille, France}, publisher = {European Language Resources Association}, pages = {1603--1612}, abstract = {Natural Language Understanding (NLU) technology has improved significantly over the last few years and multitask benchmarks such as GLUE are key to evaluate this improvement in a robust and general way. These benchmarks take into account a wide and diverse set of NLU tasks that require some form of language understanding, beyond the detection of superficial, textual clues. However, they are costly to develop and language-dependent, and therefore they are only available for a small number of languages. In this paper, we present BasqueGLUE, the first NLU benchmark for Basque, a less-resourced language, which has been elaborated from previously existing datasets and following similar criteria to those used for the construction of GLUE and SuperGLUE. We also report the evaluation of two state-of-the-art language models for Basque on BasqueGLUE, thus providing a strong baseline to compare upon. BasqueGLUE is freely available under an open license.}, url = {https://aclanthology.org/2022.lrec-1.172} } ``` License: CC BY 4.0