Update dataset card
Browse files
README.md
CHANGED
|
@@ -1,26 +1,56 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
datasets:
|
| 3 |
+
- juno-labs/simple_wikipedia
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
license: cc-by-sa-3.0
|
| 7 |
+
source_datasets:
|
| 8 |
+
- wikipedia
|
| 9 |
+
configs:
|
| 10 |
+
- config_name: default
|
| 11 |
+
data_files:
|
| 12 |
+
- split: train
|
| 13 |
+
path: data/train-*.parquet
|
| 14 |
+
tags:
|
| 15 |
+
- simple-wikipedia
|
| 16 |
+
- markdown
|
| 17 |
+
- sqlite
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# Simple English Wikipedia (Markdown)
|
| 21 |
+
|
| 22 |
+
- Dump date: 2025-12-01
|
| 23 |
+
- Source dump: https://dumps.wikimedia.org/simplewiki/20251201/simplewiki-20251201-pages-articles.xml.bz2
|
| 24 |
+
- SHA-1: ee583946e86857e9f1e155f80bd3cd8b5d6dade7
|
| 25 |
+
- Records: 20
|
| 26 |
+
- Refresh cadence: Weekly on Sundays at 11:00 UTC
|
| 27 |
+
|
| 28 |
+
## Dataset Structure
|
| 29 |
+
|
| 30 |
+
Columns:
|
| 31 |
+
- `page_id` (int64): Unique page identifier from Wikimedia dump.
|
| 32 |
+
- `title` (string): Article title.
|
| 33 |
+
- `content` (string): Article body converted to markdown with internal and external links preserved.
|
| 34 |
+
- `content_no_link` (string): Same content with markdown links stripped to plain text.
|
| 35 |
+
- `importance` (string): Importance for a household smart speaker assistant (`low`, `medium`, `high`, or `unknown` when not categorized).
|
| 36 |
+
|
| 37 |
+
## Processing
|
| 38 |
+
|
| 39 |
+
- Downloaded `pages-articles` XML dump and verified SHA-1.
|
| 40 |
+
- Kept only namespace 0 articles and skipped redirects.
|
| 41 |
+
- Stripped templates and reference tags, preserved headings, and converted wiki links to markdown links.
|
| 42 |
+
- Stored a SQLite mirror (`pages` table) alongside the Hugging Face dataset.
|
| 43 |
+
- Markdown links point to the target page's numeric ID for fast lookup without a title-to-ID join.
|
| 44 |
+
|
| 45 |
+
## Usage
|
| 46 |
+
|
| 47 |
+
Load with `datasets`:
|
| 48 |
+
|
| 49 |
+
```python
|
| 50 |
+
from datasets import load_dataset
|
| 51 |
+
|
| 52 |
+
ds = load_dataset("juno-labs/simple_wikipedia", split="train")
|
| 53 |
+
print(ds[0])
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
The SQLite file `simplewiki-20251201-articles.sqlite` contains identical columns for tooling that prefers SQL.
|