babi_nli / README.md
sileod's picture
Upload README.md with huggingface_hub
732a86d verified
|
raw
history blame
4.64 kB
metadata
annotations_creators:
  - expert-generated
language_creators:
  - crowdsourced
language:
  - en
license: bsd
multilinguality:
  - monolingual
size_categories:
  - 1K<n<10K
source_datasets:
  - original
task_categories:
  - text-classification
task_ids:
  - natural-language-inference
pretty_name: babi_nli
tags:
  - logical reasoning
  - nli
  - natural-language-inference
  - reasoning
  - logic
dataset_info:
  - config_name: single-supporting-fact
    features:
      - name: premise
        dtype: string
      - name: hypothesis
        dtype: string
      - name: label
        dtype:
          class_label:
            names:
              '0': not-entailed
              '1': entailed
      - name: idx
        dtype: int32
    splits:
      - name: train
        num_bytes: 223761
        num_examples: 1000
      - name: validation
        num_bytes: 112784
        num_examples: 500
      - name: test
        num_bytes: 111569
        num_examples: 500
    download_size: 91968
    dataset_size: 448114
  - config_name: three-arg-relations
    features:
      - name: premise
        dtype: string
      - name: hypothesis
        dtype: string
      - name: label
        dtype:
          class_label:
            names:
              '0': not-entailed
              '1': entailed
      - name: idx
        dtype: int32
    splits:
      - name: train
        num_bytes: 598485
        num_examples: 1000
      - name: validation
        num_bytes: 312900
        num_examples: 500
      - name: test
        num_bytes: 324225
        num_examples: 500
    download_size: 243096
    dataset_size: 1235610
  - config_name: three-supporting-facts
    features:
      - name: premise
        dtype: string
      - name: hypothesis
        dtype: string
      - name: label
        dtype:
          class_label:
            names:
              '0': not-entailed
              '1': entailed
      - name: idx
        dtype: int32
    splits:
      - name: train
        num_bytes: 1479097
        num_examples: 1000
      - name: validation
        num_bytes: 783450
        num_examples: 500
      - name: test
        num_bytes: 735719
        num_examples: 500
    download_size: 558073
    dataset_size: 2998266
  - config_name: two-arg-relations
    features:
      - name: premise
        dtype: string
      - name: hypothesis
        dtype: string
      - name: label
        dtype:
          class_label:
            names:
              '0': not-entailed
              '1': entailed
      - name: idx
        dtype: int32
    splits:
      - name: train
        num_bytes: 122565
        num_examples: 1000
      - name: validation
        num_bytes: 61228
        num_examples: 500
      - name: test
        num_bytes: 61170
        num_examples: 500
    download_size: 54533
    dataset_size: 244963
  - config_name: two-supporting-facts
    features:
      - name: premise
        dtype: string
      - name: hypothesis
        dtype: string
      - name: label
        dtype:
          class_label:
            names:
              '0': not-entailed
              '1': entailed
      - name: idx
        dtype: int32
    splits:
      - name: train
        num_bytes: 507085
        num_examples: 1000
      - name: validation
        num_bytes: 261742
        num_examples: 500
      - name: test
        num_bytes: 244322
        num_examples: 500
    download_size: 194986
    dataset_size: 1013149
configs:
  - config_name: single-supporting-fact
    data_files:
      - split: train
        path: single-supporting-fact/train-*
      - split: validation
        path: single-supporting-fact/validation-*
      - split: test
        path: single-supporting-fact/test-*
  - config_name: three-arg-relations
    data_files:
      - split: train
        path: three-arg-relations/train-*
      - split: validation
        path: three-arg-relations/validation-*
      - split: test
        path: three-arg-relations/test-*
  - config_name: three-supporting-facts
    data_files:
      - split: train
        path: three-supporting-facts/train-*
      - split: validation
        path: three-supporting-facts/validation-*
      - split: test
        path: three-supporting-facts/test-*
  - config_name: two-arg-relations
    data_files:
      - split: train
        path: two-arg-relations/train-*
      - split: validation
        path: two-arg-relations/validation-*
      - split: test
        path: two-arg-relations/test-*
  - config_name: two-supporting-facts
    data_files:
      - split: train
        path: two-supporting-facts/train-*
      - split: validation
        path: two-supporting-facts/validation-*
      - split: test
        path: two-supporting-facts/test-*

bAbi_nli

bAbI tasks recasted as natural language inference. https://github.com/facebookarchive/bAbI-tasks

tasksource recasting code: https://colab.research.google.com/drive/1J_RqDSw9iPxJSBvCJu-VRbjXnrEjKVvr?usp=sharing

@article{weston2015towards,
  title={Towards ai-complete question answering: A set of prerequisite toy tasks},
  author={Weston, Jason and Bordes, Antoine and Chopra, Sumit and Rush, Alexander M and Van Merri{\"e}nboer, Bart and Joulin, Armand and Mikolov, Tomas},
  journal={arXiv preprint arXiv:1502.05698},
  year={2015}
}