sixfingerdev commited on
Commit
7200276
·
verified ·
1 Parent(s): 0024fad

Document dataset provenance, quality and licensing limitations

Browse files
Files changed (1) hide show
  1. README.md +47 -52
README.md CHANGED
@@ -1,76 +1,71 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
4
 
5
- ---
6
 
7
- # Turkish Wikipedia Topic-to-Summary Dataset
8
 
9
- This dataset consists of title–summary pairs extracted from the Turkish Wikipedia XML dump. Each entry contains a topic title as the input and a cleaned, HTML-free summary generated from the first paragraph of the corresponding article as the output.
10
- It is suitable for training language models, retrieval systems, and knowledge extraction tasks.
11
 
12
- ## Format
13
 
14
- The dataset is provided in JSONL format. Each line represents a single record:
15
- ```
16
  {
17
- "input": "Title",
18
- "output": "A short description or summary about the given title."
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
- Extraction of the first paragraph or first few sentences
40
 
 
 
41
 
42
- All summaries are plain text and designed to be model-friendly.
43
-
44
- Possible Use Cases
45
-
46
- Training retrieval and ranking models
47
-
48
- Topic-to-text or title-to-abstract generation
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
- ## Source
58
 
59
- The dataset is derived from the publicly available Turkish Wikipedia dump.
60
- It does not contain any proprietary content and follows Wikipedia's licensing terms.
 
61
 
62
- ## Size
63
 
64
- Format: JSONL
65
 
66
- Each record: one topic title and its cleaned summary
67
 
68
- Dataset size will depend on the specific Wikipedia dump version used
 
 
69
 
 
70
 
71
- ## Notes
72
 
73
- This dataset is not an official product of Wikipedia or the Wikimedia Foundation. It is a processed derivative created for research and machine learning purposes.
 
 
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.