Downloads · 30 days
36
7% of all-time downloads
alwint3r/TinyLlama-1.1B-Chat-v0.1-sql-create-context-mlx
TinyLlama-1.1B-Chat-v0.1-sql-create-context-mlx is a text generation model from alwint3r. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This model was fine-tuned to generate SQL queries from natural language questions given the context of a table DDL.
Downloads · 30 days
36
7% of all-time downloads
All-time downloads
501
Public
Parameters
1.1B
2.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors2.2 GB · 100%
From the Hugging Face model README
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.
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 15
Example response:
### Assistant: SELECT gdp_world_rank FROM table_2249029_1 WHERE asian_rank = "15"