Pre-training Polish Transformer-based Language Models at Scale

Sławomir Dadas, Michał Perełkiewicz, Rafał Poświata
6/7/2020
cs.CL
transformer-attention

Official code: sdadas/polish-roberta (89 stars, Python, LGPL-3.0, last commit 2022-03-08).

Abstract

Transformer-based language models are now widely used in Natural Language Processing (NLP). This statement is especially true for English language, in which many pre-trained models utilizing transformer-based architecture have been published in recent years.

Show full abstract

This has driven forward the state of the art for a variety of standard NLP tasks such as classification, regression, and sequence labeling, as well as text-to-text tasks, such as machine translation, question answering, or summarization. The situation have been different for low-resource languages, such as Polish, however. Although some transformer-based language models for Polish are available, none of them have come close to the scale, in terms of corpus size and the number of parameters, of the largest English-language models. In this study, we present two language models for Polish based on the popular BERT architecture. The larger model was trained on a dataset consisting of over 1 billion polish sentences, or 135GB of raw text. We describe our methodology for collecting the data, preparing the corpus, and pre-training the model. We then evaluate our models on thirteen Polish linguistic tasks, and demonstrate improvements over previous approaches in eleven of them.

View on arXivView PDF

Code Implementations(1)

LGPL-3.0

RoBERTa models for Polish

8913PythonMar 15, 20204 years agoLGPL-3.0
bertpolish-languageroberta

Similar Papers

Cite this paper

@article{dadas2020pretraining,
  title  = {Pre-training Polish Transformer-based Language Models at Scale},
  author = {Sławomir Dadas and Michał Perełkiewicz and Rafał Poświata},
  year   = {2020},
  eprint = {2006.04229},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.04229}
}

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

Discussion