English

SWEb: A Large Web Dataset for the Scandinavian Languages

Computation and Language 2024-10-08 v1

Abstract

This paper presents the hitherto largest pretraining dataset for the Scandinavian languages: the Scandinavian WEb (SWEb), comprising over one trillion tokens. The paper details the collection and processing pipeline, and introduces a novel model-based text extractor that significantly reduces complexity in comparison with rule-based approaches. We also introduce a new cloze-style benchmark for evaluating language models in Swedish, and use this test to compare models trained on the SWEb data to models trained on FineWeb, with competitive results. All data, models and code are shared openly.

Cite

@article{arxiv.2410.04456,
  title  = {SWEb: A Large Web Dataset for the Scandinavian Languages},
  author = {Tobias Norlund and Tim Isbister and Amaru Cuba Gyllensten and Paul Dos Santos and Danila Petrelli and Ariel Ekgren and Magnus Sahlgren},
  journal= {arXiv preprint arXiv:2410.04456},
  year   = {2024}
}
R2 v1 2026-06-28T19:10:14.713Z