Edit model card

TinyLlama-1.1B-Chat-v1.0 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

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|>
Downloads last month
5
Safetensors
Model size
1.1B params
Tensor type
FP16
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Dataset used to train alwint3r/TinyLlama-1.1B-Chat-v1.0-sql-create-context-mlx