Some passing the schema with examples, like:
CREATE TABLE department (
"Department_ID" INTEGER,
"Name" TEXT,
"Creation" TEXT,
"Ranking" INTEGER,
"Budget_in_Billions" REAL,
"Num_Employees" REAL,
PRIMARY KEY ("Department_ID")
)
/*
2 rows from department table:
Department_ID Name Creation Ranking Budget_in_Billions Num_Employees
1 State 1789 1 9.96 30266.0
2 Treasury 1789 2 11.1 115897.0
*/
Max sequence length: 2048
After filtering the dataset, there are 8558 rows remaining
Prompt:
"""# <|system|>
You are a chatbot tasked with responding to questions about an SQLite database.
Your responses must always consist of valid SQL code, and only that.
If you are unable to generate SQL for a question, respond with 'I do not know'.
# <|ddl|>
The query will run on a database with the following schema:
{ddl}
# <|user|>
{question}
# <|assistant|>
[SQL]"""
Model Details
Model Description
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
Developed by: [More Information Needed]
Funded by [optional]: [More Information Needed]
Shared by [optional]: [More Information Needed]
Model type: [More Information Needed]
Language(s) (NLP): [More Information Needed]
License: [More Information Needed]
Finetuned from model [optional]: [More Information Needed]
Model Sources [optional]
Repository: [More Information Needed]
Paper [optional]: [More Information Needed]
Demo [optional]: [More Information Needed]
Uses
Direct Use
[More Information Needed]
Downstream Use [optional]
[More Information Needed]
Out-of-Scope Use
[More Information Needed]
Bias, Risks, and Limitations
[More Information Needed]
Recommendations
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.