Document dataset provenance, quality and licensing limitations
Browse files
README.md
CHANGED
|
@@ -1,76 +1,71 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
| 8 |
|
| 9 |
-
|
| 10 |
-
It is suitable for training language models, retrieval systems, and knowledge extraction tasks.
|
| 11 |
|
| 12 |
-
|
| 13 |
|
| 14 |
-
|
| 15 |
-
```
|
| 16 |
{
|
| 17 |
-
"input": "
|
| 18 |
-
"output": "
|
| 19 |
}
|
| 20 |
```
|
| 21 |
-
## Cleaning Process
|
| 22 |
-
|
| 23 |
-
The following preprocessing steps were applied:
|
| 24 |
-
|
| 25 |
-
Removal of HTML tags
|
| 26 |
-
|
| 27 |
-
Removal of HTML entities such as , &, "
|
| 28 |
-
|
| 29 |
-
Removal of template structures ({{ ... }})
|
| 30 |
-
|
| 31 |
-
Removal of Infobox fields and markup
|
| 32 |
-
|
| 33 |
-
Removal of wiki links ([[Page]], [[Page|Text]])
|
| 34 |
-
|
| 35 |
-
Normalization of whitespace
|
| 36 |
-
|
| 37 |
-
Removal of section headers (== Heading ==)
|
| 38 |
|
| 39 |
-
|
| 40 |
|
|
|
|
|
|
|
| 41 |
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
Knowledge extraction and factual reasoning tasks
|
| 51 |
-
|
| 52 |
-
Pretraining or finetuning LLMs on structured encyclopedic data
|
| 53 |
-
|
| 54 |
-
Building question answering systems with short factual outputs
|
| 55 |
-
|
| 56 |
|
| 57 |
-
##
|
| 58 |
|
| 59 |
-
|
| 60 |
-
|
|
|
|
| 61 |
|
| 62 |
-
|
| 63 |
|
| 64 |
-
|
| 65 |
|
| 66 |
-
|
| 67 |
|
| 68 |
-
|
|
|
|
|
|
|
| 69 |
|
|
|
|
| 70 |
|
| 71 |
-
|
| 72 |
|
| 73 |
-
|
|
|
|
|
|
|
| 74 |
|
|
|
|
| 75 |
|
| 76 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-sa-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
- summarization
|
| 6 |
+
language:
|
| 7 |
+
- tr
|
| 8 |
+
tags:
|
| 9 |
+
- turkish
|
| 10 |
+
- wikipedia
|
| 11 |
+
- knowledge-extraction
|
| 12 |
+
pretty_name: Turkish Wikipedia Title–Summary Pairs
|
| 13 |
+
size_categories:
|
| 14 |
+
- 100K<n<1M
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# Turkish Wikipedia title–summary dataset
|
| 18 |
|
| 19 |
+
This is an **experimental derivative of a Turkish Wikipedia dump**, with topic titles paired with text extracted and cleaned from articles. The original project notes describe removing markup and using the first paragraph or first few sentences as the summary.
|
| 20 |
|
| 21 |
+
## Data format
|
|
|
|
| 22 |
|
| 23 |
+
The repository contains `wiki_cleaned.jsonl` with fields similar to:
|
| 24 |
|
| 25 |
+
```json
|
|
|
|
| 26 |
{
|
| 27 |
+
"input": "Konu başlığı",
|
| 28 |
+
"output": "Madde metninden çıkarılmış kısa açıklama."
|
| 29 |
}
|
| 30 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
+
The Hugging Face viewer reports approximately **816,000 rows** in one train split. No independent validation or test split is provided.
|
| 33 |
|
| 34 |
+
```python
|
| 35 |
+
from datasets import load_dataset
|
| 36 |
|
| 37 |
+
ds = load_dataset(
|
| 38 |
+
"sixfingerdev/Turkish-Knowledge-extraction_topic-summary",
|
| 39 |
+
split="train",
|
| 40 |
+
)
|
| 41 |
+
print(ds[0]["input"])
|
| 42 |
+
print(ds[0]["output"][:200])
|
| 43 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
+
## Processing described by the original uploader
|
| 46 |
|
| 47 |
+
- Extract title and opening article text.
|
| 48 |
+
- Strip HTML and some MediaWiki markup, including templates, infoboxes, section headings, and wiki links.
|
| 49 |
+
- Normalize whitespace and text.
|
| 50 |
|
| 51 |
+
**The full preprocessing code, dump revision/date, and article IDs are not included**, so exact reproduction is not currently possible. Some entries may contain imperfect markup extraction, irrelevant boilerplate, duplication, or factual errors; perform your own filtering and evaluation.
|
| 52 |
|
| 53 |
+
## Intended uses and limitations
|
| 54 |
|
| 55 |
+
Useful as exploratory data for Turkish topic-to-text generation, retrieval experiments, and evaluation of knowledge-extraction pipelines. It is **not** a verified collection of original human-written summaries or guaranteed accurate fact pairs.
|
| 56 |
|
| 57 |
+
- No provenance URLs or article revision identifiers are present in the card.
|
| 58 |
+
- No systematic quality, privacy, or contamination audit has been published.
|
| 59 |
+
- Do not directly use this split as both training and evaluation data.
|
| 60 |
|
| 61 |
+
## License and attribution
|
| 62 |
|
| 63 |
+
Because the text is taken from Wikipedia, the previous `apache-2.0` label did **not** correctly convey the rights in the source articles. The dataset is now marked **CC BY-SA 4.0**, subject to the applicable Wikimedia terms.
|
| 64 |
|
| 65 |
+
- [Turkish Wikipedia](https://tr.wikipedia.org/)
|
| 66 |
+
- [Wikimedia Terms of Use](https://foundation.wikimedia.org/wiki/Terms_of_Use)
|
| 67 |
+
- [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
|
| 68 |
|
| 69 |
+
Users must credit the Wikipedia contributors, link to the relevant license, disclose modifications, and respect share-alike requirements. **Article-level attribution records are not included**, so additional source reconstruction may be needed for compliant reuse.
|
| 70 |
|
| 71 |
+
This is not an official Wikimedia Foundation release.
|