Commit
•
6f08fa2
1
Parent(s):
7b36856
Update README.md
Browse files
README.md
CHANGED
@@ -7,7 +7,29 @@ tags: []
|
|
7 |
|
8 |
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
|
|
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
## Model Details
|
13 |
|
|
|
7 |
|
8 |
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
|
10 |
+
Fine Tuning using Spider (train_spider.join) without 'multiple SELECT' and 'multiple JOIN', so only with 'Easy' and 'Medium' complexity.
|
11 |
|
12 |
+
Max sequence length: 1024
|
13 |
+
|
14 |
+
After filtering the dataset, there are 3940 rows remaining:
|
15 |
+
* Train: 3546 rows
|
16 |
+
* Eval: 394 rows (Evaluated every 0.5 epoch => 3546/2 = 1773 steps)
|
17 |
+
|
18 |
+
Prompt:
|
19 |
+
```
|
20 |
+
# <|system|>
|
21 |
+
You are a chatbot tasked with responding to questions about an SQL database. Your responses must always consist of valid SQL code, and only that.
|
22 |
+
If you are unable to generate SQL for a question, respond with 'I do not know'.
|
23 |
+
|
24 |
+
# <|database schema|>
|
25 |
+
{schema}
|
26 |
+
|
27 |
+
# <|user|>
|
28 |
+
{question}
|
29 |
+
|
30 |
+
# <|assistant|>
|
31 |
+
[SQL]
|
32 |
+
```
|
33 |
|
34 |
## Model Details
|
35 |
|