SWEb: A Large Web Dataset for the Scandinavian Languages

Tobias Norlund, Tim Isbister, Amaru Cuba Gyllensten, Paul Dos Santos, Danila Petrelli +2 more
10/6/2024
cs.CL

No official code found. Best implementation: TobiasNorlund/SWEb (3 stars, MIT, last commit 2025-03-01).

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.

View on arXivView PDF

Code Implementations(1)

TobiasNorlund/SWEbCommunity65%
MIT

SWEb: A Large Web Dataset for the Scandinavian Languages

30CSS, LuaMar 1, 20251 years agoMIT

Similar Papers

Cite this paper

@article{norlund2024sweb,
  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},
  year   = {2024},
  eprint = {2410.04456},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.04456v1}
}

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

Discussion