Author:
Ulčar Matej,Robnik-Šikonja Marko
Abstract
IntroductionLarge pretrained language models have recently conquered the area of natural language processing. As an alternative to predominant masked language modeling introduced in BERT, the T5 model has introduced a more general training objective, namely sequence to sequence transformation, which more naturally fits text generation tasks. The monolingual variants of T5 models have been limited to well-resourced languages, while the massively multilingual T5 model supports 101 languages.MethodsWe trained two different-sized T5-type sequence-to-sequence models for morphologically rich Slovene language with much fewer resources. We analyzed the behavior of new models on 11 tasks, eight classification ones (named entity recognition, sentiment classification, lemmatization, two question answering tasks, two natural language inference tasks, and a coreference resolution task), and three text generation tasks (text simplification and two summarization tasks on different datasets). We compared the new SloT5 models with the multilingual mT5 model, multilingual mBART-50 model, and with four encoder BERT-like models: multilingual BERT, multilingual XLM-RoBERTa, trilingual Croatian-Slovene-English BERT, and monolingual Slovene RoBERTa model.ResultsConcerning the classification tasks, the SloT5 models mostly lag behind the monolingual Slovene SloBERTa model. However, these models are helpful for generative tasks and provide several useful results. In general, the size of models matters, and currently, there is not enough training data for Slovene for successful pretraining of large models.DiscussionWhile the results are obtained on Slovene, we believe that they may generalize to other less-resourced languages, where such models will be built. We make the training and evaluation code, as well as the trained models, publicly available.
Funder
Javna Agencija za Raziskovalno Dejavnost RS
Reference45 articles.
1. On the opportunities and risks of foundation models;Bommasani;ArXiv preprint,2021
2. “Language models are few-shot learners,”;Brown;Advances in Neural Information Processing Systems, Vol,2020
3. “Automatically sentiment annotated Slovenian news corpus AutoSentiNews 1.0,”;Bučar;Slovenian Language Resource Repository CLARIN.SI,2017
4. Annotated news corpora and a lexicon for sentiment analysis in slovene;Bučar;Lang. Resour. Evaluat,2018
5. “BERT: pre-training of deep bidirectional transformers for language understanding,”;Devlin,2019
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献