Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,50 +1,199 @@
|
|
| 1 |
---
|
| 2 |
-
dataset_info:
|
| 3 |
-
- config_name: ces_Latn
|
| 4 |
-
features:
|
| 5 |
-
- name: text
|
| 6 |
-
dtype: string
|
| 7 |
-
- name: id
|
| 8 |
-
dtype: string
|
| 9 |
-
- name: url
|
| 10 |
-
dtype: string
|
| 11 |
-
- name: dump
|
| 12 |
-
dtype: string
|
| 13 |
-
- name: date
|
| 14 |
-
dtype: string
|
| 15 |
-
- name: language
|
| 16 |
-
dtype: string
|
| 17 |
-
- name: language_score
|
| 18 |
-
dtype: float64
|
| 19 |
license: odc-by
|
| 20 |
task_categories:
|
| 21 |
- text-generation
|
| 22 |
language:
|
| 23 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
tags:
|
| 25 |
- fineweb
|
| 26 |
- autocurate
|
| 27 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
---
|
| 29 |
|
| 30 |
# fineweb-2-autocurate
|
| 31 |
|
| 32 |
Autonomously curated subsets of [HuggingFaceFW/fineweb-2](https://huggingface.co/datasets/HuggingFaceFW/fineweb-2).
|
| 33 |
|
| 34 |
-
An
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
on a Wikipedia eval set. Only fixes that improved BPB were kept.
|
| 38 |
|
| 39 |
## Subsets
|
| 40 |
|
| 41 |
-
| Language | Original
|
| 42 |
-
|---|---|---|---|
|
| 43 |
-
|
|
| 44 |
-
|
|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|
| 10 |
+
- nl
|
| 11 |
+
- pl
|
| 12 |
+
- tr
|
| 13 |
+
- vi
|
| 14 |
+
- cs
|
| 15 |
tags:
|
| 16 |
- fineweb
|
| 17 |
- autocurate
|
| 18 |
+
- data-quality
|
| 19 |
+
- multilingual
|
| 20 |
+
pretty_name: fineweb-2-autocurate
|
| 21 |
+
configs:
|
| 22 |
+
- config_name: dan_Latn
|
| 23 |
+
data_files:
|
| 24 |
+
- split: train
|
| 25 |
+
path: data/dan_Latn/train/*
|
| 26 |
+
- config_name: swe_Latn
|
| 27 |
+
data_files:
|
| 28 |
+
- split: train
|
| 29 |
+
path: swe_Latn/train/*
|
| 30 |
+
- config_name: nob_Latn
|
| 31 |
+
data_files:
|
| 32 |
+
- split: train
|
| 33 |
+
path: nob_Latn/train/*
|
| 34 |
+
- config_name: fin_Latn
|
| 35 |
+
data_files:
|
| 36 |
+
- split: train
|
| 37 |
+
path: fin_Latn/train/*
|
| 38 |
+
- config_name: nld_Latn
|
| 39 |
+
data_files:
|
| 40 |
+
- split: train
|
| 41 |
+
path: nld_Latn/train/*
|
| 42 |
+
- config_name: pol_Latn
|
| 43 |
+
data_files:
|
| 44 |
+
- split: train
|
| 45 |
+
path: pol_Latn/train/*
|
| 46 |
+
- config_name: ces_Latn
|
| 47 |
+
data_files:
|
| 48 |
+
- split: train
|
| 49 |
+
path: ces_Latn/train/*
|
| 50 |
+
- config_name: tur_Latn
|
| 51 |
+
data_files:
|
| 52 |
+
- split: train
|
| 53 |
+
path: tur_Latn/train/*
|
| 54 |
+
- config_name: vie_Latn
|
| 55 |
+
data_files:
|
| 56 |
+
- split: train
|
| 57 |
+
path: vie_Latn/train/*
|
| 58 |
---
|
| 59 |
|
| 60 |
# fineweb-2-autocurate
|
| 61 |
|
| 62 |
Autonomously curated subsets of [HuggingFaceFW/fineweb-2](https://huggingface.co/datasets/HuggingFaceFW/fineweb-2).
|
| 63 |
|
| 64 |
+
An LLM agent iteratively samples documents, identifies quality problems, and proposes heuristic fixes. Each fix is validated by training a small language model for 5 minutes and measuring BPB improvement on a Wikipedia eval set. Only fixes that improve BPB are kept.
|
| 65 |
+
|
| 66 |
+
Built with [autocurate](https://github.com/bwang-pplx/autocurate).
|
|
|
|
| 67 |
|
| 68 |
## Subsets
|
| 69 |
|
| 70 |
+
| Language | Subset | Original Docs | Kept Docs | Kept % | BPB Before → After | Improvement |
|
| 71 |
+
|---|---|---|---|---|---|---|
|
| 72 |
+
| Danish | `dan_Latn` | 45.4M | 39.5M | 87% | 1.448 → 1.422 | -1.8% |
|
| 73 |
+
| Swedish | `swe_Latn` | 59.5M | 53.9M | 91% | 1.443 → 1.437 | -0.4% |
|
| 74 |
+
| Norwegian Bokmål | `nob_Latn` | 38.1M | 30.6M | 80% | 1.447 → 1.439 | -0.5% |
|
| 75 |
+
| Finnish | `fin_Latn` | 36.7M | 33.0M | 90% | 1.386 → 1.374 | -0.8% |
|
| 76 |
+
| Dutch | `nld_Latn` | 147.3M | 126.0M | 86% | 1.405 → 1.391 | -1.0% |
|
| 77 |
+
| Polish | `pol_Latn` | 152.0M | 100.3M | 66% | 1.196 → 1.176 | -1.7% |
|
| 78 |
+
| Czech | `ces_Latn` | 66.1M | 32.5M | 49% | 1.167 → 1.153 | -1.1% |
|
| 79 |
+
| Turkish | `tur_Latn` | 95.1M | 83.9M | 88% | 1.117 → 1.111 | -0.6% |
|
| 80 |
+
| Vietnamese | `vie_Latn` | 61.1M | 61.0M | 99.9% | 0.863 → 0.808 | -6.4% |
|
| 81 |
+
|
| 82 |
+
## Usage
|
| 83 |
+
|
| 84 |
+
```python
|
| 85 |
+
from datasets import load_dataset
|
| 86 |
+
|
| 87 |
+
ds = load_dataset("bowang0911/fineweb-2-autocurate", "dan_Latn", split="train")
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
## Filters applied per language
|
| 91 |
+
|
| 92 |
+
<details>
|
| 93 |
+
<summary>Vietnamese (vie_Latn) — 1 filter</summary>
|
| 94 |
+
|
| 95 |
+
- **Drop gambling/casino spam** — keyword density filter for betting and casino spam injected into articles
|
| 96 |
+
|
| 97 |
+
</details>
|
| 98 |
+
|
| 99 |
+
<details>
|
| 100 |
+
<summary>Turkish (tur_Latn) — 2 cleaners, 3 filters</summary>
|
| 101 |
+
|
| 102 |
+
- Strip aggregated unrelated content (news tickers, sidebars)
|
| 103 |
+
- Strip truncated line endings
|
| 104 |
+
- Drop incomplete/truncated text ending mid-sentence (2 rules)
|
| 105 |
+
- Drop SEO spam keyword stuffing
|
| 106 |
+
|
| 107 |
+
</details>
|
| 108 |
+
|
| 109 |
+
<details>
|
| 110 |
+
<summary>Czech (ces_Latn) — 2 cleaners, 4 filters</summary>
|
| 111 |
+
|
| 112 |
+
- Strip truncated line endings (`...splňuje`, `...Pokračovat ve čtení`)
|
| 113 |
+
- Strip boilerplate footers (`Můžete také zajímat`, `Zaregistrovat se`, `více »`)
|
| 114 |
+
- Drop truncated articles containing `...`
|
| 115 |
+
- Drop e-commerce pages (`Skladem`, `PPL`, `Koupit`, `Poštovné`)
|
| 116 |
+
- Drop cookie/boilerplate pages (`využíváme soubory cookies`, `Copyright`)
|
| 117 |
+
- Drop incomplete text (`číst dále`, `zobrazit více`)
|
| 118 |
+
|
| 119 |
+
</details>
|
| 120 |
+
|
| 121 |
+
<details>
|
| 122 |
+
<summary>Polish (pol_Latn) — 2 cleaners, 3 filters</summary>
|
| 123 |
+
|
| 124 |
+
- Strip footer boilerplate (`Ostatnie wiadomości`, `Newsletter`, `Zaloguj się`)
|
| 125 |
+
- Strip cookie/UI noise (`Ta strona używa plików cookies`)
|
| 126 |
+
- Drop truncated text (`...`, `czytaj dalej`, `zobacz więcej`)
|
| 127 |
+
- Drop truncated text with abrupt cutoffs
|
| 128 |
+
- Drop cookie banner documents
|
| 129 |
+
|
| 130 |
+
</details>
|
| 131 |
+
|
| 132 |
+
<details>
|
| 133 |
+
<summary>Finnish (fin_Latn) — 1 cleaner, 5 filters</summary>
|
| 134 |
+
|
| 135 |
+
- Strip link farm / footer leakage
|
| 136 |
+
- Drop CLI flags and ellipsis patterns
|
| 137 |
+
- Drop machine translation errors and gibberish
|
| 138 |
+
- Drop OCR errors and garbled text
|
| 139 |
+
- Drop grammar/syntax errors and morphological breakdowns
|
| 140 |
+
- Drop SEO spam keyword stuffing
|
| 141 |
+
|
| 142 |
+
</details>
|
| 143 |
+
|
| 144 |
+
<details>
|
| 145 |
+
<summary>Dutch (nld_Latn) — 2 cleaners, 3 filters</summary>
|
| 146 |
+
|
| 147 |
+
- Strip incomplete sentence endings and text cutoffs
|
| 148 |
+
- Strip boilerplate/navigation artifacts (footers, sidebars)
|
| 149 |
+
- Drop machine translation artifacts and nonsensical syntax
|
| 150 |
+
- Drop structural noise (UI artifacts, footer leakage)
|
| 151 |
+
- Drop aggressive filter patterns
|
| 152 |
+
|
| 153 |
+
</details>
|
| 154 |
+
|
| 155 |
+
<details>
|
| 156 |
+
<summary>Swedish (swe_Latn) — 1 cleaner, 3 filters</summary>
|
| 157 |
+
|
| 158 |
+
- Strip truncated document endings
|
| 159 |
+
- Drop adult content and SEO spam
|
| 160 |
+
- Drop truncated/incomplete paragraphs (scraping errors, paywalls)
|
| 161 |
+
- Drop adult content keyword stuffing (density filter)
|
| 162 |
+
|
| 163 |
+
</details>
|
| 164 |
+
|
| 165 |
+
<details>
|
| 166 |
+
<summary>Norwegian Bokmål (nob_Latn) — 1 cleaner, 2 filters</summary>
|
| 167 |
+
|
| 168 |
+
- Strip boilerplate/footer artifacts and platform noise
|
| 169 |
+
- Drop boilerplate interface elements
|
| 170 |
+
- Drop SEO spam keyword stuffing
|
| 171 |
+
|
| 172 |
+
</details>
|
| 173 |
+
|
| 174 |
+
<details>
|
| 175 |
+
<summary>Danish (dan_Latn) — 5 rules</summary>
|
| 176 |
+
|
| 177 |
+
- Drop short documents (< 500 chars / 50 words)
|
| 178 |
+
- Drop documents with high adult/spam keyword density
|
| 179 |
+
- Remove lines containing adult/NSFW keywords
|
| 180 |
+
- Strip truncation artifacts ("Læs mere")
|
| 181 |
+
- Drop SEO spam pages
|
| 182 |
+
|
| 183 |
+
</details>
|
| 184 |
+
|
| 185 |
+
## Schema
|
| 186 |
+
|
| 187 |
+
Same as fineweb-2 — all original columns preserved. The `text` column contains cleaned text.
|
| 188 |
+
|
| 189 |
+
## Method
|
| 190 |
+
|
| 191 |
+
```
|
| 192 |
+
Sample docs → LLM identifies problems → Propose fix → Train 5 min → BPB improved? → Keep / Revert
|
| 193 |
+
```
|
| 194 |
+
|
| 195 |
+
See [autocurate](https://github.com/bwang-pplx/autocurate) for details.
|
| 196 |
+
|
| 197 |
+
## License
|
| 198 |
+
|
| 199 |
+
Same as fineweb-2: [ODC-BY](https://opendatacommons.org/licenses/by/1-0/).
|