| Kind | dataset | dataset |
|---|
| Published | 2025 | 2024 |
|---|
| License | apache-2.0 | apache-2.0 |
|---|
| License family | Permissive | Permissive |
|---|
| Access | free | free |
|---|
| Language codes | en | en |
|---|
| Modalities | image, text | text |
|---|
| Size | 1M to 10M rows | 100K to 1M rows |
|---|
| Downloads (last month) | 3,034 | 2,927 |
|---|
| Likes | 65 | 703 |
|---|
| Last updated | 2026-02-03 | 2025-12-16 |
|---|
| Tasks | visual-question-answering, question-answering, text-generation | question-answering, table-question-answering, text-generation |
|---|
| Formats | — | parquet |
|---|
| Scale | — | Card: 105,851 records (100,000 train / 5,851 test); ~23M total tokens including ~12M SQL tokens; 100 distinct domains. Hub viewer matches 100.0K train + 5.9K test. Two snappy parquet files: train 32.4 MB + test 1.9 MB (~34.3 MB download). size_categories 100K<n<1M. 11 columns. Hub 96.7K downloads / 688 likes at check. |
|---|
| Format | — | parquet (synthetic_text_to_sql_train.snappy.parquet / _test). Columns: id, domain, domain_description, sql_complexity, sql_complexity_description, sql_task_type, sql_task_type_description, sql_prompt, sql_context, sql, sql_explanation. |
|---|
| Type | — | Synthetic text-to-SQL instruction corpus / code SFT |
|---|
| Cost | — | Free |
|---|
| Languages | — | English 100% (card language:en) plus SQL. No LID table. Preview prompts/explanations in English; sql_context is SQL DDL/DML. |
|---|
| Modality | — | Text-only (English NL + SQL). |
|---|
| Domain | — | text-to-SQL; synthetic code; 100 industry verticals; analytics/reporting, DDL, retrieval, DML |
|---|
| Time period | — | Fully synthetic (Gretel Navigator). Card/blog April 2024 release. HF createdAt 2024-03-21; lastModified 2025-12-16 (card/files refresh; not a live crawl). arXiv tag 2306.05685 is the LLM-as-a-judge method paper, not a dataset paper. |
|---|
| Purpose | — | Train and eval models that map English prompts plus CREATE/INSERT context to SQL, with complexity tags and natural-language explanations |
|---|
| Used for | — | Public SQL SFT/eval (card: largest synthetic text-to-SQL at April 2024 release). Hub 96.7K downloads / 688 likes at check. Discord posted the HF URL. |
|---|
| Authors | — | Gretel (Meyer, Emadi, Nathawani, Ramaswamy, Boyd, Van Segbroeck, Grossman, Mlocek, Newberry). All rows generated by Gretel Navigator; no human SQL authors. LLM-as-a-judge quality scores used GPT-4 on a 1,000-row sample vs b-mc2/sql-create-context. |
|---|
| Bias | — | Synthetic schemas/prompts, not production warehouses. Card: 100 verticals (preview includes forestry, defense, public health). Complexity types include aggregation, single/multiple joins, subqueries, window functions, set operations — exact percents are figures on the card, not a table (Unknown). English-only NL. Tiny synthetic INSERT contexts, not multi-GB databases. |
|---|
| Text quality | — | Card: sqlglot + sqlvalidator parsability/validity checks on sql_context and sql. GPT-4 judge vs b-mc2/sql-create-context on 1k samples: +54.6% SQL-standards compliance, +34.5% SQL correctness, +8.5% instruction adherence (authors' numbers; not independently re-run). Preview SQL is short textbook-style. |
|---|
| Sample size | — | 100,000 train / 5,851 test. No extra configs. Complexity and task-type tags are columns, not splits. Domain count 100; per-domain counts Unknown (card figure only). |
|---|
| Long context | — | No (short CREATE/INSERT context plus one query; not long documents). |
|---|
| Intermediate steps | — | Yes (Gretel Navigator synthesis; sqlglot/sqlvalidator parse checks; GPT-4 LLM-as-a-judge sample). Rubric on the repo: llm_as_a_judge_rubric.txt. |
|---|
| Idea quality | — | High |
|---|
| Novelty | — | Medium (large public synthetic SQL dump with tagged complexity; Spider/sql-create-context already existed) |
|---|
| Text conversion | — | Ready parquet; load_dataset('gretelai/synthetic_text_to_sql'). ~34.3 MB download. |
|---|
| Collection method | — | Download |
|---|
| Static | — | Unknown (HF lastModified 2025-12-16; synthetic one-shot dump, not a live generator). |
|---|
| Processed | — | Unknown |
|---|
| Summary | [](https://arxiv.org/abs/2601.xxxxx) | designed and generated using [Gretel Navigator](https://gretel.ai/gretel-navigator), and released under Apache 2.0. |
|---|