Datasets:
Tasks:
Question Answering
Modalities:
Text
Languages:
English
Size:
10K - 100K
ArXiv:
Tags:
chained-qa
License:
Commit
·
ee37a6d
0
Parent(s):
Update files from the datasets library (from 1.6.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.0
- .gitattributes +27 -0
- README.md +690 -0
- babi_qa.py +946 -0
- dataset_infos.json +0 -0
- dummy/en-10k-qa1/1.2.0/dummy_data.zip +3 -0
- dummy/en-qa1/1.2.0/dummy_data.zip +3 -0
- dummy/en-valid-10k-qa1/1.2.0/dummy_data.zip +3 -0
- dummy/en-valid-qa1/1.2.0/dummy_data.zip +3 -0
- dummy/hn-10k-qa1/1.2.0/dummy_data.zip +3 -0
- dummy/hn-qa1/1.2.0/dummy_data.zip +3 -0
- dummy/shuffled-10k-qa1/1.2.0/dummy_data.zip +3 -0
- dummy/shuffled-qa1/1.2.0/dummy_data.zip +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,690 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- machine-generated
|
| 4 |
+
language_creators:
|
| 5 |
+
- machine-generated
|
| 6 |
+
languages:
|
| 7 |
+
- en
|
| 8 |
+
licenses:
|
| 9 |
+
- cc-by-3-0
|
| 10 |
+
multilinguality:
|
| 11 |
+
- monolingual
|
| 12 |
+
size_categories:
|
| 13 |
+
en-qa1:
|
| 14 |
+
- n<1K
|
| 15 |
+
en-qa2:
|
| 16 |
+
- n<1K
|
| 17 |
+
en-qa3:
|
| 18 |
+
- n<1K
|
| 19 |
+
en-qa4:
|
| 20 |
+
- 1K<n<10K
|
| 21 |
+
en-qa5:
|
| 22 |
+
- n<1K
|
| 23 |
+
en-qa6:
|
| 24 |
+
- n<1K
|
| 25 |
+
en-qa7:
|
| 26 |
+
- n<1K
|
| 27 |
+
en-qa8:
|
| 28 |
+
- n<1K
|
| 29 |
+
en-qa9:
|
| 30 |
+
- n<1K
|
| 31 |
+
en-qa10:
|
| 32 |
+
- n<1K
|
| 33 |
+
en-qa11:
|
| 34 |
+
- n<1K
|
| 35 |
+
en-qa12:
|
| 36 |
+
- n<1K
|
| 37 |
+
en-qa13:
|
| 38 |
+
- n<1K
|
| 39 |
+
en-qa14:
|
| 40 |
+
- n<1K
|
| 41 |
+
en-qa15:
|
| 42 |
+
- n<1K
|
| 43 |
+
en-qa16:
|
| 44 |
+
- 1K<n<10K
|
| 45 |
+
en-qa17:
|
| 46 |
+
- n<1K
|
| 47 |
+
en-qa18:
|
| 48 |
+
- n<1K
|
| 49 |
+
en-qa19:
|
| 50 |
+
- 1K<n<10K
|
| 51 |
+
en-qa20:
|
| 52 |
+
- n<1K
|
| 53 |
+
en-10k-qa1:
|
| 54 |
+
- 1K<n<10K
|
| 55 |
+
en-10k-qa2:
|
| 56 |
+
- 1K<n<10K
|
| 57 |
+
en-10k-qa3:
|
| 58 |
+
- 1K<n<10K
|
| 59 |
+
en-10k-qa4:
|
| 60 |
+
- 10K<n<100K
|
| 61 |
+
en-10k-qa5:
|
| 62 |
+
- 1K<n<10K
|
| 63 |
+
en-10k-qa6:
|
| 64 |
+
- 1K<n<10K
|
| 65 |
+
en-10k-qa7:
|
| 66 |
+
- 1K<n<10K
|
| 67 |
+
en-10k-qa8:
|
| 68 |
+
- 1K<n<10K
|
| 69 |
+
en-10k-qa9:
|
| 70 |
+
- 1K<n<10K
|
| 71 |
+
en-10k-qa10:
|
| 72 |
+
- 1K<n<10K
|
| 73 |
+
en-10k-qa11:
|
| 74 |
+
- 1K<n<10K
|
| 75 |
+
en-10k-qa12:
|
| 76 |
+
- 1K<n<10K
|
| 77 |
+
en-10k-qa13:
|
| 78 |
+
- 1K<n<10K
|
| 79 |
+
en-10k-qa14:
|
| 80 |
+
- 1K<n<10K
|
| 81 |
+
en-10k-qa15:
|
| 82 |
+
- 1K<n<10K
|
| 83 |
+
en-10k-qa16:
|
| 84 |
+
- 10K<n<100K
|
| 85 |
+
en-10k-qa17:
|
| 86 |
+
- 1K<n<10K
|
| 87 |
+
en-10k-qa18:
|
| 88 |
+
- 1K<n<10K
|
| 89 |
+
en-10k-qa19:
|
| 90 |
+
- 10K<n<100K
|
| 91 |
+
en-10k-qa20:
|
| 92 |
+
- 1K<n<10K
|
| 93 |
+
en-valid-qa1:
|
| 94 |
+
- n<1K
|
| 95 |
+
en-valid-qa2:
|
| 96 |
+
- n<1K
|
| 97 |
+
en-valid-qa3:
|
| 98 |
+
- n<1K
|
| 99 |
+
en-valid-qa4:
|
| 100 |
+
- 1K<n<10K
|
| 101 |
+
en-valid-qa5:
|
| 102 |
+
- n<1K
|
| 103 |
+
en-valid-qa6:
|
| 104 |
+
- n<1K
|
| 105 |
+
en-valid-qa7:
|
| 106 |
+
- n<1K
|
| 107 |
+
en-valid-qa8:
|
| 108 |
+
- n<1K
|
| 109 |
+
en-valid-qa9:
|
| 110 |
+
- n<1K
|
| 111 |
+
en-valid-qa10:
|
| 112 |
+
- n<1K
|
| 113 |
+
en-valid-qa11:
|
| 114 |
+
- n<1K
|
| 115 |
+
en-valid-qa12:
|
| 116 |
+
- n<1K
|
| 117 |
+
en-valid-qa13:
|
| 118 |
+
- n<1K
|
| 119 |
+
en-valid-qa14:
|
| 120 |
+
- n<1K
|
| 121 |
+
en-valid-qa15:
|
| 122 |
+
- n<1K
|
| 123 |
+
en-valid-qa16:
|
| 124 |
+
- 1K<n<10K
|
| 125 |
+
en-valid-qa17:
|
| 126 |
+
- n<1K
|
| 127 |
+
en-valid-qa18:
|
| 128 |
+
- n<1K
|
| 129 |
+
en-valid-qa19:
|
| 130 |
+
- 1K<n<10K
|
| 131 |
+
en-valid-qa20:
|
| 132 |
+
- n<1K
|
| 133 |
+
en-valid-10k-qa1:
|
| 134 |
+
- 1K<n<10K
|
| 135 |
+
en-valid-10k-qa2:
|
| 136 |
+
- 1K<n<10K
|
| 137 |
+
en-valid-10k-qa3:
|
| 138 |
+
- 1K<n<10K
|
| 139 |
+
en-valid-10k-qa4:
|
| 140 |
+
- 10K<n<100K
|
| 141 |
+
en-valid-10k-qa5:
|
| 142 |
+
- 1K<n<10K
|
| 143 |
+
en-valid-10k-qa6:
|
| 144 |
+
- 1K<n<10K
|
| 145 |
+
en-valid-10k-qa7:
|
| 146 |
+
- 1K<n<10K
|
| 147 |
+
en-valid-10k-qa8:
|
| 148 |
+
- 1K<n<10K
|
| 149 |
+
en-valid-10k-qa9:
|
| 150 |
+
- 1K<n<10K
|
| 151 |
+
en-valid-10k-qa10:
|
| 152 |
+
- 1K<n<10K
|
| 153 |
+
en-valid-10k-qa11:
|
| 154 |
+
- 1K<n<10K
|
| 155 |
+
en-valid-10k-qa12:
|
| 156 |
+
- 1K<n<10K
|
| 157 |
+
en-valid-10k-qa13:
|
| 158 |
+
- 1K<n<10K
|
| 159 |
+
en-valid-10k-qa14:
|
| 160 |
+
- 1K<n<10K
|
| 161 |
+
en-valid-10k-qa15:
|
| 162 |
+
- 1K<n<10K
|
| 163 |
+
en-valid-10k-qa16:
|
| 164 |
+
- 10K<n<100K
|
| 165 |
+
en-valid-10k-qa17:
|
| 166 |
+
- 1K<n<10K
|
| 167 |
+
en-valid-10k-qa18:
|
| 168 |
+
- 1K<n<10K
|
| 169 |
+
en-valid-10k-qa19:
|
| 170 |
+
- 10K<n<100K
|
| 171 |
+
en-valid-10k-qa20:
|
| 172 |
+
- 1K<n<10K
|
| 173 |
+
hn-qa1:
|
| 174 |
+
- n<1K
|
| 175 |
+
hn-qa2:
|
| 176 |
+
- n<1K
|
| 177 |
+
hn-qa3:
|
| 178 |
+
- n<1K
|
| 179 |
+
hn-qa4:
|
| 180 |
+
- 1K<n<10K
|
| 181 |
+
hn-qa5:
|
| 182 |
+
- n<1K
|
| 183 |
+
hn-qa6:
|
| 184 |
+
- n<1K
|
| 185 |
+
hn-qa7:
|
| 186 |
+
- n<1K
|
| 187 |
+
hn-qa8:
|
| 188 |
+
- n<1K
|
| 189 |
+
hn-qa9:
|
| 190 |
+
- n<1K
|
| 191 |
+
hn-qa10:
|
| 192 |
+
- n<1K
|
| 193 |
+
hn-qa11:
|
| 194 |
+
- n<1K
|
| 195 |
+
hn-qa12:
|
| 196 |
+
- n<1K
|
| 197 |
+
hn-qa13:
|
| 198 |
+
- n<1K
|
| 199 |
+
hn-qa14:
|
| 200 |
+
- n<1K
|
| 201 |
+
hn-qa15:
|
| 202 |
+
- n<1K
|
| 203 |
+
hn-qa16:
|
| 204 |
+
- 1K<n<10K
|
| 205 |
+
hn-qa17:
|
| 206 |
+
- n<1K
|
| 207 |
+
hn-qa18:
|
| 208 |
+
- n<1K
|
| 209 |
+
hn-qa19:
|
| 210 |
+
- 1K<n<10K
|
| 211 |
+
hn-qa20:
|
| 212 |
+
- n<1K
|
| 213 |
+
hn-10k-qa1:
|
| 214 |
+
- 1K<n<10K
|
| 215 |
+
hn-10k-qa2:
|
| 216 |
+
- 1K<n<10K
|
| 217 |
+
hn-10k-qa3:
|
| 218 |
+
- 1K<n<10K
|
| 219 |
+
hn-10k-qa4:
|
| 220 |
+
- 10K<n<100K
|
| 221 |
+
hn-10k-qa5:
|
| 222 |
+
- 1K<n<10K
|
| 223 |
+
hn-10k-qa6:
|
| 224 |
+
- 1K<n<10K
|
| 225 |
+
hn-10k-qa7:
|
| 226 |
+
- 1K<n<10K
|
| 227 |
+
hn-10k-qa8:
|
| 228 |
+
- 1K<n<10K
|
| 229 |
+
hn-10k-qa9:
|
| 230 |
+
- 1K<n<10K
|
| 231 |
+
hn-10k-qa10:
|
| 232 |
+
- 1K<n<10K
|
| 233 |
+
hn-10k-qa11:
|
| 234 |
+
- 1K<n<10K
|
| 235 |
+
hn-10k-qa12:
|
| 236 |
+
- 1K<n<10K
|
| 237 |
+
hn-10k-qa13:
|
| 238 |
+
- 1K<n<10K
|
| 239 |
+
hn-10k-qa14:
|
| 240 |
+
- 1K<n<10K
|
| 241 |
+
hn-10k-qa15:
|
| 242 |
+
- 1K<n<10K
|
| 243 |
+
hn-10k-qa16:
|
| 244 |
+
- 10K<n<100K
|
| 245 |
+
hn-10k-qa17:
|
| 246 |
+
- 1K<n<10K
|
| 247 |
+
hn-10k-qa18:
|
| 248 |
+
- 1K<n<10K
|
| 249 |
+
hn-10k-qa19:
|
| 250 |
+
- 10K<n<100K
|
| 251 |
+
hn-10k-qa20:
|
| 252 |
+
- 1K<n<10K
|
| 253 |
+
shuffled-qa1:
|
| 254 |
+
- n<1K
|
| 255 |
+
shuffled-qa2:
|
| 256 |
+
- n<1K
|
| 257 |
+
shuffled-qa3:
|
| 258 |
+
- n<1K
|
| 259 |
+
shuffled-qa4:
|
| 260 |
+
- 1K<n<10K
|
| 261 |
+
shuffled-qa5:
|
| 262 |
+
- n<1K
|
| 263 |
+
shuffled-qa6:
|
| 264 |
+
- n<1K
|
| 265 |
+
shuffled-qa7:
|
| 266 |
+
- n<1K
|
| 267 |
+
shuffled-qa8:
|
| 268 |
+
- n<1K
|
| 269 |
+
shuffled-qa9:
|
| 270 |
+
- n<1K
|
| 271 |
+
shuffled-qa10:
|
| 272 |
+
- n<1K
|
| 273 |
+
shuffled-qa11:
|
| 274 |
+
- n<1K
|
| 275 |
+
shuffled-qa12:
|
| 276 |
+
- n<1K
|
| 277 |
+
shuffled-qa13:
|
| 278 |
+
- n<1K
|
| 279 |
+
shuffled-qa14:
|
| 280 |
+
- n<1K
|
| 281 |
+
shuffled-qa15:
|
| 282 |
+
- n<1K
|
| 283 |
+
shuffled-qa16:
|
| 284 |
+
- 1K<n<10K
|
| 285 |
+
shuffled-qa17:
|
| 286 |
+
- n<1K
|
| 287 |
+
shuffled-qa18:
|
| 288 |
+
- n<1K
|
| 289 |
+
shuffled-qa19:
|
| 290 |
+
- 1K<n<10K
|
| 291 |
+
shuffled-qa20:
|
| 292 |
+
- n<1K
|
| 293 |
+
shuffled-10k-qa1:
|
| 294 |
+
- 1K<n<10K
|
| 295 |
+
shuffled-10k-qa2:
|
| 296 |
+
- 1K<n<10K
|
| 297 |
+
shuffled-10k-qa3:
|
| 298 |
+
- 1K<n<10K
|
| 299 |
+
shuffled-10k-qa4:
|
| 300 |
+
- 10K<n<100K
|
| 301 |
+
shuffled-10k-qa5:
|
| 302 |
+
- 1K<n<10K
|
| 303 |
+
shuffled-10k-qa6:
|
| 304 |
+
- 1K<n<10K
|
| 305 |
+
shuffled-10k-qa7:
|
| 306 |
+
- 1K<n<10K
|
| 307 |
+
shuffled-10k-qa8:
|
| 308 |
+
- 1K<n<10K
|
| 309 |
+
shuffled-10k-qa9:
|
| 310 |
+
- 1K<n<10K
|
| 311 |
+
shuffled-10k-qa10:
|
| 312 |
+
- 1K<n<10K
|
| 313 |
+
shuffled-10k-qa11:
|
| 314 |
+
- 1K<n<10K
|
| 315 |
+
shuffled-10k-qa12:
|
| 316 |
+
- 1K<n<10K
|
| 317 |
+
shuffled-10k-qa13:
|
| 318 |
+
- 1K<n<10K
|
| 319 |
+
shuffled-10k-qa14:
|
| 320 |
+
- 1K<n<10K
|
| 321 |
+
shuffled-10k-qa15:
|
| 322 |
+
- 1K<n<10K
|
| 323 |
+
shuffled-10k-qa16:
|
| 324 |
+
- 10K<n<100K
|
| 325 |
+
shuffled-10k-qa17:
|
| 326 |
+
- 1K<n<10K
|
| 327 |
+
shuffled-10k-qa18:
|
| 328 |
+
- 1K<n<10K
|
| 329 |
+
shuffled-10k-qa19:
|
| 330 |
+
- 10K<n<100K
|
| 331 |
+
shuffled-10k-qa20:
|
| 332 |
+
- 1K<n<10K
|
| 333 |
+
source_datasets:
|
| 334 |
+
- original
|
| 335 |
+
task_categories:
|
| 336 |
+
- question-answering
|
| 337 |
+
task_ids:
|
| 338 |
+
- question-answering-other-chained-qa
|
| 339 |
+
---
|
| 340 |
+
|
| 341 |
+
|
| 342 |
+
# Dataset Card for bAbi QA
|
| 343 |
+
|
| 344 |
+
## Table of Contents
|
| 345 |
+
- [Dataset Card for bAbi QA](#dataset-card-for-dataset-name)
|
| 346 |
+
- [Table of Contents](#table-of-contents)
|
| 347 |
+
- [Dataset Description](#dataset-description)
|
| 348 |
+
- [Dataset Summary](#dataset-summary)
|
| 349 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
| 350 |
+
- [Languages](#languages)
|
| 351 |
+
- [Dataset Structure](#dataset-structure)
|
| 352 |
+
- [Data Instances](#data-instances)
|
| 353 |
+
- [Data Fields](#data-fields)
|
| 354 |
+
- [Data Splits](#data-splits)
|
| 355 |
+
- [Dataset Creation](#dataset-creation)
|
| 356 |
+
- [Curation Rationale](#curation-rationale)
|
| 357 |
+
- [Source Data](#source-data)
|
| 358 |
+
- [Initial Data Collection and Normalization](#initial-data-collection-and-normalization)
|
| 359 |
+
- [Who are the source language producers?](#who-are-the-source-language-producers)
|
| 360 |
+
- [Annotations](#annotations)
|
| 361 |
+
- [Annotation process](#annotation-process)
|
| 362 |
+
- [Who are the annotators?](#who-are-the-annotators)
|
| 363 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
| 364 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
| 365 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
| 366 |
+
- [Discussion of Biases](#discussion-of-biases)
|
| 367 |
+
- [Other Known Limitations](#other-known-limitations)
|
| 368 |
+
- [Additional Information](#additional-information)
|
| 369 |
+
- [Dataset Curators](#dataset-curators)
|
| 370 |
+
- [Licensing Information](#licensing-information)
|
| 371 |
+
- [Citation Information](#citation-information)
|
| 372 |
+
- [Contributions](#contributions)
|
| 373 |
+
|
| 374 |
+
## Dataset Description
|
| 375 |
+
|
| 376 |
+
- **Homepage:**[The bAbI project](https://research.fb.com/downloads/babi/)
|
| 377 |
+
- **Repository:**
|
| 378 |
+
- **Paper:** [arXiv Paper](https://arxiv.org/pdf/1502.05698.pdf)
|
| 379 |
+
- **Leaderboard:**
|
| 380 |
+
- **Point of Contact:**
|
| 381 |
+
### Dataset Summary
|
| 382 |
+
|
| 383 |
+
The (20) QA bAbI tasks are a set of proxy tasks that evaluate reading comprehension via question answering. Our tasks measure understanding in several ways: whether a system is able to answer questions via chaining facts, simple induction, deduction and many more. The tasks are designed to be prerequisites for any system that aims to be capable of conversing with a human. The aim is to classify these tasks into skill sets,so that researchers can identify (and then rectify) the failings of their systems.
|
| 384 |
+
|
| 385 |
+
### Supported Tasks and Leaderboards
|
| 386 |
+
|
| 387 |
+
The dataset supports a set of 20 proxy story-based question answering tasks for various "types" in English and Hindi. The tasks are:
|
| 388 |
+
|
| 389 |
+
|task_no|task_name|
|
| 390 |
+
|----|------------|
|
| 391 |
+
|qa1 |single-supporting-fact|
|
| 392 |
+
|qa2 |two-supporting-facts|
|
| 393 |
+
|qa3 |three-supporting-facts|
|
| 394 |
+
|qa4 |two-arg-relations|
|
| 395 |
+
|qa5 |three-arg-relations|
|
| 396 |
+
|qa6 |yes-no-questions|
|
| 397 |
+
|qa7 |counting|
|
| 398 |
+
|qa8 |lists-sets|
|
| 399 |
+
|qa9 |simple-negation|
|
| 400 |
+
|qa10| indefinite-knowledge|
|
| 401 |
+
|qa11| basic-coreference|
|
| 402 |
+
|qa12| conjunction|
|
| 403 |
+
|qa13| compound-coreference|
|
| 404 |
+
|qa14| time-reasoning|
|
| 405 |
+
|qa15| basic-deduction|
|
| 406 |
+
|qa16| basic-induction|
|
| 407 |
+
|qa17| positional-reasoning|
|
| 408 |
+
|qa18| size-reasoning|
|
| 409 |
+
|qa19| path-finding|
|
| 410 |
+
|qa20| agents-motivations|
|
| 411 |
+
|
| 412 |
+
|
| 413 |
+
The "types" are are:
|
| 414 |
+
|
| 415 |
+
- `en`
|
| 416 |
+
- the tasks in English, readable by humans.
|
| 417 |
+
|
| 418 |
+
- `hn`
|
| 419 |
+
- the tasks in Hindi, readable by humans.
|
| 420 |
+
- `shuffled`
|
| 421 |
+
- the same tasks with shuffled letters so they are not readable by humans, and for existing parsers and taggers cannot be used in a straight-forward fashion to leverage extra resources-- in this case the learner is more forced to rely on the given training data. This mimics a learner being first presented a language and having to learn from scratch.
|
| 422 |
+
- `en-10k`, `shuffled-10k` and `hn-10k`
|
| 423 |
+
- the same tasks in the three formats, but with 10,000 training examples, rather than 1000 training examples.
|
| 424 |
+
- `en-valid` and `en-valid-10k`
|
| 425 |
+
- are the same as `en` and `en10k` except the train sets have been conveniently split into train and valid portions (90% and 10% split).
|
| 426 |
+
|
| 427 |
+
To get a particular dataset, use `load_datasets('babi_qa',type=f'{type}',task_no=f'{task_no}')` where `type` is one of the types, and `task_no` is one of the task numbers. For example, `load_dataset('babi_qa', type='en', task_no='qa1')`.
|
| 428 |
+
### Languages
|
| 429 |
+
|
| 430 |
+
|
| 431 |
+
|
| 432 |
+
## Dataset Structure
|
| 433 |
+
|
| 434 |
+
### Data Instances
|
| 435 |
+
An instance from the `en-qa1` config's `train` split:
|
| 436 |
+
|
| 437 |
+
```
|
| 438 |
+
{'story': {'answer': ['', '', 'bathroom', '', '', 'hallway', '', '', 'hallway', '', '', 'office', '', '', 'bathroom'], 'id': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15'], 'supporting_ids': [[], [], ['1'], [], [], ['4'], [], [], ['4'], [], [], ['11'], [], [], ['8']], 'text': ['Mary moved to the bathroom.', 'John went to the hallway.', 'Where is Mary?', 'Daniel went back to the hallway.', 'Sandra moved to the garden.', 'Where is Daniel?', 'John moved to the office.', 'Sandra journeyed to the bathroom.', 'Where is Daniel?', 'Mary moved to the hallway.', 'Daniel travelled to the office.', 'Where is Daniel?', 'John went back to the garden.', 'John moved to the bedroom.', 'Where is Sandra?'], 'type': [0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1]}}
|
| 439 |
+
```
|
| 440 |
+
|
| 441 |
+
### Data Fields
|
| 442 |
+
|
| 443 |
+
- `story`: a dictionary feature containing:
|
| 444 |
+
- `id`: a `string` feature, which denotes the line number in the example.
|
| 445 |
+
- `type`: a classification label, with possible values including `context`, `question`, denoting whether the text is context or a question.
|
| 446 |
+
- `text`: a `string` feature the text present, whether it is a question or context.
|
| 447 |
+
- `supporting_ids`: a `list` of `string` features containing the line numbers of the lines in the example which support the answer.
|
| 448 |
+
- `answer`: a `string` feature containing the answer to the question, or an empty string if the `type`s is not `question`.
|
| 449 |
+
|
| 450 |
+
### Data Splits
|
| 451 |
+
|
| 452 |
+
The splits and corresponding sizes are:
|
| 453 |
+
|
| 454 |
+
| | train | test | validation |
|
| 455 |
+
|-------------------|---------|--------|--------------|
|
| 456 |
+
| en-qa1 | 200 | 200 | - |
|
| 457 |
+
| en-qa2 | 200 | 200 | - |
|
| 458 |
+
| en-qa3 | 200 | 200 | - |
|
| 459 |
+
| en-qa4 | 1000 | 1000 | - |
|
| 460 |
+
| en-qa5 | 200 | 200 | - |
|
| 461 |
+
| en-qa6 | 200 | 200 | - |
|
| 462 |
+
| en-qa7 | 200 | 200 | - |
|
| 463 |
+
| en-qa8 | 200 | 200 | - |
|
| 464 |
+
| en-qa9 | 200 | 200 | - |
|
| 465 |
+
| en-qa10 | 200 | 200 | - |
|
| 466 |
+
| en-qa11 | 200 | 200 | - |
|
| 467 |
+
| en-qa12 | 200 | 200 | - |
|
| 468 |
+
| en-qa13 | 200 | 200 | - |
|
| 469 |
+
| en-qa14 | 200 | 200 | - |
|
| 470 |
+
| en-qa15 | 250 | 250 | - |
|
| 471 |
+
| en-qa16 | 1000 | 1000 | - |
|
| 472 |
+
| en-qa17 | 125 | 125 | - |
|
| 473 |
+
| en-qa18 | 198 | 199 | - |
|
| 474 |
+
| en-qa19 | 1000 | 1000 | - |
|
| 475 |
+
| en-qa20 | 94 | 93 | - |
|
| 476 |
+
| en-10k-qa1 | 2000 | 200 | - |
|
| 477 |
+
| en-10k-qa2 | 2000 | 200 | - |
|
| 478 |
+
| en-10k-qa3 | 2000 | 200 | - |
|
| 479 |
+
| en-10k-qa4 | 10000 | 1000 | - |
|
| 480 |
+
| en-10k-qa5 | 2000 | 200 | - |
|
| 481 |
+
| en-10k-qa6 | 2000 | 200 | - |
|
| 482 |
+
| en-10k-qa7 | 2000 | 200 | - |
|
| 483 |
+
| en-10k-qa8 | 2000 | 200 | - |
|
| 484 |
+
| en-10k-qa9 | 2000 | 200 | - |
|
| 485 |
+
| en-10k-qa10 | 2000 | 200 | - |
|
| 486 |
+
| en-10k-qa11 | 2000 | 200 | - |
|
| 487 |
+
| en-10k-qa12 | 2000 | 200 | - |
|
| 488 |
+
| en-10k-qa13 | 2000 | 200 | - |
|
| 489 |
+
| en-10k-qa14 | 2000 | 200 | - |
|
| 490 |
+
| en-10k-qa15 | 2500 | 250 | - |
|
| 491 |
+
| en-10k-qa16 | 10000 | 1000 | - |
|
| 492 |
+
| en-10k-qa17 | 1250 | 125 | - |
|
| 493 |
+
| en-10k-qa18 | 1978 | 199 | - |
|
| 494 |
+
| en-10k-qa19 | 10000 | 1000 | - |
|
| 495 |
+
| en-10k-qa20 | 933 | 93 | - |
|
| 496 |
+
| en-valid-qa1 | 180 | 200 | 20 |
|
| 497 |
+
| en-valid-qa2 | 180 | 200 | 20 |
|
| 498 |
+
| en-valid-qa3 | 180 | 200 | 20 |
|
| 499 |
+
| en-valid-qa4 | 900 | 1000 | 100 |
|
| 500 |
+
| en-valid-qa5 | 180 | 200 | 20 |
|
| 501 |
+
| en-valid-qa6 | 180 | 200 | 20 |
|
| 502 |
+
| en-valid-qa7 | 180 | 200 | 20 |
|
| 503 |
+
| en-valid-qa8 | 180 | 200 | 20 |
|
| 504 |
+
| en-valid-qa9 | 180 | 200 | 20 |
|
| 505 |
+
| en-valid-qa10 | 180 | 200 | 20 |
|
| 506 |
+
| en-valid-qa11 | 180 | 200 | 20 |
|
| 507 |
+
| en-valid-qa12 | 180 | 200 | 20 |
|
| 508 |
+
| en-valid-qa13 | 180 | 200 | 20 |
|
| 509 |
+
| en-valid-qa14 | 180 | 200 | 20 |
|
| 510 |
+
| en-valid-qa15 | 225 | 250 | 25 |
|
| 511 |
+
| en-valid-qa16 | 900 | 1000 | 100 |
|
| 512 |
+
| en-valid-qa17 | 113 | 125 | 12 |
|
| 513 |
+
| en-valid-qa18 | 179 | 199 | 19 |
|
| 514 |
+
| en-valid-qa19 | 900 | 1000 | 100 |
|
| 515 |
+
| en-valid-qa20 | 85 | 93 | 9 |
|
| 516 |
+
| en-valid-10k-qa1 | 1800 | 200 | 200 |
|
| 517 |
+
| en-valid-10k-qa2 | 1800 | 200 | 200 |
|
| 518 |
+
| en-valid-10k-qa3 | 1800 | 200 | 200 |
|
| 519 |
+
| en-valid-10k-qa4 | 9000 | 1000 | 1000 |
|
| 520 |
+
| en-valid-10k-qa5 | 1800 | 200 | 200 |
|
| 521 |
+
| en-valid-10k-qa6 | 1800 | 200 | 200 |
|
| 522 |
+
| en-valid-10k-qa7 | 1800 | 200 | 200 |
|
| 523 |
+
| en-valid-10k-qa8 | 1800 | 200 | 200 |
|
| 524 |
+
| en-valid-10k-qa9 | 1800 | 200 | 200 |
|
| 525 |
+
| en-valid-10k-qa10 | 1800 | 200 | 200 |
|
| 526 |
+
| en-valid-10k-qa11 | 1800 | 200 | 200 |
|
| 527 |
+
| en-valid-10k-qa12 | 1800 | 200 | 200 |
|
| 528 |
+
| en-valid-10k-qa13 | 1800 | 200 | 200 |
|
| 529 |
+
| en-valid-10k-qa14 | 1800 | 200 | 200 |
|
| 530 |
+
| en-valid-10k-qa15 | 2250 | 250 | 250 |
|
| 531 |
+
| en-valid-10k-qa16 | 9000 | 1000 | 1000 |
|
| 532 |
+
| en-valid-10k-qa17 | 1125 | 125 | 125 |
|
| 533 |
+
| en-valid-10k-qa18 | 1781 | 199 | 197 |
|
| 534 |
+
| en-valid-10k-qa19 | 9000 | 1000 | 1000 |
|
| 535 |
+
| en-valid-10k-qa20 | 840 | 93 | 93 |
|
| 536 |
+
| hn-qa1 | 200 | 200 | - |
|
| 537 |
+
| hn-qa2 | 200 | 200 | - |
|
| 538 |
+
| hn-qa3 | 167 | 167 | - |
|
| 539 |
+
| hn-qa4 | 1000 | 1000 | - |
|
| 540 |
+
| hn-qa5 | 200 | 200 | - |
|
| 541 |
+
| hn-qa6 | 200 | 200 | - |
|
| 542 |
+
| hn-qa7 | 200 | 200 | - |
|
| 543 |
+
| hn-qa8 | 200 | 200 | - |
|
| 544 |
+
| hn-qa9 | 200 | 200 | - |
|
| 545 |
+
| hn-qa10 | 200 | 200 | - |
|
| 546 |
+
| hn-qa11 | 200 | 200 | - |
|
| 547 |
+
| hn-qa12 | 200 | 200 | - |
|
| 548 |
+
| hn-qa13 | 125 | 125 | - |
|
| 549 |
+
| hn-qa14 | 200 | 200 | - |
|
| 550 |
+
| hn-qa15 | 250 | 250 | - |
|
| 551 |
+
| hn-qa16 | 1000 | 1000 | - |
|
| 552 |
+
| hn-qa17 | 125 | 125 | - |
|
| 553 |
+
| hn-qa18 | 198 | 198 | - |
|
| 554 |
+
| hn-qa19 | 1000 | 1000 | - |
|
| 555 |
+
| hn-qa20 | 93 | 94 | - |
|
| 556 |
+
| hn-10k-qa1 | 2000 | 200 | - |
|
| 557 |
+
| hn-10k-qa2 | 2000 | 200 | - |
|
| 558 |
+
| hn-10k-qa3 | 1667 | 167 | - |
|
| 559 |
+
| hn-10k-qa4 | 10000 | 1000 | - |
|
| 560 |
+
| hn-10k-qa5 | 2000 | 200 | - |
|
| 561 |
+
| hn-10k-qa6 | 2000 | 200 | - |
|
| 562 |
+
| hn-10k-qa7 | 2000 | 200 | - |
|
| 563 |
+
| hn-10k-qa8 | 2000 | 200 | - |
|
| 564 |
+
| hn-10k-qa9 | 2000 | 200 | - |
|
| 565 |
+
| hn-10k-qa10 | 2000 | 200 | - |
|
| 566 |
+
| hn-10k-qa11 | 2000 | 200 | - |
|
| 567 |
+
| hn-10k-qa12 | 2000 | 200 | - |
|
| 568 |
+
| hn-10k-qa13 | 1250 | 125 | - |
|
| 569 |
+
| hn-10k-qa14 | 2000 | 200 | - |
|
| 570 |
+
| hn-10k-qa15 | 2500 | 250 | - |
|
| 571 |
+
| hn-10k-qa16 | 10000 | 1000 | - |
|
| 572 |
+
| hn-10k-qa17 | 1250 | 125 | - |
|
| 573 |
+
| hn-10k-qa18 | 1977 | 198 | - |
|
| 574 |
+
| hn-10k-qa19 | 10000 | 1000 | - |
|
| 575 |
+
| hn-10k-qa20 | 934 | 94 | - |
|
| 576 |
+
| shuffled-qa1 | 200 | 200 | - |
|
| 577 |
+
| shuffled-qa2 | 200 | 200 | - |
|
| 578 |
+
| shuffled-qa3 | 200 | 200 | - |
|
| 579 |
+
| shuffled-qa4 | 1000 | 1000 | - |
|
| 580 |
+
| shuffled-qa5 | 200 | 200 | - |
|
| 581 |
+
| shuffled-qa6 | 200 | 200 | - |
|
| 582 |
+
| shuffled-qa7 | 200 | 200 | - |
|
| 583 |
+
| shuffled-qa8 | 200 | 200 | - |
|
| 584 |
+
| shuffled-qa9 | 200 | 200 | - |
|
| 585 |
+
| shuffled-qa10 | 200 | 200 | - |
|
| 586 |
+
| shuffled-qa11 | 200 | 200 | - |
|
| 587 |
+
| shuffled-qa12 | 200 | 200 | - |
|
| 588 |
+
| shuffled-qa13 | 200 | 200 | - |
|
| 589 |
+
| shuffled-qa14 | 200 | 200 | - |
|
| 590 |
+
| shuffled-qa15 | 250 | 250 | - |
|
| 591 |
+
| shuffled-qa16 | 1000 | 1000 | - |
|
| 592 |
+
| shuffled-qa17 | 125 | 125 | - |
|
| 593 |
+
| shuffled-qa18 | 198 | 199 | - |
|
| 594 |
+
| shuffled-qa19 | 1000 | 1000 | - |
|
| 595 |
+
| shuffled-qa20 | 94 | 93 | - |
|
| 596 |
+
| shuffled-10k-qa1 | 2000 | 200 | - |
|
| 597 |
+
| shuffled-10k-qa2 | 2000 | 200 | - |
|
| 598 |
+
| shuffled-10k-qa3 | 2000 | 200 | - |
|
| 599 |
+
| shuffled-10k-qa4 | 10000 | 1000 | - |
|
| 600 |
+
| shuffled-10k-qa5 | 2000 | 200 | - |
|
| 601 |
+
| shuffled-10k-qa6 | 2000 | 200 | - |
|
| 602 |
+
| shuffled-10k-qa7 | 2000 | 200 | - |
|
| 603 |
+
| shuffled-10k-qa8 | 2000 | 200 | - |
|
| 604 |
+
| shuffled-10k-qa9 | 2000 | 200 | - |
|
| 605 |
+
| shuffled-10k-qa10 | 2000 | 200 | - |
|
| 606 |
+
| shuffled-10k-qa11 | 2000 | 200 | - |
|
| 607 |
+
| shuffled-10k-qa12 | 2000 | 200 | - |
|
| 608 |
+
| shuffled-10k-qa13 | 2000 | 200 | - |
|
| 609 |
+
| shuffled-10k-qa14 | 2000 | 200 | - |
|
| 610 |
+
| shuffled-10k-qa15 | 2500 | 250 | - |
|
| 611 |
+
| shuffled-10k-qa16 | 10000 | 1000 | - |
|
| 612 |
+
| shuffled-10k-qa17 | 1250 | 125 | - |
|
| 613 |
+
| shuffled-10k-qa18 | 1978 | 199 | - |
|
| 614 |
+
| shuffled-10k-qa19 | 10000 | 1000 | - |
|
| 615 |
+
| shuffled-10k-qa20 | 933 | 93 | - |
|
| 616 |
+
|
| 617 |
+
|
| 618 |
+
## Dataset Creation
|
| 619 |
+
|
| 620 |
+
### Curation Rationale
|
| 621 |
+
|
| 622 |
+
[More Information Needed]
|
| 623 |
+
|
| 624 |
+
### Source Data
|
| 625 |
+
|
| 626 |
+
#### Initial Data Collection and Normalization
|
| 627 |
+
|
| 628 |
+
Code to generate tasks is available on [github](https://github.com/facebook/bAbI-tasks)
|
| 629 |
+
|
| 630 |
+
#### Who are the source language producers?
|
| 631 |
+
|
| 632 |
+
[More Information Needed]
|
| 633 |
+
|
| 634 |
+
### Annotations
|
| 635 |
+
|
| 636 |
+
#### Annotation process
|
| 637 |
+
|
| 638 |
+
[More Information Needed]
|
| 639 |
+
|
| 640 |
+
#### Who are the annotators?
|
| 641 |
+
|
| 642 |
+
[More Information Needed]
|
| 643 |
+
|
| 644 |
+
### Personal and Sensitive Information
|
| 645 |
+
|
| 646 |
+
[More Information Needed]
|
| 647 |
+
|
| 648 |
+
## Considerations for Using the Data
|
| 649 |
+
|
| 650 |
+
### Social Impact of Dataset
|
| 651 |
+
|
| 652 |
+
[More Information Needed]
|
| 653 |
+
|
| 654 |
+
### Discussion of Biases
|
| 655 |
+
|
| 656 |
+
[More Information Needed]
|
| 657 |
+
|
| 658 |
+
### Other Known Limitations
|
| 659 |
+
|
| 660 |
+
[More Information Needed]
|
| 661 |
+
|
| 662 |
+
## Additional Information
|
| 663 |
+
|
| 664 |
+
### Dataset Curators
|
| 665 |
+
|
| 666 |
+
Jesse Dodge and Andreea Gane and Xiang Zhang and Antoine Bordes and Sumit Chopra and Alexander Miller and Arthur Szlam and Jason Weston, at Facebook Research.
|
| 667 |
+
|
| 668 |
+
### Licensing Information
|
| 669 |
+
|
| 670 |
+
```
|
| 671 |
+
Creative Commons Attribution 3.0 License
|
| 672 |
+
```
|
| 673 |
+
|
| 674 |
+
### Citation Information
|
| 675 |
+
|
| 676 |
+
```
|
| 677 |
+
@misc{dodge2016evaluating,
|
| 678 |
+
title={Evaluating Prerequisite Qualities for Learning End-to-End Dialog Systems},
|
| 679 |
+
author={Jesse Dodge and Andreea Gane and Xiang Zhang and Antoine Bordes and Sumit Chopra and Alexander Miller and Arthur Szlam and Jason Weston},
|
| 680 |
+
year={2016},
|
| 681 |
+
eprint={1511.06931},
|
| 682 |
+
archivePrefix={arXiv},
|
| 683 |
+
primaryClass={cs.CL}
|
| 684 |
+
}
|
| 685 |
+
```
|
| 686 |
+
|
| 687 |
+
|
| 688 |
+
### Contributions
|
| 689 |
+
|
| 690 |
+
Thanks to [@gchhablani](https://github.com/gchhablani) for adding this dataset.
|
babi_qa.py
ADDED
|
@@ -0,0 +1,946 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# coding=utf-8
|
| 2 |
+
# Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
|
| 3 |
+
#
|
| 4 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 5 |
+
# you may not use this file except in compliance with the License.
|
| 6 |
+
# You may obtain a copy of the License at
|
| 7 |
+
#
|
| 8 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 9 |
+
#
|
| 10 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 11 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 12 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 13 |
+
# See the License for the specific language governing permissions and
|
| 14 |
+
# limitations under the License.
|
| 15 |
+
"""The bAbI tasks dataset."""
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
import os
|
| 19 |
+
|
| 20 |
+
import datasets
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
_CITATION = """\
|
| 24 |
+
@misc{weston2015aicomplete,
|
| 25 |
+
title={Towards AI-Complete Question Answering: A Set of Prerequisite Toy Tasks},
|
| 26 |
+
author={Jason Weston and Antoine Bordes and Sumit Chopra and Alexander M. Rush and Bart van Merriënboer and Armand Joulin and Tomas Mikolov},
|
| 27 |
+
year={2015},
|
| 28 |
+
eprint={1502.05698},
|
| 29 |
+
archivePrefix={arXiv},
|
| 30 |
+
primaryClass={cs.AI}
|
| 31 |
+
}
|
| 32 |
+
"""
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
_DESCRIPTION = """\
|
| 36 |
+
The (20) QA bAbI tasks are a set of proxy tasks that evaluate reading
|
| 37 |
+
comprehension via question answering. Our tasks measure understanding
|
| 38 |
+
in several ways: whether a system is able to answer questions via chaining facts,
|
| 39 |
+
simple induction, deduction and many more. The tasks are designed to be prerequisites
|
| 40 |
+
for any system that aims to be capable of conversing with a human.
|
| 41 |
+
The aim is to classify these tasks into skill sets,so that researchers
|
| 42 |
+
can identify (and then rectify)the failings of their systems.
|
| 43 |
+
"""
|
| 44 |
+
|
| 45 |
+
_HOMEPAGE = "https://research.fb.com/downloads/babi/"
|
| 46 |
+
|
| 47 |
+
_LICENSE = """Creative Commons Attribution 3.0 License"""
|
| 48 |
+
|
| 49 |
+
ZIP_URL = "http://www.thespermwhale.com/jaseweston/babi/tasks_1-20_v1-2.tar.gz"
|
| 50 |
+
paths = {
|
| 51 |
+
"en": {
|
| 52 |
+
"qa9": {
|
| 53 |
+
"test": "tasks_1-20_v1-2/en/qa9_simple-negation_test.txt",
|
| 54 |
+
"train": "tasks_1-20_v1-2/en/qa9_simple-negation_train.txt",
|
| 55 |
+
},
|
| 56 |
+
"qa4": {
|
| 57 |
+
"train": "tasks_1-20_v1-2/en/qa4_two-arg-relations_train.txt",
|
| 58 |
+
"test": "tasks_1-20_v1-2/en/qa4_two-arg-relations_test.txt",
|
| 59 |
+
},
|
| 60 |
+
"qa6": {
|
| 61 |
+
"train": "tasks_1-20_v1-2/en/qa6_yes-no-questions_train.txt",
|
| 62 |
+
"test": "tasks_1-20_v1-2/en/qa6_yes-no-questions_test.txt",
|
| 63 |
+
},
|
| 64 |
+
"qa11": {
|
| 65 |
+
"test": "tasks_1-20_v1-2/en/qa11_basic-coreference_test.txt",
|
| 66 |
+
"train": "tasks_1-20_v1-2/en/qa11_basic-coreference_train.txt",
|
| 67 |
+
},
|
| 68 |
+
"qa3": {
|
| 69 |
+
"test": "tasks_1-20_v1-2/en/qa3_three-supporting-facts_test.txt",
|
| 70 |
+
"train": "tasks_1-20_v1-2/en/qa3_three-supporting-facts_train.txt",
|
| 71 |
+
},
|
| 72 |
+
"qa15": {
|
| 73 |
+
"test": "tasks_1-20_v1-2/en/qa15_basic-deduction_test.txt",
|
| 74 |
+
"train": "tasks_1-20_v1-2/en/qa15_basic-deduction_train.txt",
|
| 75 |
+
},
|
| 76 |
+
"out.txt": {"out": "tasks_1-20_v1-2/en/out.txt"},
|
| 77 |
+
"qa17": {
|
| 78 |
+
"test": "tasks_1-20_v1-2/en/qa17_positional-reasoning_test.txt",
|
| 79 |
+
"train": "tasks_1-20_v1-2/en/qa17_positional-reasoning_train.txt",
|
| 80 |
+
},
|
| 81 |
+
"qa13": {
|
| 82 |
+
"test": "tasks_1-20_v1-2/en/qa13_compound-coreference_test.txt",
|
| 83 |
+
"train": "tasks_1-20_v1-2/en/qa13_compound-coreference_train.txt",
|
| 84 |
+
},
|
| 85 |
+
"qa1": {
|
| 86 |
+
"train": "tasks_1-20_v1-2/en/qa1_single-supporting-fact_train.txt",
|
| 87 |
+
"test": "tasks_1-20_v1-2/en/qa1_single-supporting-fact_test.txt",
|
| 88 |
+
},
|
| 89 |
+
"qa14": {
|
| 90 |
+
"train": "tasks_1-20_v1-2/en/qa14_time-reasoning_train.txt",
|
| 91 |
+
"test": "tasks_1-20_v1-2/en/qa14_time-reasoning_test.txt",
|
| 92 |
+
},
|
| 93 |
+
"qa16": {
|
| 94 |
+
"test": "tasks_1-20_v1-2/en/qa16_basic-induction_test.txt",
|
| 95 |
+
"train": "tasks_1-20_v1-2/en/qa16_basic-induction_train.txt",
|
| 96 |
+
},
|
| 97 |
+
"qa19": {
|
| 98 |
+
"test": "tasks_1-20_v1-2/en/qa19_path-finding_test.txt",
|
| 99 |
+
"train": "tasks_1-20_v1-2/en/qa19_path-finding_train.txt",
|
| 100 |
+
},
|
| 101 |
+
"qa18": {
|
| 102 |
+
"test": "tasks_1-20_v1-2/en/qa18_size-reasoning_test.txt",
|
| 103 |
+
"train": "tasks_1-20_v1-2/en/qa18_size-reasoning_train.txt",
|
| 104 |
+
},
|
| 105 |
+
"qa10": {
|
| 106 |
+
"train": "tasks_1-20_v1-2/en/qa10_indefinite-knowledge_train.txt",
|
| 107 |
+
"test": "tasks_1-20_v1-2/en/qa10_indefinite-knowledge_test.txt",
|
| 108 |
+
},
|
| 109 |
+
"qa7": {
|
| 110 |
+
"train": "tasks_1-20_v1-2/en/qa7_counting_train.txt",
|
| 111 |
+
"test": "tasks_1-20_v1-2/en/qa7_counting_test.txt",
|
| 112 |
+
},
|
| 113 |
+
"qa5": {
|
| 114 |
+
"test": "tasks_1-20_v1-2/en/qa5_three-arg-relations_test.txt",
|
| 115 |
+
"train": "tasks_1-20_v1-2/en/qa5_three-arg-relations_train.txt",
|
| 116 |
+
},
|
| 117 |
+
"qa12": {
|
| 118 |
+
"test": "tasks_1-20_v1-2/en/qa12_conjunction_test.txt",
|
| 119 |
+
"train": "tasks_1-20_v1-2/en/qa12_conjunction_train.txt",
|
| 120 |
+
},
|
| 121 |
+
"qa2": {
|
| 122 |
+
"train": "tasks_1-20_v1-2/en/qa2_two-supporting-facts_train.txt",
|
| 123 |
+
"test": "tasks_1-20_v1-2/en/qa2_two-supporting-facts_test.txt",
|
| 124 |
+
},
|
| 125 |
+
"qa20": {
|
| 126 |
+
"train": "tasks_1-20_v1-2/en/qa20_agents-motivations_train.txt",
|
| 127 |
+
"test": "tasks_1-20_v1-2/en/qa20_agents-motivations_test.txt",
|
| 128 |
+
},
|
| 129 |
+
"qa8": {
|
| 130 |
+
"train": "tasks_1-20_v1-2/en/qa8_lists-sets_train.txt",
|
| 131 |
+
"test": "tasks_1-20_v1-2/en/qa8_lists-sets_test.txt",
|
| 132 |
+
},
|
| 133 |
+
},
|
| 134 |
+
"en-10k": {
|
| 135 |
+
"qa9": {
|
| 136 |
+
"test": "tasks_1-20_v1-2/en-10k/qa9_simple-negation_test.txt",
|
| 137 |
+
"train": "tasks_1-20_v1-2/en-10k/qa9_simple-negation_train.txt",
|
| 138 |
+
},
|
| 139 |
+
"qa4": {
|
| 140 |
+
"train": "tasks_1-20_v1-2/en-10k/qa4_two-arg-relations_train.txt",
|
| 141 |
+
"test": "tasks_1-20_v1-2/en-10k/qa4_two-arg-relations_test.txt",
|
| 142 |
+
},
|
| 143 |
+
"qa6": {
|
| 144 |
+
"train": "tasks_1-20_v1-2/en-10k/qa6_yes-no-questions_train.txt",
|
| 145 |
+
"test": "tasks_1-20_v1-2/en-10k/qa6_yes-no-questions_test.txt",
|
| 146 |
+
},
|
| 147 |
+
"qa11": {
|
| 148 |
+
"test": "tasks_1-20_v1-2/en-10k/qa11_basic-coreference_test.txt",
|
| 149 |
+
"train": "tasks_1-20_v1-2/en-10k/qa11_basic-coreference_train.txt",
|
| 150 |
+
},
|
| 151 |
+
"qa3": {
|
| 152 |
+
"test": "tasks_1-20_v1-2/en-10k/qa3_three-supporting-facts_test.txt",
|
| 153 |
+
"train": "tasks_1-20_v1-2/en-10k/qa3_three-supporting-facts_train.txt",
|
| 154 |
+
},
|
| 155 |
+
"qa15": {
|
| 156 |
+
"test": "tasks_1-20_v1-2/en-10k/qa15_basic-deduction_test.txt",
|
| 157 |
+
"train": "tasks_1-20_v1-2/en-10k/qa15_basic-deduction_train.txt",
|
| 158 |
+
},
|
| 159 |
+
"qa17": {
|
| 160 |
+
"test": "tasks_1-20_v1-2/en-10k/qa17_positional-reasoning_test.txt",
|
| 161 |
+
"train": "tasks_1-20_v1-2/en-10k/qa17_positional-reasoning_train.txt",
|
| 162 |
+
},
|
| 163 |
+
"qa13": {
|
| 164 |
+
"test": "tasks_1-20_v1-2/en-10k/qa13_compound-coreference_test.txt",
|
| 165 |
+
"train": "tasks_1-20_v1-2/en-10k/qa13_compound-coreference_train.txt",
|
| 166 |
+
},
|
| 167 |
+
"qa1": {
|
| 168 |
+
"train": "tasks_1-20_v1-2/en-10k/qa1_single-supporting-fact_train.txt",
|
| 169 |
+
"test": "tasks_1-20_v1-2/en-10k/qa1_single-supporting-fact_test.txt",
|
| 170 |
+
},
|
| 171 |
+
"qa14": {
|
| 172 |
+
"train": "tasks_1-20_v1-2/en-10k/qa14_time-reasoning_train.txt",
|
| 173 |
+
"test": "tasks_1-20_v1-2/en-10k/qa14_time-reasoning_test.txt",
|
| 174 |
+
},
|
| 175 |
+
"qa16": {
|
| 176 |
+
"test": "tasks_1-20_v1-2/en-10k/qa16_basic-induction_test.txt",
|
| 177 |
+
"train": "tasks_1-20_v1-2/en-10k/qa16_basic-induction_train.txt",
|
| 178 |
+
},
|
| 179 |
+
"qa19": {
|
| 180 |
+
"test": "tasks_1-20_v1-2/en-10k/qa19_path-finding_test.txt",
|
| 181 |
+
"train": "tasks_1-20_v1-2/en-10k/qa19_path-finding_train.txt",
|
| 182 |
+
},
|
| 183 |
+
"qa18": {
|
| 184 |
+
"test": "tasks_1-20_v1-2/en-10k/qa18_size-reasoning_test.txt",
|
| 185 |
+
"train": "tasks_1-20_v1-2/en-10k/qa18_size-reasoning_train.txt",
|
| 186 |
+
},
|
| 187 |
+
"qa10": {
|
| 188 |
+
"train": "tasks_1-20_v1-2/en-10k/qa10_indefinite-knowledge_train.txt",
|
| 189 |
+
"test": "tasks_1-20_v1-2/en-10k/qa10_indefinite-knowledge_test.txt",
|
| 190 |
+
},
|
| 191 |
+
"qa7": {
|
| 192 |
+
"train": "tasks_1-20_v1-2/en-10k/qa7_counting_train.txt",
|
| 193 |
+
"test": "tasks_1-20_v1-2/en-10k/qa7_counting_test.txt",
|
| 194 |
+
},
|
| 195 |
+
"qa5": {
|
| 196 |
+
"test": "tasks_1-20_v1-2/en-10k/qa5_three-arg-relations_test.txt",
|
| 197 |
+
"train": "tasks_1-20_v1-2/en-10k/qa5_three-arg-relations_train.txt",
|
| 198 |
+
},
|
| 199 |
+
"qa12": {
|
| 200 |
+
"test": "tasks_1-20_v1-2/en-10k/qa12_conjunction_test.txt",
|
| 201 |
+
"train": "tasks_1-20_v1-2/en-10k/qa12_conjunction_train.txt",
|
| 202 |
+
},
|
| 203 |
+
"qa2": {
|
| 204 |
+
"train": "tasks_1-20_v1-2/en-10k/qa2_two-supporting-facts_train.txt",
|
| 205 |
+
"test": "tasks_1-20_v1-2/en-10k/qa2_two-supporting-facts_test.txt",
|
| 206 |
+
},
|
| 207 |
+
"qa20": {
|
| 208 |
+
"train": "tasks_1-20_v1-2/en-10k/qa20_agents-motivations_train.txt",
|
| 209 |
+
"test": "tasks_1-20_v1-2/en-10k/qa20_agents-motivations_test.txt",
|
| 210 |
+
},
|
| 211 |
+
"qa8": {
|
| 212 |
+
"train": "tasks_1-20_v1-2/en-10k/qa8_lists-sets_train.txt",
|
| 213 |
+
"test": "tasks_1-20_v1-2/en-10k/qa8_lists-sets_test.txt",
|
| 214 |
+
},
|
| 215 |
+
},
|
| 216 |
+
"en-valid": {
|
| 217 |
+
"qa5": {
|
| 218 |
+
"train": "tasks_1-20_v1-2/en-valid/qa5_train.txt",
|
| 219 |
+
"test": "tasks_1-20_v1-2/en-valid/qa5_test.txt",
|
| 220 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa5_valid.txt",
|
| 221 |
+
},
|
| 222 |
+
"qa16": {
|
| 223 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa16_valid.txt",
|
| 224 |
+
"test": "tasks_1-20_v1-2/en-valid/qa16_test.txt",
|
| 225 |
+
"train": "tasks_1-20_v1-2/en-valid/qa16_train.txt",
|
| 226 |
+
},
|
| 227 |
+
"qa2": {
|
| 228 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa2_valid.txt",
|
| 229 |
+
"test": "tasks_1-20_v1-2/en-valid/qa2_test.txt",
|
| 230 |
+
"train": "tasks_1-20_v1-2/en-valid/qa2_train.txt",
|
| 231 |
+
},
|
| 232 |
+
"qa15": {
|
| 233 |
+
"train": "tasks_1-20_v1-2/en-valid/qa15_train.txt",
|
| 234 |
+
"test": "tasks_1-20_v1-2/en-valid/qa15_test.txt",
|
| 235 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa15_valid.txt",
|
| 236 |
+
},
|
| 237 |
+
"qa9": {
|
| 238 |
+
"test": "tasks_1-20_v1-2/en-valid/qa9_test.txt",
|
| 239 |
+
"train": "tasks_1-20_v1-2/en-valid/qa9_train.txt",
|
| 240 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa9_valid.txt",
|
| 241 |
+
},
|
| 242 |
+
"qa1": {
|
| 243 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa1_valid.txt",
|
| 244 |
+
"test": "tasks_1-20_v1-2/en-valid/qa1_test.txt",
|
| 245 |
+
"train": "tasks_1-20_v1-2/en-valid/qa1_train.txt",
|
| 246 |
+
},
|
| 247 |
+
"qa4": {
|
| 248 |
+
"test": "tasks_1-20_v1-2/en-valid/qa4_test.txt",
|
| 249 |
+
"train": "tasks_1-20_v1-2/en-valid/qa4_train.txt",
|
| 250 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa4_valid.txt",
|
| 251 |
+
},
|
| 252 |
+
"qa14": {
|
| 253 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa14_valid.txt",
|
| 254 |
+
"train": "tasks_1-20_v1-2/en-valid/qa14_train.txt",
|
| 255 |
+
"test": "tasks_1-20_v1-2/en-valid/qa14_test.txt",
|
| 256 |
+
},
|
| 257 |
+
"qa3": {
|
| 258 |
+
"test": "tasks_1-20_v1-2/en-valid/qa3_test.txt",
|
| 259 |
+
"train": "tasks_1-20_v1-2/en-valid/qa3_train.txt",
|
| 260 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa3_valid.txt",
|
| 261 |
+
},
|
| 262 |
+
"qa6": {
|
| 263 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa6_valid.txt",
|
| 264 |
+
"test": "tasks_1-20_v1-2/en-valid/qa6_test.txt",
|
| 265 |
+
"train": "tasks_1-20_v1-2/en-valid/qa6_train.txt",
|
| 266 |
+
},
|
| 267 |
+
"qa8": {
|
| 268 |
+
"test": "tasks_1-20_v1-2/en-valid/qa8_test.txt",
|
| 269 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa8_valid.txt",
|
| 270 |
+
"train": "tasks_1-20_v1-2/en-valid/qa8_train.txt",
|
| 271 |
+
},
|
| 272 |
+
"qa20": {
|
| 273 |
+
"train": "tasks_1-20_v1-2/en-valid/qa20_train.txt",
|
| 274 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa20_valid.txt",
|
| 275 |
+
"test": "tasks_1-20_v1-2/en-valid/qa20_test.txt",
|
| 276 |
+
},
|
| 277 |
+
"qa11": {
|
| 278 |
+
"test": "tasks_1-20_v1-2/en-valid/qa11_test.txt",
|
| 279 |
+
"train": "tasks_1-20_v1-2/en-valid/qa11_train.txt",
|
| 280 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa11_valid.txt",
|
| 281 |
+
},
|
| 282 |
+
"qa12": {
|
| 283 |
+
"test": "tasks_1-20_v1-2/en-valid/qa12_test.txt",
|
| 284 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa12_valid.txt",
|
| 285 |
+
"train": "tasks_1-20_v1-2/en-valid/qa12_train.txt",
|
| 286 |
+
},
|
| 287 |
+
"qa13": {
|
| 288 |
+
"test": "tasks_1-20_v1-2/en-valid/qa13_test.txt",
|
| 289 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa13_valid.txt",
|
| 290 |
+
"train": "tasks_1-20_v1-2/en-valid/qa13_train.txt",
|
| 291 |
+
},
|
| 292 |
+
"qa7": {
|
| 293 |
+
"train": "tasks_1-20_v1-2/en-valid/qa7_train.txt",
|
| 294 |
+
"test": "tasks_1-20_v1-2/en-valid/qa7_test.txt",
|
| 295 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa7_valid.txt",
|
| 296 |
+
},
|
| 297 |
+
"qa19": {
|
| 298 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa19_valid.txt",
|
| 299 |
+
"test": "tasks_1-20_v1-2/en-valid/qa19_test.txt",
|
| 300 |
+
"train": "tasks_1-20_v1-2/en-valid/qa19_train.txt",
|
| 301 |
+
},
|
| 302 |
+
"qa17": {
|
| 303 |
+
"train": "tasks_1-20_v1-2/en-valid/qa17_train.txt",
|
| 304 |
+
"test": "tasks_1-20_v1-2/en-valid/qa17_test.txt",
|
| 305 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa17_valid.txt",
|
| 306 |
+
},
|
| 307 |
+
"qa10": {
|
| 308 |
+
"test": "tasks_1-20_v1-2/en-valid/qa10_test.txt",
|
| 309 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa10_valid.txt",
|
| 310 |
+
"train": "tasks_1-20_v1-2/en-valid/qa10_train.txt",
|
| 311 |
+
},
|
| 312 |
+
"qa18": {
|
| 313 |
+
"valid": "tasks_1-20_v1-2/en-valid/qa18_valid.txt",
|
| 314 |
+
"train": "tasks_1-20_v1-2/en-valid/qa18_train.txt",
|
| 315 |
+
"test": "tasks_1-20_v1-2/en-valid/qa18_test.txt",
|
| 316 |
+
},
|
| 317 |
+
},
|
| 318 |
+
"en-valid-10k": {
|
| 319 |
+
"qa5": {
|
| 320 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa5_train.txt",
|
| 321 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa5_test.txt",
|
| 322 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa5_valid.txt",
|
| 323 |
+
},
|
| 324 |
+
"qa16": {
|
| 325 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa16_valid.txt",
|
| 326 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa16_test.txt",
|
| 327 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa16_train.txt",
|
| 328 |
+
},
|
| 329 |
+
"qa2": {
|
| 330 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa2_valid.txt",
|
| 331 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa2_test.txt",
|
| 332 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa2_train.txt",
|
| 333 |
+
},
|
| 334 |
+
"qa15": {
|
| 335 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa15_train.txt",
|
| 336 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa15_test.txt",
|
| 337 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa15_valid.txt",
|
| 338 |
+
},
|
| 339 |
+
"qa9": {
|
| 340 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa9_test.txt",
|
| 341 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa9_train.txt",
|
| 342 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa9_valid.txt",
|
| 343 |
+
},
|
| 344 |
+
"qa1": {
|
| 345 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa1_valid.txt",
|
| 346 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa1_test.txt",
|
| 347 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa1_train.txt",
|
| 348 |
+
},
|
| 349 |
+
"qa4": {
|
| 350 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa4_test.txt",
|
| 351 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa4_train.txt",
|
| 352 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa4_valid.txt",
|
| 353 |
+
},
|
| 354 |
+
"qa14": {
|
| 355 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa14_valid.txt",
|
| 356 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa14_train.txt",
|
| 357 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa14_test.txt",
|
| 358 |
+
},
|
| 359 |
+
"qa3": {
|
| 360 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa3_test.txt",
|
| 361 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa3_train.txt",
|
| 362 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa3_valid.txt",
|
| 363 |
+
},
|
| 364 |
+
"qa6": {
|
| 365 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa6_valid.txt",
|
| 366 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa6_test.txt",
|
| 367 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa6_train.txt",
|
| 368 |
+
},
|
| 369 |
+
"qa8": {
|
| 370 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa8_test.txt",
|
| 371 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa8_valid.txt",
|
| 372 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa8_train.txt",
|
| 373 |
+
},
|
| 374 |
+
"qa20": {
|
| 375 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa20_train.txt",
|
| 376 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa20_valid.txt",
|
| 377 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa20_test.txt",
|
| 378 |
+
},
|
| 379 |
+
"qa11": {
|
| 380 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa11_test.txt",
|
| 381 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa11_train.txt",
|
| 382 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa11_valid.txt",
|
| 383 |
+
},
|
| 384 |
+
"qa12": {
|
| 385 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa12_test.txt",
|
| 386 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa12_valid.txt",
|
| 387 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa12_train.txt",
|
| 388 |
+
},
|
| 389 |
+
"qa13": {
|
| 390 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa13_test.txt",
|
| 391 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa13_valid.txt",
|
| 392 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa13_train.txt",
|
| 393 |
+
},
|
| 394 |
+
"qa7": {
|
| 395 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa7_train.txt",
|
| 396 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa7_test.txt",
|
| 397 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa7_valid.txt",
|
| 398 |
+
},
|
| 399 |
+
"qa19": {
|
| 400 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa19_valid.txt",
|
| 401 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa19_test.txt",
|
| 402 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa19_train.txt",
|
| 403 |
+
},
|
| 404 |
+
"qa17": {
|
| 405 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa17_train.txt",
|
| 406 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa17_test.txt",
|
| 407 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa17_valid.txt",
|
| 408 |
+
},
|
| 409 |
+
"qa10": {
|
| 410 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa10_test.txt",
|
| 411 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa10_valid.txt",
|
| 412 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa10_train.txt",
|
| 413 |
+
},
|
| 414 |
+
"qa18": {
|
| 415 |
+
"valid": "tasks_1-20_v1-2/en-valid-10k/qa18_valid.txt",
|
| 416 |
+
"train": "tasks_1-20_v1-2/en-valid-10k/qa18_train.txt",
|
| 417 |
+
"test": "tasks_1-20_v1-2/en-valid-10k/qa18_test.txt",
|
| 418 |
+
},
|
| 419 |
+
},
|
| 420 |
+
"hn": {
|
| 421 |
+
"qa9": {
|
| 422 |
+
"test": "tasks_1-20_v1-2/hn/qa9_simple-negation_test.txt",
|
| 423 |
+
"train": "tasks_1-20_v1-2/hn/qa9_simple-negation_train.txt",
|
| 424 |
+
},
|
| 425 |
+
"qa4": {
|
| 426 |
+
"train": "tasks_1-20_v1-2/hn/qa4_two-arg-relations_train.txt",
|
| 427 |
+
"test": "tasks_1-20_v1-2/hn/qa4_two-arg-relations_test.txt",
|
| 428 |
+
},
|
| 429 |
+
"qa6": {
|
| 430 |
+
"train": "tasks_1-20_v1-2/hn/qa6_yes-no-questions_train.txt",
|
| 431 |
+
"test": "tasks_1-20_v1-2/hn/qa6_yes-no-questions_test.txt",
|
| 432 |
+
},
|
| 433 |
+
"qa11": {
|
| 434 |
+
"test": "tasks_1-20_v1-2/hn/qa11_basic-coreference_test.txt",
|
| 435 |
+
"train": "tasks_1-20_v1-2/hn/qa11_basic-coreference_train.txt",
|
| 436 |
+
},
|
| 437 |
+
"qa3": {
|
| 438 |
+
"test": "tasks_1-20_v1-2/hn/qa3_three-supporting-facts_test.txt",
|
| 439 |
+
"train": "tasks_1-20_v1-2/hn/qa3_three-supporting-facts_train.txt",
|
| 440 |
+
},
|
| 441 |
+
"qa15": {
|
| 442 |
+
"test": "tasks_1-20_v1-2/hn/qa15_basic-deduction_test.txt",
|
| 443 |
+
"train": "tasks_1-20_v1-2/hn/qa15_basic-deduction_train.txt",
|
| 444 |
+
},
|
| 445 |
+
"qa17": {
|
| 446 |
+
"test": "tasks_1-20_v1-2/hn/qa17_positional-reasoning_test.txt",
|
| 447 |
+
"train": "tasks_1-20_v1-2/hn/qa17_positional-reasoning_train.txt",
|
| 448 |
+
},
|
| 449 |
+
"qa13": {
|
| 450 |
+
"test": "tasks_1-20_v1-2/hn/qa13_compound-coreference_test.txt",
|
| 451 |
+
"train": "tasks_1-20_v1-2/hn/qa13_compound-coreference_train.txt",
|
| 452 |
+
},
|
| 453 |
+
"qa1": {
|
| 454 |
+
"train": "tasks_1-20_v1-2/hn/qa1_single-supporting-fact_train.txt",
|
| 455 |
+
"test": "tasks_1-20_v1-2/hn/qa1_single-supporting-fact_test.txt",
|
| 456 |
+
},
|
| 457 |
+
"qa14": {
|
| 458 |
+
"train": "tasks_1-20_v1-2/hn/qa14_time-reasoning_train.txt",
|
| 459 |
+
"test": "tasks_1-20_v1-2/hn/qa14_time-reasoning_test.txt",
|
| 460 |
+
},
|
| 461 |
+
"qa16": {
|
| 462 |
+
"test": "tasks_1-20_v1-2/hn/qa16_basic-induction_test.txt",
|
| 463 |
+
"train": "tasks_1-20_v1-2/hn/qa16_basic-induction_train.txt",
|
| 464 |
+
},
|
| 465 |
+
"qa19": {
|
| 466 |
+
"test": "tasks_1-20_v1-2/hn/qa19_path-finding_test.txt",
|
| 467 |
+
"train": "tasks_1-20_v1-2/hn/qa19_path-finding_train.txt",
|
| 468 |
+
},
|
| 469 |
+
"qa18": {
|
| 470 |
+
"test": "tasks_1-20_v1-2/hn/qa18_size-reasoning_test.txt",
|
| 471 |
+
"train": "tasks_1-20_v1-2/hn/qa18_size-reasoning_train.txt",
|
| 472 |
+
},
|
| 473 |
+
"qa10": {
|
| 474 |
+
"train": "tasks_1-20_v1-2/hn/qa10_indefinite-knowledge_train.txt",
|
| 475 |
+
"test": "tasks_1-20_v1-2/hn/qa10_indefinite-knowledge_test.txt",
|
| 476 |
+
},
|
| 477 |
+
"qa7": {
|
| 478 |
+
"train": "tasks_1-20_v1-2/hn/qa7_counting_train.txt",
|
| 479 |
+
"test": "tasks_1-20_v1-2/hn/qa7_counting_test.txt",
|
| 480 |
+
},
|
| 481 |
+
"qa5": {
|
| 482 |
+
"test": "tasks_1-20_v1-2/hn/qa5_three-arg-relations_test.txt",
|
| 483 |
+
"train": "tasks_1-20_v1-2/hn/qa5_three-arg-relations_train.txt",
|
| 484 |
+
},
|
| 485 |
+
"qa12": {
|
| 486 |
+
"test": "tasks_1-20_v1-2/hn/qa12_conjunction_test.txt",
|
| 487 |
+
"train": "tasks_1-20_v1-2/hn/qa12_conjunction_train.txt",
|
| 488 |
+
},
|
| 489 |
+
"qa2": {
|
| 490 |
+
"train": "tasks_1-20_v1-2/hn/qa2_two-supporting-facts_train.txt",
|
| 491 |
+
"test": "tasks_1-20_v1-2/hn/qa2_two-supporting-facts_test.txt",
|
| 492 |
+
},
|
| 493 |
+
"qa20": {
|
| 494 |
+
"train": "tasks_1-20_v1-2/hn/qa20_agents-motivations_train.txt",
|
| 495 |
+
"test": "tasks_1-20_v1-2/hn/qa20_agents-motivations_test.txt",
|
| 496 |
+
},
|
| 497 |
+
"qa8": {
|
| 498 |
+
"train": "tasks_1-20_v1-2/hn/qa8_lists-sets_train.txt",
|
| 499 |
+
"test": "tasks_1-20_v1-2/hn/qa8_lists-sets_test.txt",
|
| 500 |
+
},
|
| 501 |
+
},
|
| 502 |
+
"hn-10k": {
|
| 503 |
+
"qa9": {
|
| 504 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa9_simple-negation_test.txt",
|
| 505 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa9_simple-negation_train.txt",
|
| 506 |
+
},
|
| 507 |
+
"qa4": {
|
| 508 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa4_two-arg-relations_train.txt",
|
| 509 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa4_two-arg-relations_test.txt",
|
| 510 |
+
},
|
| 511 |
+
"qa6": {
|
| 512 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa6_yes-no-questions_train.txt",
|
| 513 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa6_yes-no-questions_test.txt",
|
| 514 |
+
},
|
| 515 |
+
"qa11": {
|
| 516 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa11_basic-coreference_test.txt",
|
| 517 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa11_basic-coreference_train.txt",
|
| 518 |
+
},
|
| 519 |
+
"qa3": {
|
| 520 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa3_three-supporting-facts_test.txt",
|
| 521 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa3_three-supporting-facts_train.txt",
|
| 522 |
+
},
|
| 523 |
+
"qa15": {
|
| 524 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa15_basic-deduction_test.txt",
|
| 525 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa15_basic-deduction_train.txt",
|
| 526 |
+
},
|
| 527 |
+
"qa17": {
|
| 528 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa17_positional-reasoning_test.txt",
|
| 529 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa17_positional-reasoning_train.txt",
|
| 530 |
+
},
|
| 531 |
+
"qa13": {
|
| 532 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa13_compound-coreference_test.txt",
|
| 533 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa13_compound-coreference_train.txt",
|
| 534 |
+
},
|
| 535 |
+
"qa1": {
|
| 536 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa1_single-supporting-fact_train.txt",
|
| 537 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa1_single-supporting-fact_test.txt",
|
| 538 |
+
},
|
| 539 |
+
"qa14": {
|
| 540 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa14_time-reasoning_train.txt",
|
| 541 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa14_time-reasoning_test.txt",
|
| 542 |
+
},
|
| 543 |
+
"qa16": {
|
| 544 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa16_basic-induction_test.txt",
|
| 545 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa16_basic-induction_train.txt",
|
| 546 |
+
},
|
| 547 |
+
"qa19": {
|
| 548 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa19_path-finding_test.txt",
|
| 549 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa19_path-finding_train.txt",
|
| 550 |
+
},
|
| 551 |
+
"qa18": {
|
| 552 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa18_size-reasoning_test.txt",
|
| 553 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa18_size-reasoning_train.txt",
|
| 554 |
+
},
|
| 555 |
+
"qa10": {
|
| 556 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa10_indefinite-knowledge_train.txt",
|
| 557 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa10_indefinite-knowledge_test.txt",
|
| 558 |
+
},
|
| 559 |
+
"qa7": {
|
| 560 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa7_counting_train.txt",
|
| 561 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa7_counting_test.txt",
|
| 562 |
+
},
|
| 563 |
+
"qa5": {
|
| 564 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa5_three-arg-relations_test.txt",
|
| 565 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa5_three-arg-relations_train.txt",
|
| 566 |
+
},
|
| 567 |
+
"qa12": {
|
| 568 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa12_conjunction_test.txt",
|
| 569 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa12_conjunction_train.txt",
|
| 570 |
+
},
|
| 571 |
+
"qa2": {
|
| 572 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa2_two-supporting-facts_train.txt",
|
| 573 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa2_two-supporting-facts_test.txt",
|
| 574 |
+
},
|
| 575 |
+
"qa20": {
|
| 576 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa20_agents-motivations_train.txt",
|
| 577 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa20_agents-motivations_test.txt",
|
| 578 |
+
},
|
| 579 |
+
"qa8": {
|
| 580 |
+
"train": "tasks_1-20_v1-2/hn-10k/qa8_lists-sets_train.txt",
|
| 581 |
+
"test": "tasks_1-20_v1-2/hn-10k/qa8_lists-sets_test.txt",
|
| 582 |
+
},
|
| 583 |
+
},
|
| 584 |
+
"shuffled": {
|
| 585 |
+
"qa9": {
|
| 586 |
+
"test": "tasks_1-20_v1-2/shuffled/qa9_simple-negation_test.txt",
|
| 587 |
+
"train": "tasks_1-20_v1-2/shuffled/qa9_simple-negation_train.txt",
|
| 588 |
+
},
|
| 589 |
+
"qa4": {
|
| 590 |
+
"train": "tasks_1-20_v1-2/shuffled/qa4_two-arg-relations_train.txt",
|
| 591 |
+
"test": "tasks_1-20_v1-2/shuffled/qa4_two-arg-relations_test.txt",
|
| 592 |
+
},
|
| 593 |
+
"qa6": {
|
| 594 |
+
"train": "tasks_1-20_v1-2/shuffled/qa6_yes-no-questions_train.txt",
|
| 595 |
+
"test": "tasks_1-20_v1-2/shuffled/qa6_yes-no-questions_test.txt",
|
| 596 |
+
},
|
| 597 |
+
"qa11": {
|
| 598 |
+
"test": "tasks_1-20_v1-2/shuffled/qa11_basic-coreference_test.txt",
|
| 599 |
+
"train": "tasks_1-20_v1-2/shuffled/qa11_basic-coreference_train.txt",
|
| 600 |
+
},
|
| 601 |
+
"qa3": {
|
| 602 |
+
"test": "tasks_1-20_v1-2/shuffled/qa3_three-supporting-facts_test.txt",
|
| 603 |
+
"train": "tasks_1-20_v1-2/shuffled/qa3_three-supporting-facts_train.txt",
|
| 604 |
+
},
|
| 605 |
+
"qa15": {
|
| 606 |
+
"test": "tasks_1-20_v1-2/shuffled/qa15_basic-deduction_test.txt",
|
| 607 |
+
"train": "tasks_1-20_v1-2/shuffled/qa15_basic-deduction_train.txt",
|
| 608 |
+
},
|
| 609 |
+
"qa17": {
|
| 610 |
+
"test": "tasks_1-20_v1-2/shuffled/qa17_positional-reasoning_test.txt",
|
| 611 |
+
"train": "tasks_1-20_v1-2/shuffled/qa17_positional-reasoning_train.txt",
|
| 612 |
+
},
|
| 613 |
+
"qa13": {
|
| 614 |
+
"test": "tasks_1-20_v1-2/shuffled/qa13_compound-coreference_test.txt",
|
| 615 |
+
"train": "tasks_1-20_v1-2/shuffled/qa13_compound-coreference_train.txt",
|
| 616 |
+
},
|
| 617 |
+
"qa1": {
|
| 618 |
+
"train": "tasks_1-20_v1-2/shuffled/qa1_single-supporting-fact_train.txt",
|
| 619 |
+
"test": "tasks_1-20_v1-2/shuffled/qa1_single-supporting-fact_test.txt",
|
| 620 |
+
},
|
| 621 |
+
"qa14": {
|
| 622 |
+
"train": "tasks_1-20_v1-2/shuffled/qa14_time-reasoning_train.txt",
|
| 623 |
+
"test": "tasks_1-20_v1-2/shuffled/qa14_time-reasoning_test.txt",
|
| 624 |
+
},
|
| 625 |
+
"qa16": {
|
| 626 |
+
"test": "tasks_1-20_v1-2/shuffled/qa16_basic-induction_test.txt",
|
| 627 |
+
"train": "tasks_1-20_v1-2/shuffled/qa16_basic-induction_train.txt",
|
| 628 |
+
},
|
| 629 |
+
"qa19": {
|
| 630 |
+
"test": "tasks_1-20_v1-2/shuffled/qa19_path-finding_test.txt",
|
| 631 |
+
"train": "tasks_1-20_v1-2/shuffled/qa19_path-finding_train.txt",
|
| 632 |
+
},
|
| 633 |
+
"qa18": {
|
| 634 |
+
"test": "tasks_1-20_v1-2/shuffled/qa18_size-reasoning_test.txt",
|
| 635 |
+
"train": "tasks_1-20_v1-2/shuffled/qa18_size-reasoning_train.txt",
|
| 636 |
+
},
|
| 637 |
+
"qa10": {
|
| 638 |
+
"train": "tasks_1-20_v1-2/shuffled/qa10_indefinite-knowledge_train.txt",
|
| 639 |
+
"test": "tasks_1-20_v1-2/shuffled/qa10_indefinite-knowledge_test.txt",
|
| 640 |
+
},
|
| 641 |
+
"qa7": {
|
| 642 |
+
"train": "tasks_1-20_v1-2/shuffled/qa7_counting_train.txt",
|
| 643 |
+
"test": "tasks_1-20_v1-2/shuffled/qa7_counting_test.txt",
|
| 644 |
+
},
|
| 645 |
+
"qa5": {
|
| 646 |
+
"test": "tasks_1-20_v1-2/shuffled/qa5_three-arg-relations_test.txt",
|
| 647 |
+
"train": "tasks_1-20_v1-2/shuffled/qa5_three-arg-relations_train.txt",
|
| 648 |
+
},
|
| 649 |
+
"qa12": {
|
| 650 |
+
"test": "tasks_1-20_v1-2/shuffled/qa12_conjunction_test.txt",
|
| 651 |
+
"train": "tasks_1-20_v1-2/shuffled/qa12_conjunction_train.txt",
|
| 652 |
+
},
|
| 653 |
+
"qa2": {
|
| 654 |
+
"train": "tasks_1-20_v1-2/shuffled/qa2_two-supporting-facts_train.txt",
|
| 655 |
+
"test": "tasks_1-20_v1-2/shuffled/qa2_two-supporting-facts_test.txt",
|
| 656 |
+
},
|
| 657 |
+
"qa20": {
|
| 658 |
+
"train": "tasks_1-20_v1-2/shuffled/qa20_agents-motivations_train.txt",
|
| 659 |
+
"test": "tasks_1-20_v1-2/shuffled/qa20_agents-motivations_test.txt",
|
| 660 |
+
},
|
| 661 |
+
"qa8": {
|
| 662 |
+
"train": "tasks_1-20_v1-2/shuffled/qa8_lists-sets_train.txt",
|
| 663 |
+
"test": "tasks_1-20_v1-2/shuffled/qa8_lists-sets_test.txt",
|
| 664 |
+
},
|
| 665 |
+
},
|
| 666 |
+
"shuffled-10k": {
|
| 667 |
+
"qa9": {
|
| 668 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa9_simple-negation_test.txt",
|
| 669 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa9_simple-negation_train.txt",
|
| 670 |
+
},
|
| 671 |
+
"qa4": {
|
| 672 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa4_two-arg-relations_train.txt",
|
| 673 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa4_two-arg-relations_test.txt",
|
| 674 |
+
},
|
| 675 |
+
"qa6": {
|
| 676 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa6_yes-no-questions_train.txt",
|
| 677 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa6_yes-no-questions_test.txt",
|
| 678 |
+
},
|
| 679 |
+
"qa11": {
|
| 680 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa11_basic-coreference_test.txt",
|
| 681 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa11_basic-coreference_train.txt",
|
| 682 |
+
},
|
| 683 |
+
"qa3": {
|
| 684 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa3_three-supporting-facts_test.txt",
|
| 685 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa3_three-supporting-facts_train.txt",
|
| 686 |
+
},
|
| 687 |
+
"qa15": {
|
| 688 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa15_basic-deduction_test.txt",
|
| 689 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa15_basic-deduction_train.txt",
|
| 690 |
+
},
|
| 691 |
+
"qa17": {
|
| 692 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa17_positional-reasoning_test.txt",
|
| 693 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa17_positional-reasoning_train.txt",
|
| 694 |
+
},
|
| 695 |
+
"qa13": {
|
| 696 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa13_compound-coreference_test.txt",
|
| 697 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa13_compound-coreference_train.txt",
|
| 698 |
+
},
|
| 699 |
+
"qa1": {
|
| 700 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa1_single-supporting-fact_train.txt",
|
| 701 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa1_single-supporting-fact_test.txt",
|
| 702 |
+
},
|
| 703 |
+
"qa14": {
|
| 704 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa14_time-reasoning_train.txt",
|
| 705 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa14_time-reasoning_test.txt",
|
| 706 |
+
},
|
| 707 |
+
"qa16": {
|
| 708 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa16_basic-induction_test.txt",
|
| 709 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa16_basic-induction_train.txt",
|
| 710 |
+
},
|
| 711 |
+
"qa19": {
|
| 712 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa19_path-finding_test.txt",
|
| 713 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa19_path-finding_train.txt",
|
| 714 |
+
},
|
| 715 |
+
"qa18": {
|
| 716 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa18_size-reasoning_test.txt",
|
| 717 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa18_size-reasoning_train.txt",
|
| 718 |
+
},
|
| 719 |
+
"qa10": {
|
| 720 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa10_indefinite-knowledge_train.txt",
|
| 721 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa10_indefinite-knowledge_test.txt",
|
| 722 |
+
},
|
| 723 |
+
"qa7": {
|
| 724 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa7_counting_train.txt",
|
| 725 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa7_counting_test.txt",
|
| 726 |
+
},
|
| 727 |
+
"qa5": {
|
| 728 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa5_three-arg-relations_test.txt",
|
| 729 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa5_three-arg-relations_train.txt",
|
| 730 |
+
},
|
| 731 |
+
"qa12": {
|
| 732 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa12_conjunction_test.txt",
|
| 733 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa12_conjunction_train.txt",
|
| 734 |
+
},
|
| 735 |
+
"qa2": {
|
| 736 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa2_two-supporting-facts_train.txt",
|
| 737 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa2_two-supporting-facts_test.txt",
|
| 738 |
+
},
|
| 739 |
+
"qa20": {
|
| 740 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa20_agents-motivations_train.txt",
|
| 741 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa20_agents-motivations_test.txt",
|
| 742 |
+
},
|
| 743 |
+
"qa8": {
|
| 744 |
+
"train": "tasks_1-20_v1-2/shuffled-10k/qa8_lists-sets_train.txt",
|
| 745 |
+
"test": "tasks_1-20_v1-2/shuffled-10k/qa8_lists-sets_test.txt",
|
| 746 |
+
},
|
| 747 |
+
},
|
| 748 |
+
}
|
| 749 |
+
|
| 750 |
+
|
| 751 |
+
class BabiQaConfig(datasets.BuilderConfig):
|
| 752 |
+
def __init__(self, *args, type=None, task_no=None, **kwargs):
|
| 753 |
+
super().__init__(
|
| 754 |
+
*args,
|
| 755 |
+
name=f"{type}-{task_no}",
|
| 756 |
+
**kwargs,
|
| 757 |
+
)
|
| 758 |
+
self.type = type
|
| 759 |
+
self.task_no = task_no
|
| 760 |
+
|
| 761 |
+
|
| 762 |
+
class BabiQa(datasets.GeneratorBasedBuilder):
|
| 763 |
+
"""The bAbI QA (20) tasks Dataset"""
|
| 764 |
+
|
| 765 |
+
VERSION = datasets.Version("1.2.0")
|
| 766 |
+
|
| 767 |
+
BUILDER_CONFIG_CLASS = BabiQaConfig
|
| 768 |
+
|
| 769 |
+
BUILDER_CONFIGS = [
|
| 770 |
+
BabiQaConfig(
|
| 771 |
+
type="en",
|
| 772 |
+
task_no="qa1",
|
| 773 |
+
version=VERSION,
|
| 774 |
+
description="This part of the config handles the `qa1` task of the bAbI `en` dataset",
|
| 775 |
+
),
|
| 776 |
+
BabiQaConfig(
|
| 777 |
+
type="hn",
|
| 778 |
+
task_no="qa1",
|
| 779 |
+
version=VERSION,
|
| 780 |
+
description="This part of the config handles the `qa1` task of the bAbI `hn` dataset",
|
| 781 |
+
),
|
| 782 |
+
BabiQaConfig(
|
| 783 |
+
type="en-10k",
|
| 784 |
+
task_no="qa1",
|
| 785 |
+
version=VERSION,
|
| 786 |
+
description="This part of the config handles the `qa1` task of the bAbI `en-10k` dataset",
|
| 787 |
+
),
|
| 788 |
+
BabiQaConfig(
|
| 789 |
+
type="en-valid",
|
| 790 |
+
task_no="qa1",
|
| 791 |
+
version=VERSION,
|
| 792 |
+
description="This part of the config handles the `qa1` task of the bAbI `en-valid` dataset",
|
| 793 |
+
),
|
| 794 |
+
BabiQaConfig(
|
| 795 |
+
type="en-valid-10k",
|
| 796 |
+
task_no="qa1",
|
| 797 |
+
version=VERSION,
|
| 798 |
+
description="This part of the config handles the `qa1` task of the bAbI `en-valid-10k` dataset",
|
| 799 |
+
),
|
| 800 |
+
BabiQaConfig(
|
| 801 |
+
type="hn-10k",
|
| 802 |
+
task_no="qa1",
|
| 803 |
+
version=VERSION,
|
| 804 |
+
description="This part of the config handles the `qa1` task of the bAbI `hn-10k` dataset",
|
| 805 |
+
),
|
| 806 |
+
BabiQaConfig(
|
| 807 |
+
type="shuffled",
|
| 808 |
+
task_no="qa1",
|
| 809 |
+
version=VERSION,
|
| 810 |
+
description="This part of the config handles the `qa1` task of the bAbI `shuffled` dataset",
|
| 811 |
+
),
|
| 812 |
+
BabiQaConfig(
|
| 813 |
+
type="shuffled-10k",
|
| 814 |
+
task_no="qa1",
|
| 815 |
+
version=VERSION,
|
| 816 |
+
description="This part of the config handles the `qa1` task of the bAbI `shuffled-10k` dataset",
|
| 817 |
+
),
|
| 818 |
+
]
|
| 819 |
+
|
| 820 |
+
def _info(self):
|
| 821 |
+
features = datasets.Features(
|
| 822 |
+
{
|
| 823 |
+
"story": datasets.Sequence(
|
| 824 |
+
{
|
| 825 |
+
"id": datasets.Value("string"),
|
| 826 |
+
"type": datasets.ClassLabel(names=["context", "question"]),
|
| 827 |
+
"text": datasets.Value("string"),
|
| 828 |
+
"supporting_ids": datasets.Sequence(datasets.Value("string")),
|
| 829 |
+
"answer": datasets.Value("string"),
|
| 830 |
+
}
|
| 831 |
+
),
|
| 832 |
+
}
|
| 833 |
+
)
|
| 834 |
+
return datasets.DatasetInfo(
|
| 835 |
+
# This is the description that will appear on the datasets page.
|
| 836 |
+
description=_DESCRIPTION,
|
| 837 |
+
# This defines the different columns of the dataset and their types
|
| 838 |
+
features=features, # Here we define them above because they are different between the two configurations
|
| 839 |
+
# If there's a common (input, target) tuple from the features,
|
| 840 |
+
# specify them here. They'll be used if as_supervised=True in
|
| 841 |
+
# builder.as_dataset.
|
| 842 |
+
supervised_keys=None,
|
| 843 |
+
# Homepage of the dataset for documentation
|
| 844 |
+
homepage=_HOMEPAGE,
|
| 845 |
+
# License for the dataset if available
|
| 846 |
+
license=_LICENSE,
|
| 847 |
+
# Citation for the dataset
|
| 848 |
+
citation=_CITATION,
|
| 849 |
+
)
|
| 850 |
+
|
| 851 |
+
def _split_generators(self, dl_manager):
|
| 852 |
+
"""Returns SplitGenerators."""
|
| 853 |
+
my_urls = ZIP_URL
|
| 854 |
+
data_dir = dl_manager.download_and_extract(my_urls)
|
| 855 |
+
splits = [
|
| 856 |
+
datasets.SplitGenerator(
|
| 857 |
+
name=datasets.Split.TRAIN,
|
| 858 |
+
# These kwargs will be passed to _generate_examples
|
| 859 |
+
gen_kwargs={
|
| 860 |
+
"filepath": os.path.join(data_dir, paths[self.config.type][self.config.task_no]["train"]),
|
| 861 |
+
},
|
| 862 |
+
),
|
| 863 |
+
datasets.SplitGenerator(
|
| 864 |
+
name=datasets.Split.TEST,
|
| 865 |
+
# These kwargs will be passed to _generate_examples
|
| 866 |
+
gen_kwargs={
|
| 867 |
+
"filepath": os.path.join(data_dir, paths[self.config.type][self.config.task_no]["test"]),
|
| 868 |
+
},
|
| 869 |
+
),
|
| 870 |
+
]
|
| 871 |
+
if "valid" in self.config.type:
|
| 872 |
+
splits += [
|
| 873 |
+
datasets.SplitGenerator(
|
| 874 |
+
name=datasets.Split.VALIDATION,
|
| 875 |
+
# These kwargs will be passed to _generate_examples
|
| 876 |
+
gen_kwargs={
|
| 877 |
+
"filepath": os.path.join(data_dir, paths[self.config.type][self.config.task_no]["valid"]),
|
| 878 |
+
},
|
| 879 |
+
),
|
| 880 |
+
]
|
| 881 |
+
return splits
|
| 882 |
+
|
| 883 |
+
def _generate_examples(self, filepath):
|
| 884 |
+
|
| 885 |
+
with open(filepath, encoding="utf-8") as f:
|
| 886 |
+
story = []
|
| 887 |
+
example_idx = 0
|
| 888 |
+
for idx, line in enumerate(f):
|
| 889 |
+
if line.strip() == "":
|
| 890 |
+
if story != []:
|
| 891 |
+
yield example_idx, {"story": story}
|
| 892 |
+
example_idx += 1
|
| 893 |
+
story = []
|
| 894 |
+
elif line.strip().split()[0] == "1": # New story
|
| 895 |
+
if story != []: # Already some story, flush it out
|
| 896 |
+
yield example_idx, {"story": story}
|
| 897 |
+
example_idx += 1
|
| 898 |
+
story = []
|
| 899 |
+
line_no = line.split()[0]
|
| 900 |
+
line_split = line[len(line_no) :].strip().split("\t")
|
| 901 |
+
if len(line_split) > 1:
|
| 902 |
+
story.append(
|
| 903 |
+
{
|
| 904 |
+
"id": line_no,
|
| 905 |
+
"type": 1, # question
|
| 906 |
+
"supporting_ids": line_split[-1].split(" "),
|
| 907 |
+
"text": line_split[0].strip(),
|
| 908 |
+
"answer": line_split[1].strip(),
|
| 909 |
+
}
|
| 910 |
+
)
|
| 911 |
+
else:
|
| 912 |
+
story.append(
|
| 913 |
+
{
|
| 914 |
+
"id": line_no,
|
| 915 |
+
"type": 0, # context
|
| 916 |
+
"supporting_ids": [],
|
| 917 |
+
"text": line_split[0].strip(),
|
| 918 |
+
"answer": "",
|
| 919 |
+
}
|
| 920 |
+
)
|
| 921 |
+
else:
|
| 922 |
+
line_no = line.split()[0]
|
| 923 |
+
line_split = line[len(line_no) :].strip().split("\t")
|
| 924 |
+
if len(line_split) > 1:
|
| 925 |
+
story.append(
|
| 926 |
+
{
|
| 927 |
+
"id": line_no,
|
| 928 |
+
"type": 1, # question
|
| 929 |
+
"supporting_ids": line_split[-1].split(" "),
|
| 930 |
+
"text": line_split[0].strip(),
|
| 931 |
+
"answer": line_split[1].strip(),
|
| 932 |
+
}
|
| 933 |
+
)
|
| 934 |
+
else:
|
| 935 |
+
story.append(
|
| 936 |
+
{
|
| 937 |
+
"id": line_no,
|
| 938 |
+
"type": 0, # context
|
| 939 |
+
"supporting_ids": [],
|
| 940 |
+
"text": line_split[0].strip(),
|
| 941 |
+
"answer": "",
|
| 942 |
+
}
|
| 943 |
+
)
|
| 944 |
+
else: # After last line
|
| 945 |
+
if story != []:
|
| 946 |
+
yield example_idx, {"story": story}
|
dataset_infos.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
dummy/en-10k-qa1/1.2.0/dummy_data.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:384ada74d79bb634e964f26861ca121bd74fa75ae1a18ca26995047646653be0
|
| 3 |
+
size 1683
|
dummy/en-qa1/1.2.0/dummy_data.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5d96788252409311b56b88dfcafbf6138b13826f439abe7327a165b8933ae8a
|
| 3 |
+
size 1659
|
dummy/en-valid-10k-qa1/1.2.0/dummy_data.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62efc1629cf7cb1264aa98128f16d6b2dbbfe1a440f49ac616aa550bbb600720
|
| 3 |
+
size 2013
|
dummy/en-valid-qa1/1.2.0/dummy_data.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf035611f362c90b0d58ecc84f9d5f1d58ae8417288a0ffe4faef3ed8c4c9258
|
| 3 |
+
size 1978
|
dummy/hn-10k-qa1/1.2.0/dummy_data.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2751b10a1363a16d64bd14f670930abc2ef08ace72988b4a09e74c41fbc4a18
|
| 3 |
+
size 1668
|
dummy/hn-qa1/1.2.0/dummy_data.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:122989bfa6d67636ffa454fbe402263e024f70f1696dbdeebb15699d72232854
|
| 3 |
+
size 1644
|
dummy/shuffled-10k-qa1/1.2.0/dummy_data.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73a271e7dd8c4a1c6123dc4a6048fea403204a26e5c952d483e0311a529c1130
|
| 3 |
+
size 1719
|
dummy/shuffled-qa1/1.2.0/dummy_data.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2c20c5ecf2bfb86cfc98317951bc159a817f005115dbe712f79507faf979b72
|
| 3 |
+
size 1695
|