spider-corpus / README.md
target-benchmark's picture
Upload dataset
052f1f7 verified
metadata
license: apache-2.0
dataset_info:
  features:
    - name: table
      sequence:
        sequence: string
    - name: database_id
      dtype: string
    - name: table_id
      dtype: string
    - name: context
      struct:
        - name: column_descriptions
          sequence: 'null'
        - name: column_names_cleaned
          sequence: string
        - name: column_types
          sequence: string
        - name: foreign_keys
          list:
            - name: column_name
              dtype: string
            - name: referenced_column_name
              dtype: string
            - name: referenced_table_name
              dtype: string
        - name: primary_key
          sequence: string
  splits:
    - name: test
      num_bytes: 179414
      num_examples: 180
    - name: train
      num_bytes: 1377017
      num_examples: 795
    - name: validation
      num_bytes: 159257
      num_examples: 81
  download_size: 736996
  dataset_size: 1715688
configs:
  - config_name: default
    data_files:
      - split: test
        path: data/test-*
      - split: train
        path: data/train-*
      - split: validation
        path: data/validation-*

Link to original dataset: https://yale-lily.github.io/spider

Yu, T., Zhang, R., Yang, K., Yasunaga, M., Wang, D., Li, Z., Ma, J., Li, I., Yao, Q., Roman, S. and Zhang, Z., 2018. Spider: A large-scale human-labeled dataset for complex and cross-domain semantic parsing and text-to-sql task. arXiv preprint arXiv:1809.08887.