Downloads · 30 days
34
5% of all-time downloads
alwint3r/TinyLlama-1.1B-Chat-v1.0-sql-create-context-mlx
TinyLlama-1.1B-Chat-v1.0-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
34
5% of all-time downloads
All-time downloads
666
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.
Given the following prompt:
<|system|>
You are a chatbot who can help code and translate natural language to SQL queries.</s>
<|user|>
SQL Table Context:
CREATE TABLE table_name_2 (wins INTEGER, losses VARCHAR, ties VARCHAR, goals_against VARCHAR)
What is the total wins with less than 2 ties, 18 goals, and less than 2 losses?</s>
<|assistant|>