File size: 1,997 Bytes
24cae28
6695136
 
 
24cae28
 
 
 
 
 
 
 
 
 
 
 
00c8842
 
ca7349f
3a2a1a9
ca7349f
 
 
 
5db02e3
 
3ae6ffe
3a2a1a9
3ae6ffe
3a2a1a9
3ae6ffe
3a2a1a9
6fb3fb7
 
 
 
 
 
 
 
24cae28
 
6fb3fb7
77d69da
24cae28
6fb3fb7
77d69da
24cae28
6fb3fb7
77d69da
6fb3fb7
 
24cae28
 
 
 
 
 
 
 
 
 
6695136
1c07fd1
 
6695136
 
 
 
 
 
 
1c07fd1
 
d43fa5f
1c07fd1
d43fa5f
 
 
 
 
 
 
 
1c07fd1
6695136
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
license: cc-by-sa-4.0
task_categories:
- text-generation
dataset_info:
  features:
  - name: db_id
    dtype: string
  - name: question
    dtype: string
  - name: evidence
    dtype: string
  - name: SQL
    dtype: string
  - name: difficulty
    dtype: string
  - name: question_id
    dtype: int64
  - name: sql_constructs
    list: string
  - name: sql_complexity
    dtype: int64
  - name: sql_complexity_buckets
    dtype: string
  - 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: schema
    struct:
    - name: schema
      dtype: string
  - name: schema_no_exp
    struct:
    - name: schema
      dtype: string
  splits:
  - name: train
    num_bytes: 125258621
    num_examples: 9074
  - name: dev
    num_bytes: 18084535
    num_examples: 1528
  - name: minidev
    num_bytes: 6033291
    num_examples: 495
  download_size: 2000452
  dataset_size: 149376447
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 was introduced in the paper [Think2SQL: Reinforce LLM Reasoning Capabilities for Text2SQL](https://huggingface.co/papers/2504.15077).

It has been used to train the reasoning Text2SQL model [simone-papicchio/Think2SQL-7B](https://huggingface.co/simone-papicchio/Think2SQL-7B).

Please refer to the paper for further details. 

**License:** CC BY-SA 4.0

# Citation

```bibtex
@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}, 
}
```