Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
Dask
License:
parquet-converter commited on
Commit
0f8d0c0
·
1 Parent(s): f302f54

Update parquet files

Browse files
CN/cbt-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:781a6f7dadce92add4613d65b91c6acbcf7859e2639287deb2ab9501f4dad1fd
3
+ size 2091182
CN/cbt-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29b40441d2bfc428886f6faa836b3b82e1dd168a103c8a79e89483f01a8da9b8
3
+ size 28170983
CN/cbt-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:026d4c97a783f76c45f17c67dde06564531a4ec9f5e6a69de7df91e144dca95c
3
+ size 1352998
NE/cbt-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6595e4054a546e994443740013f2d37e101626d54c6949ca95424b7ba7633ddf
3
+ size 2115861
NE/cbt-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:624c54ae8614d4f6ac7fd01edd5479e7e0d1c892c488006e250f4fe817020050
3
+ size 26239733
NE/cbt-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9636022c1d9005ef5ecca38aa3e796f8933c9d8636604696dac04402d965335
3
+ size 1337478
P/cbt-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24b9ea9e967d9e4fd3bd88f2dd44d6579a31619d42bd76b6804834e39118a794
3
+ size 2312382
P/cbt-train-00000-of-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9809db69db0ed993335a035024329e90df5b16c897be13a0d251aaf393499165
3
+ size 21543593
P/cbt-train-00001-of-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54cde475018284fb008dff07c508f56ad585964108726d4dedd9e69ed218c780
3
+ size 18531231
P/cbt-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6deae2053019edcc4b02b4a15f57c26ab64a9db7bdf469704945f7726fce3b72
3
+ size 1430215
README.md DELETED
@@ -1,300 +0,0 @@
1
- ---
2
- pretty_name: Children’s Book Test (CBT)
3
- annotations_creators:
4
- - machine-generated
5
- language_creators:
6
- - found
7
- language:
8
- - en
9
- license:
10
- - gfdl
11
- multilinguality:
12
- - monolingual
13
- size_categories:
14
- - 100K<n<1M
15
- - n<1K
16
- source_datasets:
17
- - original
18
- task_categories:
19
- - other
20
- - question-answering
21
- task_ids:
22
- - multiple-choice-qa
23
- paperswithcode_id: cbt
24
- configs:
25
- - CN
26
- - NE
27
- - P
28
- - V
29
- - raw
30
- dataset_info:
31
- - config_name: raw
32
- features:
33
- - name: title
34
- dtype: string
35
- - name: content
36
- dtype: string
37
- splits:
38
- - name: train
39
- num_bytes: 25741588
40
- num_examples: 98
41
- - name: test
42
- num_bytes: 1528712
43
- num_examples: 5
44
- - name: validation
45
- num_bytes: 1182665
46
- num_examples: 5
47
- download_size: 120547669
48
- dataset_size: 28452965
49
- - config_name: V
50
- features:
51
- - name: sentences
52
- sequence: string
53
- - name: question
54
- dtype: string
55
- - name: answer
56
- dtype: string
57
- - name: options
58
- sequence: string
59
- splits:
60
- - name: train
61
- num_bytes: 252177913
62
- num_examples: 105825
63
- - name: test
64
- num_bytes: 5806649
65
- num_examples: 2500
66
- - name: validation
67
- num_bytes: 4556449
68
- num_examples: 2000
69
- download_size: 120547669
70
- dataset_size: 262541011
71
- - config_name: P
72
- features:
73
- - name: sentences
74
- sequence: string
75
- - name: question
76
- dtype: string
77
- - name: answer
78
- dtype: string
79
- - name: options
80
- sequence: string
81
- splits:
82
- - name: train
83
- num_bytes: 852853417
84
- num_examples: 334030
85
- - name: test
86
- num_bytes: 6078072
87
- num_examples: 2500
88
- - name: validation
89
- num_bytes: 4777005
90
- num_examples: 2000
91
- download_size: 120547669
92
- dataset_size: 863708494
93
- - config_name: NE
94
- features:
95
- - name: sentences
96
- sequence: string
97
- - name: question
98
- dtype: string
99
- - name: answer
100
- dtype: string
101
- - name: options
102
- sequence: string
103
- splits:
104
- - name: train
105
- num_bytes: 253552195
106
- num_examples: 108719
107
- - name: test
108
- num_bytes: 5707758
109
- num_examples: 2500
110
- - name: validation
111
- num_bytes: 4424340
112
- num_examples: 2000
113
- download_size: 120547669
114
- dataset_size: 263684293
115
- - config_name: CN
116
- features:
117
- - name: sentences
118
- sequence: string
119
- - name: question
120
- dtype: string
121
- - name: answer
122
- dtype: string
123
- - name: options
124
- sequence: string
125
- splits:
126
- - name: train
127
- num_bytes: 301730463
128
- num_examples: 120769
129
- - name: test
130
- num_bytes: 6138400
131
- num_examples: 2500
132
- - name: validation
133
- num_bytes: 4737281
134
- num_examples: 2000
135
- download_size: 120547669
136
- dataset_size: 312606144
137
- ---
138
-
139
- # Dataset Card for CBT
140
-
141
- ## Table of Contents
142
- - [Dataset Description](#dataset-description)
143
- - [Dataset Summary](#dataset-summary)
144
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
145
- - [Languages](#languages)
146
- - [Dataset Structure](#dataset-structure)
147
- - [Data Instances](#data-instances)
148
- - [Data Fields](#data-fields)
149
- - [Data Splits](#data-splits)
150
- - [Dataset Creation](#dataset-creation)
151
- - [Curation Rationale](#curation-rationale)
152
- - [Source Data](#source-data)
153
- - [Annotations](#annotations)
154
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
155
- - [Considerations for Using the Data](#considerations-for-using-the-data)
156
- - [Social Impact of Dataset](#social-impact-of-dataset)
157
- - [Discussion of Biases](#discussion-of-biases)
158
- - [Other Known Limitations](#other-known-limitations)
159
- - [Additional Information](#additional-information)
160
- - [Dataset Curators](#dataset-curators)
161
- - [Licensing Information](#licensing-information)
162
- - [Citation Information](#citation-information)
163
- - [Contributions](#contributions)
164
-
165
- ## Dataset Description
166
-
167
- - **Homepage:**[The bAbI project](https://research.fb.com/downloads/babi/)
168
- - **Repository:**
169
- - **Paper:** [arXiv Paper](https://arxiv.org/pdf/1511.02301.pdf)
170
- - **Leaderboard:**
171
- - **Point of Contact:** [Felix Hill](mailto:felix.hill@cl.cam.ac.uk) or [Antoine Bordes](mailto:abordes@fb.com).
172
-
173
- ### Dataset Summary
174
-
175
- 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.
176
-
177
- This dataset contains four different configurations:
178
-
179
- - `V`: where the answers to the questions are verbs.
180
- - `P`: where the answers to the questions are pronouns.
181
- - `NE`: where the answers to the questions are named entities.
182
- - `CN`: where the answers to the questions are common nouns.
183
-
184
- ### Supported Tasks and Leaderboards
185
-
186
- [More Information Needed]
187
-
188
- ### Languages
189
-
190
- The data is present in English language as written by authors Lucy Maud Montgomery, Charles Dickens,Andrew Lang, etc. in story books for children.
191
-
192
- ## Dataset Structure
193
-
194
- ### Data Instances
195
-
196
- An instance from the `V` config:
197
- ```
198
- {'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 ."]}
199
- ```
200
-
201
-
202
- ### Data Fields
203
-
204
- For the `raw` config, the data fields are:
205
- - `title`: a `string` feature containing the title of the book present in the dataset.
206
- - `content`: a `string` feature containing the content of the book present in the dataset.
207
-
208
- For all other configs, the data fields are:
209
- - `sentences`: a `list` of `string` features containing 20 sentences from a book.
210
- - `question`: a `string` feature containing a question with blank marked as `XXXX` which is to be filled with one of the options.
211
- - `answer`: a `string` feature containing the answer.
212
- - `options`: a `list` of `string` features containing the options for the question.
213
-
214
-
215
- ### Data Splits
216
-
217
- The splits and corresponding sizes are:
218
-
219
- | |train |test |validation|
220
- |:--|------:|----:|---------:|
221
- |raw|98 |5 |5 |
222
- |V |105825 |2500 |2000 |
223
- |P |334030 |2500 |2000 |
224
- |CN |120769 |2500 |2000 |
225
- |NE |108719 |2500 |2000 |
226
-
227
- ## Dataset Creation
228
-
229
- ### Curation Rationale
230
-
231
- [More Information Needed]
232
-
233
- ### Source Data
234
-
235
- #### Initial Data Collection and Normalization
236
-
237
- [More Information Needed]
238
-
239
- #### Who are the source language producers?
240
-
241
- Children's Book Authors
242
-
243
- ### Annotations
244
-
245
- #### Annotation process
246
-
247
- From the [homepage](https://research.fb.com/downloads/babi/):
248
-
249
- >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.
250
-
251
- #### Who are the annotators?
252
-
253
- [More Information Needed]
254
-
255
- ### Personal and Sensitive Information
256
-
257
- [More Information Needed]
258
-
259
- ## Considerations for Using the Data
260
-
261
- ### Social Impact of Dataset
262
-
263
- [More Information Needed]
264
-
265
- ### Discussion of Biases
266
-
267
- [More Information Needed]
268
-
269
- ### Other Known Limitations
270
-
271
- [More Information Needed]
272
-
273
- ## Additional Information
274
-
275
- ### Dataset Curators
276
-
277
- [More Information Needed]
278
-
279
- ### Licensing Information
280
-
281
- ```
282
- GNU Free Documentation License v1.3
283
- ```
284
- ### Citation Information
285
-
286
- ```
287
- @misc{hill2016goldilocks,
288
- title={The Goldilocks Principle: Reading Children's Books with Explicit Memory Representations},
289
- author={Felix Hill and Antoine Bordes and Sumit Chopra and Jason Weston},
290
- year={2016},
291
- eprint={1511.02301},
292
- archivePrefix={arXiv},
293
- primaryClass={cs.CL}
294
- }
295
- ```
296
-
297
-
298
- ### Contributions
299
-
300
- Thanks to [@gchhablani](https://github.com/gchhablani) for adding this dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
V/cbt-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e61f266c104848c4d406c8f94874e84d41efebe8202329bffceb76905492cc54
3
+ size 2099625
V/cbt-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffa2145ca9fc4f931350a4c87a1c2e9275c496d436236457632bc5809d907e53
3
+ size 26506524
V/cbt-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6f0908e7bfe51ab71caef7f38f49c636e852c946dde5f0bb8bce7eaa2d487c2
3
+ size 1385930
cbt.py DELETED
@@ -1,206 +0,0 @@
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
- """Children's Book Test Dataset."""
16
-
17
-
18
- import datasets
19
-
20
-
21
- _CITATION = """\
22
- @misc{hill2016goldilocks,
23
- title={The Goldilocks Principle: Reading Children's Books with Explicit Memory Representations},
24
- author={Felix Hill and Antoine Bordes and Sumit Chopra and Jason Weston},
25
- year={2016},
26
- eprint={1511.02301},
27
- archivePrefix={arXiv},
28
- primaryClass={cs.CL}
29
- }
30
- """
31
-
32
-
33
- _DESCRIPTION = """\
34
- The Children’s Book Test (CBT) is designed to measure directly
35
- how well language models can exploit wider linguistic context.
36
- The CBT is built from books that are freely available.
37
- """
38
-
39
- _HOMEPAGE = "https://research.fb.com/downloads/babi/"
40
-
41
- _LICENSE = """GNU Free Documentation License v1.3"""
42
-
43
- ZIP_URL = "http://www.thespermwhale.com/jaseweston/babi/CBTest.tgz"
44
- dir = "CBTest/data/"
45
- paths = {
46
- "raw": {"train": dir + "cbt_train.txt", "valid": dir + "cbt_valid.txt", "test": dir + "cbt_test.txt"},
47
- "V": {
48
- "train": dir + "cbtest_V_train.txt",
49
- "valid": dir + "cbtest_V_valid_2000ex.txt",
50
- "test": dir + "cbtest_V_test_2500ex.txt",
51
- },
52
- "P": {
53
- "train": dir + "cbtest_P_train.txt",
54
- "valid": dir + "cbtest_P_valid_2000ex.txt",
55
- "test": dir + "cbtest_P_test_2500ex.txt",
56
- },
57
- "NE": {
58
- "train": dir + "cbtest_NE_train.txt",
59
- "valid": dir + "cbtest_NE_valid_2000ex.txt",
60
- "test": dir + "cbtest_NE_test_2500ex.txt",
61
- },
62
- "CN": {
63
- "train": dir + "cbtest_CN_train.txt",
64
- "valid": dir + "cbtest_CN_valid_2000ex.txt",
65
- "test": dir + "cbtest_CN_test_2500ex.txt",
66
- },
67
- }
68
-
69
-
70
- class Cbt(datasets.GeneratorBasedBuilder):
71
- """TODO: Short description of my dataset."""
72
-
73
- VERSION = datasets.Version("1.1.0")
74
-
75
- BUILDER_CONFIGS = [
76
- datasets.BuilderConfig(
77
- name="raw", version=VERSION, description="This part of my dataset covers the raw CBT books"
78
- ),
79
- datasets.BuilderConfig(
80
- name="V", version=VERSION, description="This part of my dataset covers the verb answer CBT dataset"
81
- ),
82
- datasets.BuilderConfig(
83
- name="P", version=VERSION, description="This part of my dataset covers the preposition answer CBT dataset"
84
- ),
85
- datasets.BuilderConfig(
86
- name="NE",
87
- version=VERSION,
88
- description="This part of my dataset covers the named entity answer CBT dataset",
89
- ),
90
- datasets.BuilderConfig(
91
- name="CN", version=VERSION, description="This part of my dataset covers the common noun answer CBT dataset"
92
- ),
93
- ]
94
-
95
- def _info(self):
96
- if self.config.name in ["V", "P", "NE", "CN"]:
97
- features = datasets.Features(
98
- {
99
- "sentences": datasets.Sequence(datasets.Value("string")), # There are 20 sentences
100
- "question": datasets.Value("string"),
101
- "answer": datasets.Value("string"),
102
- "options": datasets.Sequence(datasets.Value("string")),
103
- }
104
- )
105
- else: # This is an example to show how to have different features for "first_domain" and "second_domain"
106
- features = datasets.Features({"title": datasets.Value("string"), "content": datasets.Value("string")})
107
- return datasets.DatasetInfo(
108
- # This is the description that will appear on the datasets page.
109
- description=_DESCRIPTION,
110
- # This defines the different columns of the dataset and their types
111
- features=features, # Here we define them above because they are different between the two configurations
112
- # If there's a common (input, target) tuple from the features,
113
- # specify them here. They'll be used if as_supervised=True in
114
- # builder.as_dataset.
115
- supervised_keys=None,
116
- # Homepage of the dataset for documentation
117
- homepage=_HOMEPAGE,
118
- # License for the dataset if available
119
- license=_LICENSE,
120
- # Citation for the dataset
121
- citation=_CITATION,
122
- )
123
-
124
- def _split_generators(self, dl_manager):
125
- """Returns SplitGenerators."""
126
- my_urls = ZIP_URL # Cannot download just one single type as it is a compressed file.
127
- archive = dl_manager.download(my_urls)
128
- return [
129
- datasets.SplitGenerator(
130
- name=datasets.Split.TRAIN,
131
- # These kwargs will be passed to _generate_examples
132
- gen_kwargs={"filepath": paths[self.config.name]["train"], "files": dl_manager.iter_archive(archive)},
133
- ),
134
- datasets.SplitGenerator(
135
- name=datasets.Split.TEST,
136
- # These kwargs will be passed to _generate_examples
137
- gen_kwargs={"filepath": paths[self.config.name]["test"], "files": dl_manager.iter_archive(archive)},
138
- ),
139
- datasets.SplitGenerator(
140
- name=datasets.Split.VALIDATION,
141
- # These kwargs will be passed to _generate_examples
142
- gen_kwargs={"filepath": paths[self.config.name]["valid"], "files": dl_manager.iter_archive(archive)},
143
- ),
144
- ]
145
-
146
- def _generate_examples(self, filepath, files):
147
- """Yields examples as (key, example) tuples."""
148
- for path, f in files:
149
- if path == filepath:
150
- if self.config.name != "raw":
151
- sentences = []
152
- example_idx = 0
153
- for idx, line in enumerate(f):
154
- line = line.decode("utf-8")
155
- if line.strip() == "":
156
- continue
157
-
158
- elif line.split()[0] == "21":
159
- splitline = line.split("\t") # question, answer options are tab separated
160
- question = splitline[0]
161
- answer = splitline[1]
162
- options = splitline[-1]
163
- question = question[2:].strip() # The first two indices contain `21`.
164
- answer = answer.strip()
165
- options = options.strip().split("|")
166
- yield example_idx, {
167
- "sentences": sentences,
168
- "question": question,
169
- "options": options,
170
- "answer": answer,
171
- }
172
-
173
- sentences = []
174
- example_idx += 1
175
- else:
176
- if len(line.split()[0]) == 1:
177
- sentences.append(line[1:].strip())
178
- else:
179
- sentences.append(line[2:].strip())
180
- # Text might contain double spaces.
181
- else:
182
- book_idx = 0
183
- book_sentences = []
184
- for idx, line in enumerate(f):
185
- line = line.decode("utf-8")
186
- if line[:12] == "_BOOK_TITLE_":
187
- if idx == 0: # First line:
188
- title = line.split(":")[1].strip()
189
- else:
190
- yield book_idx, {
191
- "title": title,
192
- "content": "".join(book_sentences),
193
- }
194
- title = line.split(":")[1].strip()
195
- book_sentences = []
196
- book_idx += 1
197
- else:
198
- book_sentences.append(line)
199
- else:
200
- yield book_idx, {
201
- "title": title,
202
- "content": "".join(book_sentences),
203
- }
204
- book_sentences = []
205
- book_idx += 1
206
- break
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"raw": {"description": "The Children\u2019s Book Test (CBT) is designed to measure directly\nhow well language models can exploit wider linguistic context.\nThe CBT is built from books that are freely available.\n", "citation": "@misc{hill2016goldilocks,\n title={The Goldilocks Principle: Reading Children's Books with Explicit Memory Representations},\n author={Felix Hill and Antoine Bordes and Sumit Chopra and Jason Weston},\n year={2016},\n eprint={1511.02301},\n archivePrefix={arXiv},\n primaryClass={cs.CL}\n}\n", "homepage": "https://research.fb.com/downloads/babi/", "license": "GNU Free Documentation License v1.3", "features": {"title": {"dtype": "string", "id": null, "_type": "Value"}, "content": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "cbt", "config_name": "raw", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 25741588, "num_examples": 98, "dataset_name": "cbt"}, "test": {"name": "test", "num_bytes": 1528712, "num_examples": 5, "dataset_name": "cbt"}, "validation": {"name": "validation", "num_bytes": 1182665, "num_examples": 5, "dataset_name": "cbt"}}, "download_checksums": {"http://www.thespermwhale.com/jaseweston/babi/CBTest.tgz": {"num_bytes": 120547669, "checksum": "932df0cadc1337b2a12b4c696b1041c1d1c6d4b6bd319874c6288f02e4a61e92"}}, "download_size": 120547669, "post_processing_size": null, "dataset_size": 28452965, "size_in_bytes": 149000634}, "V": {"description": "The Children\u2019s Book Test (CBT) is designed to measure directly\nhow well language models can exploit wider linguistic context.\nThe CBT is built from books that are freely available.\n", "citation": "@misc{hill2016goldilocks,\n title={The Goldilocks Principle: Reading Children's Books with Explicit Memory Representations},\n author={Felix Hill and Antoine Bordes and Sumit Chopra and Jason Weston},\n year={2016},\n eprint={1511.02301},\n archivePrefix={arXiv},\n primaryClass={cs.CL}\n}\n", "homepage": "https://research.fb.com/downloads/babi/", "license": "GNU Free Documentation License v1.3", "features": {"sentences": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "question": {"dtype": "string", "id": null, "_type": "Value"}, "answer": {"dtype": "string", "id": null, "_type": "Value"}, "options": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "cbt", "config_name": "V", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 252177913, "num_examples": 105825, "dataset_name": "cbt"}, "test": {"name": "test", "num_bytes": 5806649, "num_examples": 2500, "dataset_name": "cbt"}, "validation": {"name": "validation", "num_bytes": 4556449, "num_examples": 2000, "dataset_name": "cbt"}}, "download_checksums": {"http://www.thespermwhale.com/jaseweston/babi/CBTest.tgz": {"num_bytes": 120547669, "checksum": "932df0cadc1337b2a12b4c696b1041c1d1c6d4b6bd319874c6288f02e4a61e92"}}, "download_size": 120547669, "post_processing_size": null, "dataset_size": 262541011, "size_in_bytes": 383088680}, "P": {"description": "The Children\u2019s Book Test (CBT) is designed to measure directly\nhow well language models can exploit wider linguistic context.\nThe CBT is built from books that are freely available.\n", "citation": "@misc{hill2016goldilocks,\n title={The Goldilocks Principle: Reading Children's Books with Explicit Memory Representations},\n author={Felix Hill and Antoine Bordes and Sumit Chopra and Jason Weston},\n year={2016},\n eprint={1511.02301},\n archivePrefix={arXiv},\n primaryClass={cs.CL}\n}\n", "homepage": "https://research.fb.com/downloads/babi/", "license": "GNU Free Documentation License v1.3", "features": {"sentences": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "question": {"dtype": "string", "id": null, "_type": "Value"}, "answer": {"dtype": "string", "id": null, "_type": "Value"}, "options": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "cbt", "config_name": "P", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 852853417, "num_examples": 334030, "dataset_name": "cbt"}, "test": {"name": "test", "num_bytes": 6078072, "num_examples": 2500, "dataset_name": "cbt"}, "validation": {"name": "validation", "num_bytes": 4777005, "num_examples": 2000, "dataset_name": "cbt"}}, "download_checksums": {"http://www.thespermwhale.com/jaseweston/babi/CBTest.tgz": {"num_bytes": 120547669, "checksum": "932df0cadc1337b2a12b4c696b1041c1d1c6d4b6bd319874c6288f02e4a61e92"}}, "download_size": 120547669, "post_processing_size": null, "dataset_size": 863708494, "size_in_bytes": 984256163}, "NE": {"description": "The Children\u2019s Book Test (CBT) is designed to measure directly\nhow well language models can exploit wider linguistic context.\nThe CBT is built from books that are freely available.\n", "citation": "@misc{hill2016goldilocks,\n title={The Goldilocks Principle: Reading Children's Books with Explicit Memory Representations},\n author={Felix Hill and Antoine Bordes and Sumit Chopra and Jason Weston},\n year={2016},\n eprint={1511.02301},\n archivePrefix={arXiv},\n primaryClass={cs.CL}\n}\n", "homepage": "https://research.fb.com/downloads/babi/", "license": "GNU Free Documentation License v1.3", "features": {"sentences": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "question": {"dtype": "string", "id": null, "_type": "Value"}, "answer": {"dtype": "string", "id": null, "_type": "Value"}, "options": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "cbt", "config_name": "NE", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 253552195, "num_examples": 108719, "dataset_name": "cbt"}, "test": {"name": "test", "num_bytes": 5707758, "num_examples": 2500, "dataset_name": "cbt"}, "validation": {"name": "validation", "num_bytes": 4424340, "num_examples": 2000, "dataset_name": "cbt"}}, "download_checksums": {"http://www.thespermwhale.com/jaseweston/babi/CBTest.tgz": {"num_bytes": 120547669, "checksum": "932df0cadc1337b2a12b4c696b1041c1d1c6d4b6bd319874c6288f02e4a61e92"}}, "download_size": 120547669, "post_processing_size": null, "dataset_size": 263684293, "size_in_bytes": 384231962}, "CN": {"description": "The Children\u2019s Book Test (CBT) is designed to measure directly\nhow well language models can exploit wider linguistic context.\nThe CBT is built from books that are freely available.\n", "citation": "@misc{hill2016goldilocks,\n title={The Goldilocks Principle: Reading Children's Books with Explicit Memory Representations},\n author={Felix Hill and Antoine Bordes and Sumit Chopra and Jason Weston},\n year={2016},\n eprint={1511.02301},\n archivePrefix={arXiv},\n primaryClass={cs.CL}\n}\n", "homepage": "https://research.fb.com/downloads/babi/", "license": "GNU Free Documentation License v1.3", "features": {"sentences": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "question": {"dtype": "string", "id": null, "_type": "Value"}, "answer": {"dtype": "string", "id": null, "_type": "Value"}, "options": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "cbt", "config_name": "CN", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 301730463, "num_examples": 120769, "dataset_name": "cbt"}, "test": {"name": "test", "num_bytes": 6138400, "num_examples": 2500, "dataset_name": "cbt"}, "validation": {"name": "validation", "num_bytes": 4737281, "num_examples": 2000, "dataset_name": "cbt"}}, "download_checksums": {"http://www.thespermwhale.com/jaseweston/babi/CBTest.tgz": {"num_bytes": 120547669, "checksum": "932df0cadc1337b2a12b4c696b1041c1d1c6d4b6bd319874c6288f02e4a61e92"}}, "download_size": 120547669, "post_processing_size": null, "dataset_size": 312606144, "size_in_bytes": 433153813}}
 
 
raw/cbt-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1f19e10a4cce02db54f5657fe3f0c2c1c391d9a4aad651f2a81eac025e3ec3f
3
+ size 854785
raw/cbt-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ad800d3c6d3347d700ee52a10b06058c3166c94e33c1e0b114ec77bd51cf7af
3
+ size 14834600
raw/cbt-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:259525abc55b257c2f8a4941ceff51622134c3f1bdfc8faa098585e66a17393d
3
+ size 661402