bird / README.md
simone-papicchio's picture
Upload dataset
13f6204 verified
metadata
dataset_info:
  features:
    - name: db_id
      dtype: string
    - name: question
      dtype: string
    - name: evidence
      dtype: string
    - name: SQL
      dtype: string
    - name: db_schema_T
      dtype: string
    - name: db_schema
      dtype: string
    - name: difficulty
      dtype: string
    - name: question_id
      dtype: int64
    - name: __index_level_0__
      dtype: int64
    - name: db_schema_TC
      dtype: string
    - name: sql_constructs
      list: string
    - name: sql_complexity
      dtype: int64
    - name: sql_complexity_buckets
      dtype: string
    - name: few_shots
      struct:
        - name: case_1
          list: int64
        - name: case_2
          list: int64
        - name: case_3
          list: int64
        - name: case_4
          list: int64
        - name: case_5
          list: int64
    - name: sqlglot_schema
      dtype: string
    - name: table_in_sql
      list: string
    - name: column_in_sql
      list: string
    - name: columns_used_to_join_in_sql
      list: string
    - name: db_schema_examples
      dtype: string
    - name: db_schema_T_examples
      dtype: string
  splits:
    - name: train
      num_bytes: 241991210
      num_examples: 9074
    - name: dev
      num_bytes: 29345764
      num_examples: 1528
    - name: minidev
      num_bytes: 9586377
      num_examples: 495
  download_size: 12593618
  dataset_size: 280923351
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
      - split: dev
        path: data/dev-*
      - split: minidev
        path: data/minidev-*

Dataset

This dataset is a polished version of the BIRD dataset. It has been used to train a reasoning Text2SQL model simone-papicchio/Think2SQL-7B

Please refer to the main paper for License (CC BY-SA 4.0) and details.

Citation

@misc{papicchio2025think2sqlreinforcellmreasoning,
      title={Think2SQL: Reinforce LLM Reasoning Capabilities for Text2SQL}, 
      author={Simone Papicchio and Simone Rossi and Luca Cagliero and Paolo Papotti},
      year={2025},
      eprint={2504.15077},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2504.15077}, 
}