|
--- |
|
license: apache-2.0 |
|
datasets: |
|
- b-mc2/sql-create-context |
|
tags: |
|
- finetuned |
|
--- |
|
|
|
# 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](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v0.1). |
|
|
|
See the sql-create-context dataset [here](https://huggingface.co/datasets/b-mc2/sql-create-context). |
|
|
|
## 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 15 |
|
``` |
|
|
|
Example response: |
|
|
|
``` |
|
### Assistant: SELECT gdp_world_rank FROM table_2249029_1 WHERE asian_rank = "15" |
|
``` |
|
|