Playing with Words at the National Library of Sweden -- Making a Swedish\n BERT

Martin Malmsten, Love Börjeson, Chris Haffenden

arXiv (Cornell University) · 2020 · 52 citations · 0 references

DOIFull text

Open access

Concepts

Abstract

This paper introduces the Swedish BERT ("KB-BERT") developed by the KBLab for\ndata-driven research at the National Library of Sweden (KB). Building on recent\nefforts to create transformer-based BERT models for languages other than\nEnglish, we explain how we used KB's collections to create and train a new\nlanguage-specific BERT model for Swedish. We also present the results of our\nmodel in comparison with existing models - chiefly that produced by the Swedish\nPublic Employment Service, Arbetsf\\"ormedlingen, and Google's multilingual\nM-BERT - where we demonstrate that KB-BERT outperforms these in a range of NLP\ntasks from named entity recognition (NER) to part-of-speech tagging (POS). Our\ndiscussion highlights the difficulties that continue to exist given the lack of\ntraining data and testbeds for smaller languages like Swedish. We release our\nmodel for further exploration and research here:\nhttps://github.com/Kungbib/swedish-bert-models .\n