alwint3r commited on
Commit
ce101c9
·
1 Parent(s): 98f82c8

Modify README.md

Browse files
Files changed (1) hide show
  1. README.md +28 -0
README.md CHANGED
@@ -1,3 +1,31 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ datasets:
4
+ - b-mc2/sql-create-context
5
+ tags:
6
+ - finetuned
7
  ---
8
+
9
+ # TinyLlama-1.1B-Chat-v1.0 Fine-tuned on sql-create-context Data
10
+
11
+ This model was fine-tuned to generate SQL queries from natural language questions given
12
+ the context of a table DDL.
13
+
14
+ See original models [here](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0).
15
+
16
+ See the sql-create-context dataset [here](https://huggingface.co/datasets/b-mc2/sql-create-context).
17
+
18
+ ## Usage
19
+
20
+ Given the following prompt:
21
+
22
+ ```
23
+ <|system|>
24
+ You are a chatbot who can help code and translate natural language to SQL queries.</s>
25
+ <|user|>
26
+ SQL Table Context:
27
+ CREATE TABLE table_name_2 (wins INTEGER, losses VARCHAR, ties VARCHAR, goals_against VARCHAR)
28
+
29
+ What is the total wins with less than 2 ties, 18 goals, and less than 2 losses?</s>
30
+ <|assistant|>
31
+ ```