File size: 1,404 Bytes
00a88ea
 
2ecc429
00a88ea
 
 
 
 
 
 
 
 
 
 
 
 
b0cb448
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
pretty_name: TyDiQA-GoldP-Th
language: 
- th
task_categories:
- question-answering
task_ids:
- extractive-qa
configs:
- config_name: default
  data_files:
  - split: train
    path: tydiqa.goldp.th.train.json
  - split: dev
    path: tydiqa.goldp.th.dev.json
---
# TyDiQA-GoldP-Th
This dataset contains a removed Thai TyDiQA dataset obtained from [Khalidalt's TyDiQA Dataset](https://huggingface.co/datasets/khalidalt/tydiqa-goldp).
This dataset version does the following additional preprocessing to the dataset
1. Convert byte-level index into character-level index
2. Fix any mismatch text between answer span and actual text
3. Re-split train/development set such that there's no leakage in context passage
4. Deduplicate questions from the same context passage

## Dataset Format
The dataset is formatted to make it compatible to [XTREME benchmark](https://github.com/google-research/xtreme) format. The data is formatted as the following pattern:
```json
{
  "version": "TyDiQA-GoldP-1.1-for-SQuAD-1.1",
  "data": [
    {
      "paragrahs": [{
        "context": [PASSAGE CONTEXT HERE],
        "qas": [{
          "answers": [{
            "answer_start": [CONTEXT START CHAR INDEX OF ANSWER],
            "text": [TEXT SPAN FROM CONTEXT],
          }],
          "question": [QUESTION],
          "id": [ID]
        }]
      }],
    },
    ...
  ]
}
```

## Author
Chompakorn Chaksangchaichot