FinerWeb-10BT: Refining Web Data with LLM-Based Line-Level Filtering
Not on the map. Why?
Abstract (arXiv)
Data quality is crucial for training Large Language Models (LLMs). Traditional heuristic filters often miss low-quality text or mistakenly remove valuable content. In this paper, we introduce an LLM-based line-level filtering method to enhance training data quality. We use GPT-4o mini to label a 20,000-document sample from FineWeb at the line level, allowing the model to create descriptive labels for low-quality lines. These labels are grouped into nine main categories, and we train a DeBERTa-v3 classifier to scale the filtering to a 10B-token subset of FineWeb. To test the impact of our filtering, we train GPT-2 models on both the original and the filtered datasets. The results show that models trained on the filtered data achieve higher accuracy on the HellaSwag benchmark and reach their performance targets faster, even with up to 25% less data. This demonstrates that LLM-based line-level filtering can significantly improve data quality and training efficiency for LLMs. We release our quality-annotated dataset, FinerWeb-10BT, and the codebase to support further work in this area.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 12 of its 25 references that are in the map. First posted on arXiv 13 Jan 2025.
Builds on
12 of 25 references.
References · 12
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2021Carbon Emissions and Large Neural Network Trainingcited by 561
- 2024A Survey on Data Selection for Language Modelscited by 230
- 2022Will we run out of data? Limits of LLM scaling based on human-generated datacited by 187
- 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 180
- 2023CulturaX: A Cleaned, Enormous, and Multilingual Dataset for Large Language Models in 167 Languagescited by 172
- 2024Rephrasing the Web: A Recipe for Compute and Data-Efficient Language Modelingcited by 156
- 2024QuRating: Selecting High-Quality Data for Training Language Modelscited by 153
- 2024Language Ranker: A Metric for Quantifying LLM Performance Across High and Low-Resource Languagescited by 38
Built on by
Citing papers per year: 2025: 3; 2026: 3.
6 papers.
- 2025MotionEdit: Benchmarking and Learning Motion-Centric Image Editingcited by 7
- 2025Register Always Matters: Analysis of LLM Pretraining Data Through the Lens of Language Variationcited by 6
- 2025SmolKalam: Ensemble Quality-Filtered Translation at Scale for High Quality Arabic Post-Training Datacited by 0
- 2026CORTEX: High-Quality Cross-Domain Organization of Web-Scale Corpora through Ontological Corpus Graphcited by 0
- 2026Fine PT-PT Web: A High-Quality 41 Billion Tokens Data Collection of the European Portuguese Webcited by 0
- 2026SALUTE: Benchmarking and Adapting LLMs for the Defense Domaincited by 0
- 2026SALUTE: Benchmarking and Adapting LLMs for the Defense Domain14 Sep 2026
- 2026Fine PT-PT Web: A High-Quality 41 Billion Tokens Data Collection of the European Portuguese Web7 Sep 2026
- 2026CORTEX: High-Quality Cross-Domain Organization of Web-Scale Corpora through Ontological Corpus Graph29 Jun 2026
- 2025MotionEdit: Benchmarking and Learning Motion-Centric Image Editing11 Dec 2025
- 2025SmolKalam: Ensemble Quality-Filtered Translation at Scale for High Quality Arabic Post-Training Data23 Nov 2025
- 2025Register Always Matters: Analysis of LLM Pretraining Data Through the Lens of Language Variation2 Apr 2025