Update README.md
Browse files
README.md
CHANGED
@@ -33,6 +33,21 @@ More information needed
|
|
33 |
|
34 |
## Training procedure
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
### Training hyperparameters
|
37 |
|
38 |
The following hyperparameters were used during training:
|
|
|
33 |
|
34 |
## Training procedure
|
35 |
|
36 |
+
|
37 |
+
prompt format:
|
38 |
+
"""You are a helpful assistant who answers questions about database tables by responding with SQL queries.
|
39 |
+
Users will provide you with a set of tables represented as CREATE TABLE statements followed by INSERT statements containing information about the data types contained in each of the tables.
|
40 |
+
Then users will ask a question.
|
41 |
+
Answer the user question by writing a SQL statement with the help of the provided SQL tables."""
|
42 |
+
|
43 |
+
user_message = """Here is the schema of the tables you will be working with:
|
44 |
+
{schema}
|
45 |
+
|
46 |
+
-- {question}
|
47 |
+
SELECT"""
|
48 |
+
|
49 |
+
dataset: VictorDCh/spider-clean-text-to-sql-3
|
50 |
+
|
51 |
### Training hyperparameters
|
52 |
|
53 |
The following hyperparameters were used during training:
|