Datasets:

Languages:
English
Multilinguality:
monolingual
Size Categories:
100K<n<1M
n<1K
Language Creators:
found
Annotations Creators:
machine-generated
Source Datasets:
original
ArXiv:
Tags:
License:
File size: 10,588 Bytes
bb22054
 
 
 
 
176ce7a
bb22054
176ce7a
 
bb22054
 
 
9d81b14
 
bb22054
 
 
9d81b14
 
bb22054
9d81b14
87f3440
72b5c46
 
 
 
 
 
 
d552443
72b5c46
d552443
72b5c46
 
 
d552443
72b5c46
d552443
72b5c46
 
d552443
 
72b5c46
 
f302f54
72b5c46
 
d552443
72b5c46
 
 
 
 
d552443
 
 
 
 
 
 
 
 
 
 
72b5c46
 
f302f54
72b5c46
f302f54
d552443
72b5c46
d552443
72b5c46
 
d552443
 
 
 
 
 
 
 
 
 
 
 
1cdc548
d552443
f302f54
1cdc548
f302f54
d552443
1cdc548
d552443
72b5c46
1cdc548
72b5c46
d552443
 
 
 
 
 
 
 
 
 
 
72b5c46
 
f302f54
72b5c46
f302f54
d552443
72b5c46
d552443
72b5c46
 
 
d552443
72b5c46
d552443
72b5c46
d552443
 
 
72b5c46
 
f302f54
72b5c46
 
d552443
72b5c46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bb22054
 
 
 
 
87f3440
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bb22054
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ce594da
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
---
annotations_creators:
- machine-generated
language_creators:
- found
language:
- en
license:
- gfdl
multilinguality:
- monolingual
size_categories:
- 100K<n<1M
- n<1K
source_datasets:
- original
task_categories:
- other
- question-answering
task_ids:
- multiple-choice-qa
paperswithcode_id: cbt
pretty_name: Children’s Book Test (CBT)
config_names:
- CN
- NE
- P
- V
- raw
dataset_info:
- config_name: CN
  features:
  - name: sentences
    sequence: string
  - name: question
    dtype: string
  - name: answer
    dtype: string
  - name: options
    sequence: string
  splits:
  - name: train
    num_bytes: 301730151
    num_examples: 120769
  - name: test
    num_bytes: 6138376
    num_examples: 2500
  - name: validation
    num_bytes: 4737257
    num_examples: 2000
  download_size: 31615166
  dataset_size: 312605784
- config_name: NE
  features:
  - name: sentences
    sequence: string
  - name: question
    dtype: string
  - name: answer
    dtype: string
  - name: options
    sequence: string
  splits:
  - name: train
    num_bytes: 253551931
    num_examples: 108719
  - name: test
    num_bytes: 5707734
    num_examples: 2500
  - name: validation
    num_bytes: 4424316
    num_examples: 2000
  download_size: 29693075
  dataset_size: 263683981
- config_name: P
  features:
  - name: sentences
    sequence: string
  - name: question
    dtype: string
  - name: answer
    dtype: string
  - name: options
    sequence: string
  splits:
  - name: train
    num_bytes: 852852601
    num_examples: 334030
  - name: test
    num_bytes: 6078048
    num_examples: 2500
  - name: validation
    num_bytes: 4776981
    num_examples: 2000
  download_size: 43825356
  dataset_size: 863707630
- config_name: V
  features:
  - name: sentences
    sequence: string
  - name: question
    dtype: string
  - name: answer
    dtype: string
  - name: options
    sequence: string
  splits:
  - name: train
    num_bytes: 252177649
    num_examples: 105825
  - name: test
    num_bytes: 5806625
    num_examples: 2500
  - name: validation
    num_bytes: 4556425
    num_examples: 2000
  download_size: 29992082
  dataset_size: 262540699
- config_name: raw
  features:
  - name: title
    dtype: string
  - name: content
    dtype: string
  splits:
  - name: train
    num_bytes: 25741580
    num_examples: 98
  - name: test
    num_bytes: 1528704
    num_examples: 5
  - name: validation
    num_bytes: 1182657
    num_examples: 5
  download_size: 16350790
  dataset_size: 28452941
configs:
- config_name: CN
  data_files:
  - split: train
    path: CN/train-*
  - split: test
    path: CN/test-*
  - split: validation
    path: CN/validation-*
- config_name: NE
  data_files:
  - split: train
    path: NE/train-*
  - split: test
    path: NE/test-*
  - split: validation
    path: NE/validation-*
- config_name: P
  data_files:
  - split: train
    path: P/train-*
  - split: test
    path: P/test-*
  - split: validation
    path: P/validation-*
- config_name: V
  data_files:
  - split: train
    path: V/train-*
  - split: test
    path: V/test-*
  - split: validation
    path: V/validation-*
- config_name: raw
  data_files:
  - split: train
    path: raw/train-*
  - split: test
    path: raw/test-*
  - split: validation
    path: raw/validation-*
---

# Dataset Card for CBT

## Table of Contents
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
  - [Data Fields](#data-fields)
  - [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
  - [Curation Rationale](#curation-rationale)
  - [Source Data](#source-data)
  - [Annotations](#annotations)
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
  - [Social Impact of Dataset](#social-impact-of-dataset)
  - [Discussion of Biases](#discussion-of-biases)
  - [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
  - [Dataset Curators](#dataset-curators)
  - [Licensing Information](#licensing-information)
  - [Citation Information](#citation-information)
  - [Contributions](#contributions)

## Dataset Description

- **Homepage:**[The bAbI project](https://research.fb.com/downloads/babi/)
- **Repository:**
- **Paper:** [arXiv Paper](https://arxiv.org/pdf/1511.02301.pdf)
- **Leaderboard:**
- **Point of Contact:** [Felix Hill](mailto:felix.hill@cl.cam.ac.uk) or [Antoine Bordes](mailto:abordes@fb.com).

### Dataset Summary

The Children’s Book Test (CBT) is designed to measure directly how well language models can exploit wider linguistic context. The CBT is built from books that are freely available.

This dataset contains four different configurations:

- `V`: where the answers to the questions are verbs.
- `P`: where the answers to the questions are pronouns.
- `NE`: where the answers to the questions are named entities.
- `CN`: where the answers to the questions are common nouns.

### Supported Tasks and Leaderboards

[More Information Needed]

### Languages

The data is present in English language as written by authors Lucy Maud Montgomery, Charles Dickens,Andrew Lang, etc. in story books for children.

## Dataset Structure

### Data Instances

An instance from the `V` config:
```
{'answer': 'said', 'options': ['christening', 'existed', 'hear', 'knows', 'read', 'remarked', 'said', 'sitting', 'talking', 'wearing'], 'question': "`` They are very kind old ladies in their way , '' XXXXX the king ; `` and were nice to me when I was a boy . ''", 'sentences': ['This vexed the king even more than the queen , who was very clever and learned , and who had hated dolls when she was a child .', 'However , she , too in spite of all the books she read and all the pictures she painted , would have been glad enough to be the mother of a little prince .', 'The king was anxious to consult the fairies , but the queen would not hear of such a thing .', 'She did not believe in fairies : she said that they had never existed ; and that she maintained , though The History of the Royal Family was full of chapters about nothing else .', 'Well , at long and at last they had a little boy , who was generally regarded as the finest baby that had ever been seen .', 'Even her majesty herself remarked that , though she could never believe all the courtiers told her , yet he certainly was a fine child -- a very fine child .', 'Now , the time drew near for the christening party , and the king and queen were sitting at breakfast in their summer parlour talking over it .', 'It was a splendid room , hung with portraits of the royal ancestors .', 'There was Cinderella , the grandmother of the reigning monarch , with her little foot in her glass slipper thrust out before her .', 'There was the Marquis de Carabas , who , as everyone knows , was raised to the throne as prince consort after his marriage with the daughter of the king of the period .', 'On the arm of the throne was seated his celebrated cat , wearing boots .', 'There , too , was a portrait of a beautiful lady , sound asleep : this was Madame La Belle au Bois-dormant , also an ancestress of the royal family .', 'Many other pictures of celebrated persons were hanging on the walls .', "`` You have asked all the right people , my dear ? ''", 'said the king .', "`` Everyone who should be asked , '' answered the queen .", "`` People are so touchy on these occasions , '' said his majesty .", "`` You have not forgotten any of our aunts ? ''", "`` No ; the old cats ! ''", "replied the queen ; for the king 's aunts were old-fashioned , and did not approve of her , and she knew it ."]}
```


### Data Fields

For the `raw` config, the data fields are:
- `title`: a `string` feature containing the title of the book present in the dataset.
- `content`: a `string` feature containing the content of the book present in the dataset.

For all other configs, the data fields are:
- `sentences`: a `list` of `string` features containing 20 sentences from a book.
- `question`: a `string` feature containing a question with blank marked as `XXXX` which is to be filled with one of the options.
- `answer`: a `string` feature containing the answer.
- `options`: a `list` of `string` features containing the options for the question.


### Data Splits

The splits and corresponding sizes are:

|   |train  |test |validation|
|:--|------:|----:|---------:|
|raw|98     |5    |5         |
|V  |105825 |2500 |2000      |
|P  |334030 |2500 |2000      |
|CN |120769 |2500 |2000      |
|NE |108719 |2500 |2000      |

## Dataset Creation

### Curation Rationale

[More Information Needed]

### Source Data

#### Initial Data Collection and Normalization

[More Information Needed]

#### Who are the source language producers?

Children's Book Authors

### Annotations

#### Annotation process

From the [homepage](https://research.fb.com/downloads/babi/):

>After allocating books to either training, validation or test sets, we formed example ‘questions’ from chapters in the book by enumerating 21 consecutive sentences. In each question, the first 20 sentences form the context, and a word is removed from the 21st sentence, which becomes the query. Models must identify the answer word among a selection of 10 candidate answers appearing in the context sentences and the query. For finer-grained analyses, we evaluated four classes of question by removing distinct types of word: Named Entities, (Common) Nouns, Verbs and Prepositions.

#### Who are the annotators?

[More Information Needed]

### Personal and Sensitive Information

[More Information Needed]

## Considerations for Using the Data

### Social Impact of Dataset

[More Information Needed]

### Discussion of Biases

[More Information Needed]

### Other Known Limitations

[More Information Needed]

## Additional Information

### Dataset Curators

[More Information Needed]

### Licensing Information

```
GNU Free Documentation License v1.3
```
### Citation Information

```
@misc{hill2016goldilocks,
      title={The Goldilocks Principle: Reading Children's Books with Explicit Memory Representations}, 
      author={Felix Hill and Antoine Bordes and Sumit Chopra and Jason Weston},
      year={2016},
      eprint={1511.02301},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}
```


### Contributions

Thanks to [@gchhablani](https://github.com/gchhablani) for adding this dataset.