fgaim commited on
Commit
d9629c8
·
1 Parent(s): ddf7340

Add Tigrinya-SQuAD Data Card

Browse files
Files changed (1) hide show
  1. README.md +131 -0
README.md ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ viewer: false
3
+ pretty_name: "Tigrinya-SQuAD: Machine-Translated Training Dataset"
4
+ language:
5
+ - ti
6
+ multilinguality:
7
+ - monolingual
8
+ task_categories:
9
+ - question-answering
10
+ size_categories:
11
+ - 10K<n<100K
12
+ dataset_size: ~10MB
13
+ download_size: ~6MB
14
+ license: cc-by-sa-4.0
15
+ tags:
16
+ - tigrinya
17
+ - question-answering
18
+ - mrc
19
+ - reading-comprehension
20
+ - low-resource
21
+ - african-languages
22
+ - machine-translation
23
+ - silver-standard
24
+ splits:
25
+ - name: train
26
+ num_examples: 46737
27
+ configs:
28
+ - config_name: default
29
+ data_files:
30
+ - split: train
31
+ path: "data/Tigrinya-SQuAD-v1-train-*"
32
+ ---
33
+
34
+ # Tigrinya-SQuAD: Machine-Translated Training Dataset
35
+
36
+ Tigrinya-SQuAD is a machine-translated and filtered version of the English SQuAD 1.1 training dataset, automatically converted to Tigrinya for training question-answering models in low-resource settings.
37
+
38
+ This silver dataset serves as training data for Tigrinya question-answering systems. **For evaluation and benchmarking, please use the gold-standard [TiQuAD](https://huggingface.co/datasets/fgaim/tiquad) dataset, which contains human-annotated validation and test sets.**
39
+
40
+ **Published with the paper:** [Question-Answering in a Low-resourced Language: Benchmark Dataset and Models for Tigrinya](https://aclanthology.org/2023.acl-long.661/) (ACL 2023)
41
+
42
+ **Related repositories:**
43
+
44
+ - [TiQuAD (gold dataset)](https://huggingface.co/datasets/fgaim/tiquad)
45
+ - The paper's [GitHub repository](https://github.com/fgaim/TiQuAD)
46
+
47
+ ## Dataset Overview
48
+
49
+ Tigrinya-SQuAD is designed as training data for extractive question answering in Tigrinya, a low-resource Semitic language primarily spoken in Eritrea and Ethiopia. The dataset features:
50
+
51
+ - **Source data**: English SQuAD 1.1 training part, which is based on Wikipedia articles
52
+ - **Machine-translated**: Automatically translated from English SQuAD 1.1 using neural machine translation
53
+ - **Filtered**: Post-processed with heuristic filtering to improve quality and discarded low-quality samples
54
+ - **Training-only**: Contains only training split; use TiQuAD for validation/testing
55
+ - **SQuAD format**: Maintains compatibility with standard QA frameworks
56
+ - Not human verified, to be used for training but not for final evaluation
57
+
58
+ | **Split** | **Articles** | **Paragraphs** | **Questions** | **Answers** |
59
+ |-----------|--------------|----------------|---------------|-------------|
60
+ | Train | 442 | 17,391 | 46,737 | 46,737 |
61
+
62
+ ## How to Load Tigrinya-SQuAD
63
+
64
+ ```python
65
+ from datasets import load_dataset
66
+
67
+ # Load the dataset
68
+ tigrinya_squad = load_dataset("fgaim/tigrinya-squad", trust_remote_code=True)
69
+ print(tigrinya_squad)
70
+ ```
71
+
72
+ ```python
73
+ DatasetDict({
74
+ train: Dataset({
75
+ features: ['id', 'title', 'context', 'question', 'answers'],
76
+ num_rows: 46737
77
+ })
78
+ })
79
+ ```
80
+
81
+ ### Data Fields
82
+
83
+ - **`id`**: Unique identifier for each question-answer pair
84
+ - **`title`**: Title of the source article (translated from English)
85
+ - **`context`**: The paragraph containing the answer (in Tigrinya)
86
+ - **`question`**: The question to be answered (in Tigrinya)
87
+ - **`answers`**: Dictionary containing:
88
+ - `text`: List with single answer string (training data has one answer per question)
89
+ - `answer_start`: List with position where answer begins in the context
90
+
91
+ ## Evaluation and Benchmarking
92
+
93
+ This dataset contains only training data, for proper evaluation of Tigrinya question-answering models use [TiQuAD](https://huggingface.co/datasets/fgaim/tiquad), which provides multireference, human-annotated validation/test splits. Both datasets can be combined during training for best results as reported in the paper.
94
+
95
+ ## Citation
96
+
97
+ If you use this dataset in your work, please cite the original TiQuAD paper:
98
+
99
+ ```bibtex
100
+ @inproceedings{gaim-etal-2023-tiquad,
101
+ title = "Question-Answering in a Low-resourced Language: Benchmark Dataset and Models for {T}igrinya",
102
+ author = "Fitsum Gaim and Wonsuk Yang and Hancheol Park and Jong C. Park",
103
+ booktitle = "Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
104
+ month = jul,
105
+ year = "2023",
106
+ address = "Toronto, Canada",
107
+ publisher = "Association for Computational Linguistics",
108
+ url = "https://aclanthology.org/2023.acl-long.661",
109
+ pages = "11857--11870",
110
+ }
111
+ ```
112
+
113
+ ## Data Quality and Limitations
114
+
115
+ As a machine-translated dataset, Tigrinya-SQuAD has inherent limitations:
116
+
117
+ - **Translation errors**: Some questions/answers may have translation artifacts
118
+ - **Cultural adaptation**: Context may not perfectly align with Tigrinya cultural references
119
+ - Not suitable for model evaluation or human performance comparison but for training purpose only.
120
+
121
+ If you identify any issues with the dataset, please contact us at <fitsum.gaim@kaist.ac.kr>.
122
+
123
+ ## Acknowledgments
124
+
125
+ This dataset builds upon the foundational work of the Stanford Question Answering Dataset (SQuAD) and the human-annotated TiQuAD dataset. We thank the original SQuAD creators for making their data freely available.
126
+
127
+ ## License
128
+
129
+ This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/).
130
+
131
+ <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://licensebuttons.net/l/by-sa/4.0/88x31.png" /></a>