| Kind | dataset | dataset |
|---|
| Published | 2024 | — |
|---|
| License | apache-2.0 | other |
|---|
| License family | Permissive | Other |
|---|
| Access | free | free |
|---|
| Language codes | en | en |
|---|
| Modalities | text | text |
|---|
| Size | 100K to 1M rows | 100K to 1M rows |
|---|
| Downloads (last month) | 2,927 | 32,215 |
|---|
| Likes | 703 | 465 |
|---|
| Last updated | 2025-12-16 | 2024-08-08 |
|---|
| Tasks | question-answering, table-question-answering, text-generation | text-classification |
|---|
| Formats | parquet | 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. | Hub/datasets-server: unsplit train 416,809 / 2 columns / 26,888,538 bytes parquet (~26.9 MB) / in-memory 47,139,430 (~47.1 MB); split train 16,000 + validation 2,000 + test 2,000 = 20,000 / parquet 1,287,193 (~1.29 MB) / in-memory 2,223,504 (~2.22 MB). datasets-server concat-across-2-configs 436,809 — do not concat; split is the 20k benchmark vs unsplit the full distant-supervision dump. usedStorage 462,785,045 bytes (~462.8 MB) vs on-disk parquet 28,175,731 (~28.2 MB) — catalog both (likely LFS history). YAML size_categories 10K<n<100K vs tags 100K<n<1M — catalog Hub unsplit 416,809, not YAML 10K. siblings 6 (README + gitattributes + 4 parquet). Hub overview 833.9K downloads / 454 likes at check; API downloads 17,100. gated=false; private=false. Card stale “downloaded 16.13 MB / generated 47.62 MB / disk 63.75 MB” vs current parquet ~28.2 MB — catalog Hub parquet. |
|---|
| 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. | Parquet under split/ (train/validation/test one file each) and unsplit/train-00000-of-00001.parquet. Columns: text (string), label (ClassLabel sadness/joy/love/anger/fear/surprise). Two YAML configs: split (default) and unsplit. Hub loading script replaced by parquet. |
|---|
| Type | Synthetic text-to-SQL instruction corpus / code SFT | Annotated tweet-classification corpus / text + 6-way ClassLabel |
|---|
| Cost | Free | Free |
|---|
| Languages | English 100% (card language:en) plus SQL. No LID table. Preview prompts/explanations in English; sql_context is SQL DDL/DML. | English 100% (card language:en / monolingual). Preview tweets are lowercased English. Per-language percents N/A. Not independently LID-ed here. |
|---|
| Modality | Text-only (English NL + SQL). | Text-only tweets + integer labels. Hub modality:text. No media URLs as extra n. |
|---|
| Domain | text-to-SQL; synthetic code; 100 industry verticals; analytics/reporting, DDL, retrieval, DML | Twitter; emotion classification; affect / CARER; English social-media text |
|---|
| 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. | Paper EMNLP 2018 (Oct–Nov 2018; ACL D18-1404). Source tweets from Twitter hashtag distant supervision (exact crawl window Unknown from the Hub card). HF createdAt 2022-03-02T23:29:22Z; lastModified 2024-08-08T06:10:47Z. Frozen parquet conversion of the original datasets-library script, not a live Twitter crawl. |
|---|
| Purpose | Train and eval models that map English prompts plus CREATE/INSERT context to SQL, with complexity tags and natural-language explanations | Ungated English CARER emotion-tweet dump (6 ClassLabels) for emotion-classification finetune and Hub train-eval-index eval |
|---|
| 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. | Saravia et al. CARER (EMNLP 2018). Hub train-eval-index accuracy / F1 / precision / recall. Common HF tutorial split. Hub overview 833.9K downloads / 454 likes at check; API downloads 17,100. Distinct from already-cataloged TweetEval emotion (SemEval-2018 Task 1, not this CARER 416k). Do not concat TweetEval as extra n. |
|---|
| 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. | Twitter users (human tweets). Labels from hashtag distant supervision (card annotations_creators: machine-generated). Paper authors Elvis Saravia, Hsien-Chi Toby Liu, Yen-Hao Huang, Junlin Wu, Yi-Shin Chen. Hub packager dair-ai; datasets-library contributors lhoestq / thomwolf / lewtun. Unique-author histogram Unknown (no user ids on Hub). |
|---|
| 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. | Twitter public-API era; English; joy-heavy (unsplit joy 141,067 / sadness 121,187 / anger 57,317 / fear 47,712 / love 34,554 / surprise 14,972 of 416,809). Distant-supervision hashtag priors (users who hashtag emotions ≠ general Twitter). Distinct from already-cataloged TweetEval emotion — possible topical overlap of Twitter affect; do not add those n. |
|---|
| 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. | Hashtag-stripped lowercased tweets. Independently inspected split/train 0–4: coherent English tweets (didnt feel humiliated / hopeless-to-hopeful / greedy wrong / nostalgic fireplace / grouchy) with labels sadness/sadness/anger/love/anger matching the classic CARER 20k examples. Residual: unsplit text max 830 chars (above historical 140/280); card Languages/PII/biases “More Information Needed”; annotations_creators machine-generated so labels are hashtag-derived not expert. Not independently re-pulled from Twitter/X here (API now closed). |
|---|
| 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). | Do not concat the 2 configs as extra unique n beyond unsplit 416,809. split 16,000/2,000/2,000. unsplit single train 416,809. split/train label mix joy 5,362 / sadness 4,666 / anger 2,159 / fear 1,937 / love 1,304 / surprise 572 of 16,000. Do not add TweetEval emotion as extra n of this card. |
|---|
| Long context | No (short CREATE/INSERT context plus one query; not long documents). | No (tweets). datasets-server split/train text chars mean 96.8 / median 86 / min 7 / max 300; unsplit mean 97.0 / median 86 / min 2 / max 830. Exact token histogram Unknown without aggregating. |
|---|
| 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. | Yes (Twitter hashtag distant supervision; drop hashtags; 20k train/val/test split vs full 416k). Exact hashtag inventory and subsample recipe Unknown from the Hub card (see Saravia et al. EMNLP 2018). Independent of X Corp except as the original tweet source. |
|---|
| Idea quality | High | High |
|---|
| Novelty | Medium (large public synthetic SQL dump with tagged complexity; Spider/sql-create-context already existed) | High (canonical public CARER Emotion dump vs already-cataloged TweetEval SemEval emotion; remaining dump leftover) |
|---|
| Text conversion | Ready parquet; load_dataset('gretelai/synthetic_text_to_sql'). ~34.3 MB download. | Ready parquet; load_dataset('dair-ai/emotion') for the 20k default split or load_dataset('dair-ai/emotion', 'unsplit'). ~1.29 MB split / ~26.9 MB unsplit. Viewer works. Do not concat split+unsplit as extra unique tweets. Do not concat TweetEval as extra n. |
|---|
| Collection method | Download | Download |
|---|
| Static | Unknown (HF lastModified 2025-12-16; synthetic one-shot dump, not a live generator). | Unknown (HF lastModified 2024-08-08; frozen CARER dump, not a live crawl). |
|---|
| Processed | Unknown | Unknown |
|---|
| Summary | designed and generated using [Gretel Navigator](https://gretel.ai/gretel-navigator), and released under Apache 2.0. | Emotion is a dataset of English Twitter messages with six basic emotions: anger, fear, joy, love, sadness, and surprise. For more detailed information please refer to the paper. |
|---|