cbt / README.md
albertvillanova's picture
Convert dataset to Parquet (#4)
72b5c46 verified
metadata
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 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:

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 for adding this dataset.