File size: 767 Bytes
b118c7b b7f3054 7a609ed b7f3054 b118c7b 7a609ed |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
---
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"
```
|