rupal02/text2sql
收藏Hugging Face2026-04-08 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/rupal02/text2sql
下载链接
链接失效反馈官方服务:
资源简介:
---
license: apache-2.0
task_categories:
- text-to-sql
language:
- en
tags:
- text2sql
- sft
- fine-tuning
size_categories:
- 100K<n<1M
---
# Text2SQL SFT Dataset
This dataset is a combined and cleaned version of Spider, BIRD, and Gretel datasets, formatted specifically for Instruction Fine-Tuning of Small Language Models (SLMs).
## Dataset Structure
Each record contains:
- **instruction**: The task description.
- **input**: The Database Schema and the Natural Language Question.
- **output**: The canonicalized SQL query.
- **metadata**: A dictionary containing `dataset` source and `db_id`.
## Usage
```python
from datasets import load_dataset
dataset = load_dataset("anuj6316/text2sql")
```
提供机构:
rupal02



