atlas

Research map / Large language models / Language, safety and interpretability

SWEb: A Large Web Dataset for the Scandinavian Languages

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Builds SWEb, a 1.01-trillion-token Scandinavian web pretraining dataset from 98 Common Crawl snapshots, using a Longformer-based line-level model extractor on Markdown and a cloze benchmark (HP-MEK) to show parity with FineWeb.

Problem

Scandinavian languages lack large, high-quality open web pretraining corpora, and rule-based extraction pipelines (e.g., trafilatura, FineWeb) require many heuristics that are hard to adapt to new languages.

Approach

Replace rule-based main-content extraction with a learned line-level classifier (Longformer encoder over Pandoc-converted Markdown, trained on 1,380 annotated pages) and reduce quality filtering to four simple heuristics, producing a larger Scandinavian dataset.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the SWEb pipeline instead of FineWeb on the same input documentsSWEb pipeline · 2024-10 and 2024-18 Common Crawl snapshotsdocuments extracted: +62%Helped
Use the SWEb pipeline instead of FineWeb on the same input documentsSWEb pipeline · 2024-10 and 2024-18 Common Crawl snapshotstokens extracted: +60%Helped
Train on SWEb instead of FineWeb1.82B-parameter Llama model · HP-MEKbenchmark performanceNo clear effect
Train on SWEb instead of FineWeb1.82B-parameter Llama model · FineWeb test setperplexityHelped
Add global attention to the Longformer extractor (ablation)SWEb line extraction model · Extractor generalizationgeneralizationHurt
Correct inconsistent annotations using post-annotation fix-upSWEb line extraction model · Extractor test setperformanceHelped

Surprising findings

Limitations

Experimental setup

Datasets: Common Crawl FineWeb HP-MEK

Benchmarks: HP-MEK

Metrics: accuracy (highest joint log likelihood selection) perplexity

Baselines: FineWeb pipeline trafilatura mC4 OSCAR HPLT

Builds on: FineWeb CCNet Trafilatura Longformer MassiveWeb

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy