Upload config.json
Browse files- config.json +73 -16
config.json
CHANGED
@@ -1,17 +1,74 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
+
"model_name": "slim-sql-tool",
|
3 |
+
"model_ft_base": "slim-sql",
|
4 |
+
"quantization": "4Q_K_M GGUF",
|
5 |
+
"model_base": "llama",
|
6 |
+
"model_type": "llama",
|
7 |
+
"tokenizer": "llmware/slim-sql",
|
8 |
+
"parameters": "1.1 billion",
|
9 |
+
"description": "slim-sql is a text-to-sql model.",
|
10 |
+
"prompt_wrapper": "human_bot",
|
11 |
+
"prompt_format": "<human> {table_schema} \n {question} \n<bot>:",
|
12 |
+
"output_format": "{sql}",
|
13 |
+
"primary_keys": [],
|
14 |
+
"output_values": [],
|
15 |
+
"publisher": "llmware",
|
16 |
+
"release_date": "february 2024",
|
17 |
+
"test_set": [
|
18 |
+
{
|
19 |
+
"context": "CREATE TABLE customers (customer_name text, account_number integer,customer_level text, vip_customer text, annual_spend text, user_name text)",
|
20 |
+
"query": "Which customers are VIP customers?",
|
21 |
+
"answer": "SELECT * FROM customers WHERE vip_customer='yes'"
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"context": "CREATE TABLE customers (customer_name text, account_number integer,customer_level text, vip_customer text, annual_spend text, user_name text)",
|
25 |
+
"query": "What is the annual spend for customer Rachel Michaels?",
|
26 |
+
"answer": "SELECT annual_spend FROM customers WHERE customer_name='Rachel Michaels'"
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"context": "CREATE TABLE customers (customer_name text, account_number integer,customer_level text, vip_customer text, annual_spend text, user_name text)",
|
30 |
+
"query": "How many customers spend more than $1000 per year?",
|
31 |
+
"answer": "SELECT COUNT(*) FROM customers WHERE annual_spend > $1000"
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"context": "CREATE TABLE customers (customer_name text, account_number integer,customer_level text, vip_customer text, annual_spend text, user_name text)",
|
35 |
+
"query": "Who are the customers with gold customer level?",
|
36 |
+
"answer": "SELECT customer_name FROM customers WHERE customer_level = 'gold'"
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"context": "CREATE TABLE customers (customer_name text, account_number integer,customer_level text, vip_customer text, annual_spend text, user_name text)",
|
40 |
+
"query": "Which customer has account number 9382035?",
|
41 |
+
"answer": "SELECT * FROM customers WHERE account_number = 9382035"
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"context": "CREATE TABLE customers (customer_name text, account_number integer,customer_level text, vip_customer text, annual_spend text, user_name text)",
|
45 |
+
"query": "What is the account number of customer Susanna Jones?",
|
46 |
+
"answer": "SELECT account_number FROM customers WHERE customer_name='Susanna Jones'"
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"context": "CREATE TABLE library (library_name text, unique_doc_id integer, documents integer, blocks integer, images integer, pages integer, tables integer, account_name text)",
|
50 |
+
"query": "How many pages are in the human resources library?",
|
51 |
+
"answer": "SELECT pages FROM library WHERE library_name = 'human resources'"
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"context": "CREATE TABLE library (library_name text, unique_doc_id integer, documents integer, blocks integer, images integer, pages integer, tables integer, account_name text)",
|
55 |
+
"query": "Which libraries have more than 1000 images?",
|
56 |
+
"answer": "SELECT * FROM library WHERE images > 1000"
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"context": "CREATE TABLE library (library_name text, unique_doc_id integer, documents integer, blocks integer, images integer, pages integer, tables integer, account_name text)",
|
60 |
+
"query": "How many blocks are in the finance library?",
|
61 |
+
"answer": "SELECT blocks FROM library WHERE library_name = 'finance library'"
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"context": "CREATE TABLE library (library_name text, unique_doc_id integer, documents integer, blocks integer, images integer, pages integer, tables integer, account_name text)",
|
65 |
+
"query": "What is a list of all of the libraries?",
|
66 |
+
"answer": "SELECT * FROM library"
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"context": "CREATE TABLE library (library_name text, unique_doc_id integer, documents integer, blocks integer, images integer, pages integer, tables integer, account_name text)",
|
70 |
+
"query": "Which library has unique_doc_id of 8329?",
|
71 |
+
"answer": "SELECT * FROM library WHERE unique_doc_id = 8329"
|
72 |
+
}
|
73 |
+
]
|
74 |
+
}
|