alwint3r/TinyLlama-1.1B-Chat-v0.1-sql-create-context-mlx
131
TinyLlama-1.1B-Chat-v0.1 Fine-tuned on sql-create-context Data
This model was fine-tuned to generate SQL queries from natural language questions given the context of a table DDL.
See original models here.
See the sql-create-context dataset here.
Usage
Example prompt:
### SQL Table Context: CREATE TABLE table_2249029_1 (gdp_world_rank VARCHAR, asian_rank VARCHAR)
### Human: Name the gdp world rank for asian rank being 15Example response:
### Assistant: SELECT gdp_world_rank FROM table_2249029_1 WHERE asian_rank = "15"