Datasets:
Commit
•
403931e
1
Parent(s):
495d5e7
Initial commit
Browse files- LICENSE.md +35 -0
- README.md +161 -0
- tsv/ar-dev.tsv +0 -0
- tsv/ar-test.tsv +0 -0
- tsv/ar-train.tsv +0 -0
- tsv/de-dev.tsv +0 -0
- tsv/de-test.tsv +0 -0
- tsv/de-train.tsv +0 -0
- tsv/en-dev.tsv +0 -0
- tsv/en-test.tsv +0 -0
- tsv/en-train.tsv +0 -0
- tsv/es-dev.tsv +0 -0
- tsv/es-test.tsv +0 -0
- tsv/es-train.tsv +0 -0
- tsv/fr-dev.tsv +0 -0
- tsv/fr-test.tsv +0 -0
- tsv/fr-train.tsv +0 -0
- tsv/hi-dev.tsv +0 -0
- tsv/hi-test.tsv +0 -0
- tsv/hi-train.tsv +0 -0
- tsv/it-dev.tsv +0 -0
- tsv/it-test.tsv +0 -0
- tsv/it-train.tsv +0 -0
- tsv/ja-dev.tsv +0 -0
- tsv/ja-test.tsv +0 -0
- tsv/ja-train.tsv +0 -0
- tsv/nl-dev.tsv +0 -0
- tsv/nl-test.tsv +0 -0
- tsv/nl-train.tsv +0 -0
- tsv/pt-dev.tsv +0 -0
- tsv/pt-test.tsv +0 -0
- tsv/pt-train.tsv +0 -0
LICENSE.md
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Community Data License Agreement - Permissive - Version 2.0
|
2 |
+
|
3 |
+
This is the Community Data License Agreement - Permissive, Version 2.0 (the "agreement"). Data Provider(s) and Data Recipient(s) agree as follows:
|
4 |
+
|
5 |
+
## 1. Provision of the Data
|
6 |
+
|
7 |
+
1.1. A Data Recipient may use, modify, and share the Data made available by Data Provider(s) under this agreement if that Data Recipient follows the terms of this agreement.
|
8 |
+
|
9 |
+
1.2. This agreement does not impose any restriction on a Data Recipient's use, modification, or sharing of any portions of the Data that are in the public domain or that may be used, modified, or shared under any other legal exception or limitation.
|
10 |
+
|
11 |
+
## 2. Conditions for Sharing Data
|
12 |
+
|
13 |
+
2.1. A Data Recipient may share Data, with or without modifications, so long as the Data Recipient makes available the text of this agreement with the shared Data.
|
14 |
+
|
15 |
+
## 3. No Restrictions on Results
|
16 |
+
|
17 |
+
3.1. This agreement does not impose any restriction or obligations with respect to the use, modification, or sharing of Results.
|
18 |
+
|
19 |
+
## 4. No Warranty; Limitation of Liability
|
20 |
+
|
21 |
+
4.1. All Data Recipients receive the Data subject to the following terms:
|
22 |
+
|
23 |
+
THE DATA IS PROVIDED ON AN "AS IS" BASIS, WITHOUT REPRESENTATIONS, WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
24 |
+
|
25 |
+
NO DATA PROVIDER SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE DATA OR RESULTS, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
26 |
+
|
27 |
+
## 5. Definitions
|
28 |
+
|
29 |
+
5.1. "Data" means the material received by a Data Recipient under this agreement.
|
30 |
+
|
31 |
+
5.2. "Data Provider" means any person who is the source of Data provided under this agreement and in reliance on a Data Recipient's agreement to its terms.
|
32 |
+
|
33 |
+
5.3. "Data Recipient" means any person who receives Data directly or indirectly from a Data Provider and agrees to the terms of this agreement.
|
34 |
+
|
35 |
+
5.4. "Results" means any outcome obtained by computational analysis of Data, including for example machine learning models and models' insights.
|
README.md
ADDED
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
annotations_creators:
|
3 |
+
- machine-generated
|
4 |
+
language:
|
5 |
+
- ar
|
6 |
+
- es
|
7 |
+
- fr
|
8 |
+
- de
|
9 |
+
- hi
|
10 |
+
- it
|
11 |
+
- ja
|
12 |
+
- nl
|
13 |
+
- pt
|
14 |
+
language_creators:
|
15 |
+
- found
|
16 |
+
#license:
|
17 |
+
license_details: https://huggingface.co/datasets/AmazonScience/xtr-wiki_qa/blob/main/LICENSE.md
|
18 |
+
multilinguality:
|
19 |
+
- multilingual
|
20 |
+
- translation
|
21 |
+
pretty_name: xtr-wiki_qa
|
22 |
+
size_categories:
|
23 |
+
- 100K<n<1M
|
24 |
+
source_datasets:
|
25 |
+
- extended|wiki_qa
|
26 |
+
tags:
|
27 |
+
- as2
|
28 |
+
- answer sentence selection
|
29 |
+
- text retrieval
|
30 |
+
- question answering
|
31 |
+
task_categories:
|
32 |
+
- question-answering
|
33 |
+
- text-retrieval
|
34 |
+
task_ids:
|
35 |
+
- open-domain-qa
|
36 |
+
---
|
37 |
+
|
38 |
+
|
39 |
+
# Xtr-WikiQA
|
40 |
+
|
41 |
+
## Table of Contents
|
42 |
+
- [Dataset Card Creation Guide](#dataset-card-creation-guide)
|
43 |
+
- [Table of Contents](#table-of-contents)
|
44 |
+
- [Dataset Description](#dataset-description)
|
45 |
+
- [Dataset Summary](#dataset-summary)
|
46 |
+
- [Languages](#languages)
|
47 |
+
- [Dataset Structure](#dataset-structure)
|
48 |
+
- [Data Instances](#data-instances)
|
49 |
+
- [Data Fields](#data-fields)
|
50 |
+
- [Data Splits](#data-splits)
|
51 |
+
- [Dataset Creation](#dataset-creation)
|
52 |
+
- [Source Data](#source-data)
|
53 |
+
- [Additional Information](#additional-information)
|
54 |
+
- [Licensing Information](#licensing-information)
|
55 |
+
- [Citation Information](#citation-information)
|
56 |
+
- [Contributions](#contributions)
|
57 |
+
|
58 |
+
## Dataset Description
|
59 |
+
|
60 |
+
- **Homepage:** [Add homepage URL here if available (unless it's a GitHub repository)]()
|
61 |
+
- **Repository:** [If the dataset is hosted on github or has a github homepage, add URL here]()
|
62 |
+
- **Paper:** [Cross-Lingual Knowledge Distillation for Answer Sentence Selection in Low-Resource Languages](https://arxiv.org/abs/2305.16302)
|
63 |
+
- **Point of Contact:** [Yoshitomo Matsubara](yomtsub@amazon.com)
|
64 |
+
|
65 |
+
### Dataset Summary
|
66 |
+
|
67 |
+
***Xtr-WikiQA*** is an Answer Sentence Selection (AS2) dataset in 9 non-English languages, proposed in our paper accepted at ACL 2023 (Findings): **Cross-Lingual Knowledge Distillation for Answer Sentence Selection in Low-Resource Languages**.
|
68 |
+
This dataset is based on an English AS2 dataset, WikiQA ([Original](https://msropendata.com/datasets/21032bb1-88bd-4656-9570-3172ae1757f0), [Hugging Face](https://huggingface.co/datasets/wiki_qa)).
|
69 |
+
For translations, we used [Amazon Translate](https://aws.amazon.com/translate/).
|
70 |
+
|
71 |
+
### Languages
|
72 |
+
|
73 |
+
- Arabic (ar)
|
74 |
+
- Spanish (es)
|
75 |
+
- French (fr)
|
76 |
+
- German (de)
|
77 |
+
- Hindi (hi)
|
78 |
+
- Italian (it)
|
79 |
+
- Japanese (ja)
|
80 |
+
- Dutch (nl)
|
81 |
+
- Portuguese (pt)
|
82 |
+
|
83 |
+
File location: [`tsv/`](./tsv/)
|
84 |
+
|
85 |
+
## Dataset Structure
|
86 |
+
|
87 |
+
### Data Instances
|
88 |
+
|
89 |
+
This is an example instance from the Arabic training split of Xtr-WikiQA dataset.
|
90 |
+
|
91 |
+
```
|
92 |
+
{
|
93 |
+
"QuestionID": "Q1",
|
94 |
+
"Question": "كيف تتشكل الكهوف الجليدية؟",
|
95 |
+
"DocumentID": "D1",
|
96 |
+
"DocumentTitle": "كهف جليدي",
|
97 |
+
"SentenceID": "D1-0",
|
98 |
+
"Sentence": "كهف جليدي مغمور جزئيًا على نهر بيريتو مورينو الجليدي.",
|
99 |
+
"Label": 0
|
100 |
+
}
|
101 |
+
```
|
102 |
+
|
103 |
+
All the translated instances in tsv files are listed in the same order of the original (native) instances in the WikiQA dataset.
|
104 |
+
|
105 |
+
For example, the 2nd instance in [`tsv/ar-train.tsv`](./tsv/ar-train.tsv) (Arabic-translated from English)
|
106 |
+
corresponds to the 2nd instance in [`WikiQA-train.tsv`](https://msropendata.com/datasets/21032bb1-88bd-4656-9570-3172ae1757f0) (English).
|
107 |
+
|
108 |
+
### Data Fields
|
109 |
+
|
110 |
+
Each instance (a QA pair) consists of the following fields:
|
111 |
+
|
112 |
+
- `QuestionID`: Question ID (str)
|
113 |
+
- `Question`: Question to be answered (str)
|
114 |
+
- `DocumentID`: Document ID (str)
|
115 |
+
- `DocumentTitle`: Document title (str)
|
116 |
+
- `SentenceID`: Answer sentence in the document (str)
|
117 |
+
- `Sentence`: Answer sentence in the document (str)
|
118 |
+
- `Label`: Label that indicates the answer sentence correctly answers the question (int, 1: correct, 0: incorrect)
|
119 |
+
|
120 |
+
|
121 |
+
### Data Splits
|
122 |
+
|
123 |
+
| | | **#Questions** | | | | **#Sentences** | |
|
124 |
+
|-------------------|------------:|---------------:|---------:|---|----------:|---------------:|---------:|
|
125 |
+
| | **train** | **dev** | **test** | | **train** | **dev** | **test** |
|
126 |
+
| **Each language** | 873 | 126 | 243 | | 8,671 | 1,130 | 2,351 |
|
127 |
+
|
128 |
+
See [our paper](#citation-information) for more details about the statistics of the datasets.
|
129 |
+
|
130 |
+
|
131 |
+
## Dataset Creation
|
132 |
+
|
133 |
+
### Source Data
|
134 |
+
|
135 |
+
The source of Xtr-WikiQA dataset is [WikiQA](https://msropendata.com/datasets/21032bb1-88bd-4656-9570-3172ae1757f0).
|
136 |
+
|
137 |
+
|
138 |
+
## Additional Information
|
139 |
+
|
140 |
+
### Licensing Information
|
141 |
+
|
142 |
+
[CDLA-Permissive-2.0](LICENSE.md)
|
143 |
+
|
144 |
+
### Citation Information
|
145 |
+
|
146 |
+
```
|
147 |
+
@article{gupta2023cross-lingual,
|
148 |
+
title={Cross-Lingual Knowledge Distillation for Answer Sentence Selection in Low-Resource Languages},
|
149 |
+
author={Gupta, Shivanshu and Matsubara, Yoshitomo and Chadha, Ankit and Moschitti, Alessandro},
|
150 |
+
journal={arXiv preprint arXiv:2305.16302},
|
151 |
+
year={2023}
|
152 |
+
}
|
153 |
+
```
|
154 |
+
|
155 |
+
|
156 |
+
### Contributions
|
157 |
+
|
158 |
+
- [Shivanshu Gupta](https://huggingface.co/shivanshu)
|
159 |
+
- [Yoshitomo Matsubara](https://huggingface.co/yoshitomo-matsubara)
|
160 |
+
- Ankit Chadha
|
161 |
+
- Alessandro Moschitti
|
tsv/ar-dev.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/ar-test.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/ar-train.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/de-dev.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/de-test.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/de-train.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/en-dev.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/en-test.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/en-train.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/es-dev.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/es-test.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/es-train.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/fr-dev.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/fr-test.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/fr-train.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/hi-dev.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/hi-test.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/hi-train.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/it-dev.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/it-test.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/it-train.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/ja-dev.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/ja-test.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/ja-train.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/nl-dev.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/nl-test.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/nl-train.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/pt-dev.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/pt-test.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tsv/pt-train.tsv
ADDED
The diff for this file is too large to render.
See raw diff
|
|