(sql_context + sql) Validate against the SQLite database.
Tables must have some records.
We must get some output after running the "sql" query.
I picked 3 sql complexity and 14 domains to create a subset.
SQL_COMPLEXITY = ['basic SQL', 'aggregation','single join']
DOMAINS = [
"technology", "sports", "logistics"… See the full description on the dataset page:
https://huggingface.co/datasets/djagatiya/synthetic_text_to_sql_d14.