tasal9 commited on
Commit
6e5195c
·
1 Parent(s): 6c1f786

Enhance README.md with detailed dataset information and usage guidelines

Browse files
Files changed (1) hide show
  1. README.md +80 -4
README.md CHANGED
@@ -1,10 +1,86 @@
1
  ---
2
  license: apache-2.0
3
- task_categories:
4
- - feature-extraction
5
  language:
6
  - ps
7
- pretty_name: Pashto
8
  size_categories:
9
  - 10K<n<100K
10
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
 
 
3
  language:
4
  - ps
 
5
  size_categories:
6
  - 10K<n<100K
7
+ task_categories:
8
+ - text-classification
9
+ - text-generation
10
+ - question-answering
11
+ ---
12
+
13
+ # ZamAI Pashto Dataset (Cleaned)
14
+
15
+ ## Dataset Summary
16
+
17
+ This repository hosts a cleaned and QC'ed slice of the ZamAI Pashto corpus. The release contains 28,650 Pashto-language articles and prompts that have been deduplicated, normalised, and aligned for instruction-style training as well as prompt/completion workflows.
18
+
19
+ ## Dataset Details
20
+
21
+ - **Curated by:** ZamAI Team
22
+ - **Language(s):** Pashto (ps)
23
+ - **License:** Apache-2.0
24
+ - **Version:** v1.0 (2025-06-23)
25
+ - **Sources:** BBC Pashto, Radio Azadi, community-contributed Pashto corpora
26
+ - **Processing Pipeline:** [ZamAI Pashto Data Processing Pipeline](https://github.com/ZamAI-Pashto/ZamAI-Pashto-Data-Processing-Pipeline)
27
+
28
+ ## Dataset Structure
29
+
30
+ - **CSV splits:** `pashto_cleaned_train.csv`, `pashto_cleaned_val.csv`, `pashto_cleaned_full_dataset.csv`
31
+ - **Instruction JSONL:** `pashto_train_instruction.jsonl`, `pashto_val_instruction.jsonl`
32
+ - **Prompt/Completion JSONL:** `pashto_train_prompt_completion.jsonl`, `pashto_val_prompt_completion.jsonl`
33
+
34
+ ### Fields
35
+
36
+ | Field | Description |
37
+ | --- | --- |
38
+ | `title` | Source headline or generated title |
39
+ | `text` | Cleaned Pashto article body |
40
+ | `source` | Origin of the example (news outlet / pipeline tag) |
41
+ | `prompt` | Instruction-style prompt derived from the article |
42
+ | `completion` | Expected model output/completion |
43
+ | `instruction` | (JSONL) Instruction text for instruction-tuning |
44
+ | `input` | (JSONL) Optional input/context paired with the instruction |
45
+ | `output` | (JSONL) Target response |
46
+
47
+ ### Splits
48
+
49
+ - `train`: 25,785 examples
50
+ - `validation`: 2,865 examples
51
+ - `full`: 28,650 examples (union of train + validation)
52
+
53
+ ## Accessing the Data
54
+
55
+ Files are tracked with Git LFS. After cloning, run `git lfs pull` in the repository to download the actual CSV/JSONL payloads.
56
+
57
+ ## Cleaning & Normalisation
58
+
59
+ 1. Dropped rows with empty title/text
60
+ 2. Removed duplicate content hashes
61
+ 3. Normalised whitespace and Unicode (NFKC)
62
+ 4. Filtered samples shorter than 10 characters
63
+ 5. Generated aligned prompts, completions, and instruction templates
64
+
65
+ ## Intended Uses
66
+
67
+ - Fine-tuning Pashto T5/mT5 style models
68
+ - Instruction-tuning chat assistants for Pashto
69
+ - Building evaluation sets for Pashto summarisation and QA
70
+
71
+ ## Limitations
72
+
73
+ - Dominated by news-domain writing; colloquial data is limited
74
+ - Automatically generated prompts/completions may include occasional artefacts—consider manual review before deployment
75
+ - Despite cleaning, residual duplicated facts may remain due to mirrored reporting across sources
76
+
77
+ ## Citation
78
+
79
+ ```bibtex
80
+ @misc{tasal2025_zamai_pashto_cleaned,
81
+ title = {ZamAI Pashto Dataset (Cleaned)},
82
+ author = {Yaqoob Tasal and the ZamAI Team},
83
+ year = {2025},
84
+ howpublished = {\url{https://huggingface.co/datasets/tasal9/ZamAI-Pashto-Dataset-Cleaned}}
85
+ }
86
+ ```