Datasets:
Add dataset card (README.md)
Browse files
README.md
CHANGED
|
@@ -1,23 +1,68 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
num_bytes: 23179414111
|
| 15 |
-
num_examples: 111789997
|
| 16 |
-
download_size: 10596182407
|
| 17 |
-
dataset_size: 23179414111
|
| 18 |
-
configs:
|
| 19 |
-
- config_name: default
|
| 20 |
-
data_files:
|
| 21 |
-
- split: train
|
| 22 |
-
path: data/train-*
|
| 23 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: cc-by-sa-4.0
|
| 5 |
+
pretty_name: KILT Wikipedia knowledge source (paragraph-level)
|
| 6 |
+
tags:
|
| 7 |
+
- wikipedia
|
| 8 |
+
- kilt
|
| 9 |
+
- retrieval
|
| 10 |
+
- en
|
| 11 |
+
- paragraph
|
| 12 |
+
task_categories:
|
| 13 |
+
- text-retrieval
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
+
|
| 16 |
+
# KILT Wikipedia — paragraph-level (flattened)
|
| 17 |
+
|
| 18 |
+
## Dataset summary
|
| 19 |
+
|
| 20 |
+
This dataset is a **flattened** view of the [KILT knowledge source](https://github.com/facebookresearch/KILT) (`kilt_knowledgesource.json`): each row is **one Wikipedia paragraph** (one string in the original per-page `text` list), not one page per row.
|
| 21 |
+
|
| 22 |
+
- **Source corpus:** KILT Wikipedia knowledge source (2019/08/01 Wikipedia dump, per KILT README).
|
| 23 |
+
- **Split:** `train` only (full paragraph stream).
|
| 24 |
+
- **Rows (train):** `111,789,997`
|
| 25 |
+
- **Input shards used:** `112` JSONL file(s) (`part-*.jsonl`).
|
| 26 |
+
- **Parquet chunks before Hub push:** `2236` (batch_rows=50000, Hub max_shard_size=500MB).
|
| 27 |
+
|
| 28 |
+
## Data fields
|
| 29 |
+
|
| 30 |
+
| Column | Type | Description |
|
| 31 |
+
|--------|------|-------------|
|
| 32 |
+
| `wikipedia_id` | string | KILT Wikipedia page id |
|
| 33 |
+
| `wikipedia_title` | string | Page title |
|
| 34 |
+
| `text` | string | Single paragraph body |
|
| 35 |
+
| `_id` | string | Stable id: `{<page _id>}::p{<paragraph_index>}` |
|
| 36 |
+
|
| 37 |
+
## How it was built
|
| 38 |
+
|
| 39 |
+
1. Convert `kilt_knowledgesource.json` (JSONL, one JSON object per line) with `OSCAR_like_experiments/scripts/convert_kilt_knowledge_source_to_paragraph_jsonl.py`.
|
| 40 |
+
2. Upload with `OSCAR_like_experiments/scripts/push_kilt_paragraph_jsonl_to_hub.py` from directory: `/home/jovyan/rpt/OSCAR_like_experiments/scripts/kilt_knowledgesource`.
|
| 41 |
+
|
| 42 |
+
## Intended use
|
| 43 |
+
|
| 44 |
+
Sparse / dense **retrieval indexing** (e.g. BM25, SPLADE) where each document unit is a paragraph, matching the KILT-style chunking used in RAG pipelines.
|
| 45 |
+
|
| 46 |
+
## Limitations
|
| 47 |
+
|
| 48 |
+
- Text is **English Wikipedia** as packaged in KILT; formatting/markup follows KILT preprocessing.
|
| 49 |
+
- Not an official Meta/Facebook dataset release; this is a **derived** redistribution — comply with Wikipedia and KILT terms.
|
| 50 |
+
|
| 51 |
+
## Citation
|
| 52 |
+
|
| 53 |
+
Please cite **KILT** (and Wikipedia as appropriate):
|
| 54 |
+
|
| 55 |
+
```bibtex
|
| 56 |
+
@inproceedings{petroni-etal-2021-kilt,
|
| 57 |
+
title = {KILT}: a Benchmark for Knowledge Intensive Language Tasks,
|
| 58 |
+
author = {Petroni, Fabio and Piktus, Aleksandra and Fan, Angela and others},
|
| 59 |
+
booktitle = {NAACL-HLT},
|
| 60 |
+
year = {2021},
|
| 61 |
+
}
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
Repository: [facebookresearch/KILT](https://github.com/facebookresearch/KILT)
|
| 65 |
+
|
| 66 |
+
## Dataset card contact
|
| 67 |
+
|
| 68 |
+
Dataset repo: `s-nlp/kilt`
|