File size: 1,106 Bytes
4c0501e ce101c9 9a1071e 4c0501e ce101c9 |
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
---
license: apache-2.0
datasets:
- b-mc2/sql-create-context
tags:
- finetuned
language:
- en
widget:
- text: >
<|system|>
You are a chatbot who can help code!</s>
<|user|>
Write me a function to calculate the first 10 digits of the fibonacci
sequence in Python and print it out to the CLI.</s>
<|assistant|>
---
# 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](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0).
See the sql-create-context dataset [here](https://huggingface.co/datasets/b-mc2/sql-create-context).
## 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|>
```
|