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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: odatl-1.0
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
- de
|
| 7 |
+
- fr
|
| 8 |
+
- ru
|
| 9 |
+
- es
|
| 10 |
+
- it
|
| 11 |
+
- ja
|
| 12 |
+
- zh
|
| 13 |
+
- pt
|
| 14 |
+
- ar
|
| 15 |
+
- fa
|
| 16 |
+
- tr
|
| 17 |
+
- pl
|
| 18 |
+
- nl
|
| 19 |
+
- id
|
| 20 |
+
- ko
|
| 21 |
+
- vi
|
| 22 |
+
- uk
|
| 23 |
+
- ca
|
| 24 |
+
- hu
|
| 25 |
+
- fi
|
| 26 |
+
- cs
|
| 27 |
+
- ro
|
| 28 |
+
- sv
|
| 29 |
+
size_categories:
|
| 30 |
+
- 1M<n<10M
|
| 31 |
+
task_categories:
|
| 32 |
+
- text-generation
|
| 33 |
+
- feature-extraction
|
| 34 |
+
tags:
|
| 35 |
+
- wikipedia
|
| 36 |
+
- corpus
|
| 37 |
+
- cleaned
|
| 38 |
+
- pretraining
|
| 39 |
+
pretty_name: Scraped-Data (Cleaned Wikipedia Corpus)
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
# Scraped-Data
|
| 43 |
+
|
| 44 |
+
A multi-language corpus of **~8.8 million** cleaned Wikipedia article records,
|
| 45 |
+
scraped, parsed, and cleaned at scale on a CPU-only Google Colab session.
|
| 46 |
+
|
| 47 |
+
## Files
|
| 48 |
+
|
| 49 |
+
| File | Size | Contents |
|
| 50 |
+
|---|---|---|
|
| 51 |
+
| `corpus_batch1.clean.zip` | 4.80 GB | ~2.9M docs |
|
| 52 |
+
| `corpus_batch2.clean.zip` | 4.85 GB | ~2.5M docs |
|
| 53 |
+
| `corpus_batch3.clean.zip` | 4.91 GB | ~2.3M docs |
|
| 54 |
+
|
| 55 |
+
Each archive contains a single JSONL file (`clean.jsonl`), one JSON object per line.
|
| 56 |
+
|
| 57 |
+
## Schema
|
| 58 |
+
|
| 59 |
+
```json
|
| 60 |
+
{"src": "wiki", "url": "...", "title": "...", "chars": 1234, "text": "..."}
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
- `src` — source type (`wiki`)
|
| 64 |
+
- `url` — canonical article URL
|
| 65 |
+
- `title` — article title (trimmed)
|
| 66 |
+
- `chars` — character count of `text`
|
| 67 |
+
- `text` — cleaned plain-text body
|
| 68 |
+
|
| 69 |
+
## Provenance
|
| 70 |
+
|
| 71 |
+
Sourced from the official `wikimedia/wikipedia` dump snapshot `20231101`
|
| 72 |
+
(parquet shards), which itself derives from Wikipedia dumps published by the
|
| 73 |
+
Wikimedia Foundation. Underlying articles are © their respective Wikipedia
|
| 74 |
+
contributors and are dual-licensed under CC-BY-SA; this compilation is
|
| 75 |
+
additionally distributed under ODATL-1.0 (below). Attribution for upstream
|
| 76 |
+
content must be preserved by downstream users in accordance with both
|
| 77 |
+
licenses.
|
| 78 |
+
|
| 79 |
+
## Cleaning pipeline
|
| 80 |
+
|
| 81 |
+
1. Segmented parallel HTTP download of source shards (~200 Mbps sustained)
|
| 82 |
+
2. Multi-process zstd/parquet decode with orjson serialization
|
| 83 |
+
3. Per-record cleaning: control-character stripping, tab/NBSP removal,
|
| 84 |
+
CRLF normalization, blank-line collapse, email redaction (`[email]`)
|
| 85 |
+
4. Minimum length gate (280 chars), empty-text drop
|
| 86 |
+
5. Title+URL exact-duplicate removal across each batch
|
| 87 |
+
6. Validation pass: every emitted record is valid UTF-8 JSON
|
| 88 |
+
|
| 89 |
+
## License
|
| 90 |
+
|
| 91 |
+
This dataset is released under the **Open Data Attribution Training
|
| 92 |
+
Disclosure License (ODATL-1.0)**, reproduced in full below.
|
| 93 |
+
|
| 94 |
+
---
|
| 95 |
+
|
| 96 |
+
# Open Data Attribution Training Disclosure License (ODATL-1.0)
|
| 97 |
+
|
| 98 |
+
Version 1.0 — July 2026
|
| 99 |
+
|
| 100 |
+
A permissive open-data license requiring attribution and mandatory disclosure of AI training use.
|
| 101 |
+
|
| 102 |
+
## SECTION 1 — DEFINITIONS
|
| 103 |
+
|
| 104 |
+
**1.1** "Dataset" refers to the collection of data, files, metadata, annotations, structures, or any other materials distributed under this License, including any updates, subsets, or modified versions.
|
| 105 |
+
|
| 106 |
+
**1.2** "Licensor" refers to the entity or individual who releases the Dataset under this License.
|
| 107 |
+
|
| 108 |
+
**1.3** "Licensee" refers to any person, organization, or system that accesses, uses, modifies, redistributes, or incorporates the Dataset.
|
| 109 |
+
|
| 110 |
+
**1.4** "Model" refers to any machine learning system, artificial intelligence system, algorithm, statistical model, or computational process trained, fine-tuned, evaluated, or otherwise developed using the Dataset.
|
| 111 |
+
|
| 112 |
+
**1.5** "Public Notice" refers to a clear, visible, and publicly accessible statement acknowledging use of the Dataset.
|
| 113 |
+
|
| 114 |
+
**1.6** "Derivative Dataset" refers to any dataset created by modifying, transforming, filtering, augmenting, or otherwise altering the original Dataset.
|
| 115 |
+
|
| 116 |
+
**1.7** "Derivative Model" refers to any Model whose training data includes the Dataset or any Derivative Dataset.
|
| 117 |
+
|
| 118 |
+
## SECTION 2 — GRANT OF RIGHTS
|
| 119 |
+
|
| 120 |
+
**2.1** The Licensor grants the Licensee a worldwide, royalty-free, non-exclusive, irrevocable permission to:
|
| 121 |
+
- Use, copy, and redistribute the Dataset for any purpose.
|
| 122 |
+
- Modify, transform, or build upon the Dataset.
|
| 123 |
+
- Create Derivative Datasets.
|
| 124 |
+
- Train, fine-tune, evaluate, or otherwise use the Dataset for machine learning or AI development.
|
| 125 |
+
- Create Derivative Models based on the Dataset.
|
| 126 |
+
|
| 127 |
+
**2.2** These rights are intended to be compatible with open-source and open-data principles, including but not limited to CC-BY, ODC-BY, and other permissive data licenses.
|
| 128 |
+
|
| 129 |
+
**2.3** No patent rights are granted or implied by this License.
|
| 130 |
+
|
| 131 |
+
## SECTION 3 — MANDATORY ATTRIBUTION
|
| 132 |
+
|
| 133 |
+
**3.1** Any public use, redistribution, publication, or derivative work involving the Dataset must include the following attribution:
|
| 134 |
+
|
| 135 |
+
> "This work uses data provided under the Open Data Attribution Training Disclosure License (ODATL-1.0)."
|
| 136 |
+
|
| 137 |
+
**3.2** Attribution must appear in:
|
| 138 |
+
- Documentation
|
| 139 |
+
- Research papers
|
| 140 |
+
- Model cards
|
| 141 |
+
- Public datasets
|
| 142 |
+
- Product descriptions
|
| 143 |
+
- Any public-facing material referencing the Dataset
|
| 144 |
+
|
| 145 |
+
**3.3** Attribution must remain intact and may not be removed, obscured, or altered.
|
| 146 |
+
|
| 147 |
+
## SECTION 4 — MANDATORY TRAINING DISCLOSURE
|
| 148 |
+
|
| 149 |
+
**4.1** If the Dataset is used to train, fine-tune, evaluate, or otherwise develop any Model, the Licensee must provide a Public Notice stating:
|
| 150 |
+
|
| 151 |
+
> "This model was trained using data provided under the Open Data Attribution Training Disclosure License (ODATL-1.0)."
|
| 152 |
+
|
| 153 |
+
**4.2** This disclosure must appear in:
|
| 154 |
+
- Model cards
|
| 155 |
+
- Public releases of the Model
|
| 156 |
+
- Research publications
|
| 157 |
+
- Technical documentation
|
| 158 |
+
- Product descriptions
|
| 159 |
+
- Any public announcement or description of the Model
|
| 160 |
+
|
| 161 |
+
**4.3** Disclosure must be truthful, visible, and accessible to the general public.
|
| 162 |
+
|
| 163 |
+
**4.4** Failure to provide this disclosure immediately terminates all rights granted under this License.
|
| 164 |
+
|
| 165 |
+
## SECTION 5 — REDISTRIBUTION REQUIREMENTS
|
| 166 |
+
|
| 167 |
+
**5.1** If the Licensee redistributes the Dataset or any Derivative Dataset, the Licensee must:
|
| 168 |
+
- Include this License in full.
|
| 169 |
+
- Clearly indicate any modifications made.
|
| 170 |
+
- Preserve all attribution and disclosure requirements.
|
| 171 |
+
|
| 172 |
+
**5.2** Derivative Datasets may be dual-licensed under other open-data licenses, provided this License remains included and enforceable.
|
| 173 |
+
|
| 174 |
+
## SECTION 6 — OPEN-SOURCE COMPATIBILITY
|
| 175 |
+
|
| 176 |
+
**6.1** This License is designed to be compatible with:
|
| 177 |
+
- Open Data Commons Attribution (ODC-BY)
|
| 178 |
+
- Creative Commons Attribution (CC-BY)
|
| 179 |
+
- Open-source AI research workflows
|
| 180 |
+
- Open-data distribution platforms
|
| 181 |
+
|
| 182 |
+
**6.2** Redistribution through open-source repositories (e.g., GitHub, HuggingFace, Kaggle) is permitted and encouraged.
|
| 183 |
+
|
| 184 |
+
**6.3** Licensees may combine the Dataset with other open datasets, provided attribution and training disclosure obligations remain intact.
|
| 185 |
+
|
| 186 |
+
## SECTION 7 — PROHIBITED USES
|
| 187 |
+
|
| 188 |
+
**7.1** The Licensee may not:
|
| 189 |
+
- Claim exclusive ownership of the Dataset.
|
| 190 |
+
- Remove or alter attribution or disclosure requirements.
|
| 191 |
+
- Use the Dataset in violation of applicable laws or regulations.
|
| 192 |
+
- Misrepresent the origin, nature, or licensing of the Dataset.
|
| 193 |
+
|
| 194 |
+
**7.2** The Licensee may not apply technical or legal measures that restrict others from exercising rights granted under this License.
|
| 195 |
+
|
| 196 |
+
## SECTION 8 — NO WARRANTY
|
| 197 |
+
|
| 198 |
+
**8.1** The Dataset is provided "as-is," without warranty of any kind, express or implied.
|
| 199 |
+
|
| 200 |
+
**8.2** The Licensor is not liable for any damages, losses, or claims arising from use of the Dataset or any Derivative Model.
|
| 201 |
+
|
| 202 |
+
## SECTION 9 — TERMINATION
|
| 203 |
+
|
| 204 |
+
**9.1** Rights under this License automatically terminate if the Licensee:
|
| 205 |
+
- Fails to provide required attribution.
|
| 206 |
+
- Fails to provide required training disclosure.
|
| 207 |
+
- Violates any other term of this License.
|
| 208 |
+
|
| 209 |
+
**9.2** Rights may be reinstated upon correction of the violation, unless the Licensor explicitly revokes permission.
|
| 210 |
+
|
| 211 |
+
## SECTION 10 — ACCEPTANCE
|
| 212 |
+
|
| 213 |
+
**10.1** By accessing or using the Dataset, the Licensee agrees to be bound by the terms of this License.
|
| 214 |
+
|
| 215 |
+
**10.2** Continued use of the Dataset constitutes ongoing acceptance of all terms.
|
| 216 |
+
|
| 217 |
+
## SECTION 11 — CONTACT
|
| 218 |
+
|
| 219 |
+
**11.1** For permissions beyond this License, contact the Licensor.
|