--- license: mit language: - en - zh tags: - sql - text2sql size_categories: - 100K Python ```python from datasets import load_dataset dataset = load_dataset("OneGate/OGText2SQL") ``` > API ```shell curl -X GET \ "/static-proxy?url=https%3A%2F%2Fdatasets-server.huggingface.co%2Frows%3Fdataset%3DOneGate%252FOGText2SQL%26config%3Ddefault%26split%3Dtrain%26offset%3D0%26length%3D100" ``` # Dataset Structure ## Data Instances Each data instance in this dataset represents a text-to-SQL entry where the instruction has been formatted with the table schema and question. The output is the SQL in SQlite dialect. ## Data Fields - `context`: the instruction to generate SQL. - `question`: the human input. - `SQL`: the generated SQL query. - `source`: the source dataset of the sample. ## Languages The language of the data is mainly English, with other languages.