Update config.json
Browse files- config.json +89 -33
config.json
CHANGED
@@ -1,33 +1,89 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "llmware/slim-sql-
|
3 |
-
"aib_version": "",
|
4 |
-
"architectures": [
|
5 |
-
"LlamaForCausalLM"
|
6 |
-
],
|
7 |
-
"attention_bias": false,
|
8 |
-
"attention_dropout": 0.0,
|
9 |
-
"bos_token_id": 1,
|
10 |
-
"eos_token_id": 2,
|
11 |
-
"hidden_act": "silu",
|
12 |
-
"hidden_size": 2048,
|
13 |
-
"initializer_range": 0.02,
|
14 |
-
"intermediate_size": 5632,
|
15 |
-
"max_position_embeddings": 2048,
|
16 |
-
"mlp_bias": false,
|
17 |
-
"model_type": "llama",
|
18 |
-
"num_attention_heads": 32,
|
19 |
-
"num_hidden_layers": 22,
|
20 |
-
"num_key_value_heads": 4,
|
21 |
-
"pretraining_tp": 1,
|
22 |
-
"rms_norm_eps": 1e-05,
|
23 |
-
"rope_scaling": null,
|
24 |
-
"rope_theta": 10000.0,
|
25 |
-
"tie_word_embeddings": false,
|
26 |
-
"trained": "custom training",
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
|
32 |
-
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "llmware/slim-sql-ov",
|
3 |
+
"aib_version": "",
|
4 |
+
"architectures": [
|
5 |
+
"LlamaForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_bias": false,
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 2048,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 5632,
|
15 |
+
"max_position_embeddings": 2048,
|
16 |
+
"mlp_bias": false,
|
17 |
+
"model_type": "llama",
|
18 |
+
"num_attention_heads": 32,
|
19 |
+
"num_hidden_layers": 22,
|
20 |
+
"num_key_value_heads": 4,
|
21 |
+
"pretraining_tp": 1,
|
22 |
+
"rms_norm_eps": 1e-05,
|
23 |
+
"rope_scaling": null,
|
24 |
+
"rope_theta": 10000.0,
|
25 |
+
"tie_word_embeddings": false,
|
26 |
+
"trained": "custom training",
|
27 |
+
"training_dataset": "",
|
28 |
+
"transformers_version": "4.41.2",
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 32000,
|
31 |
+
|
32 |
+
"test_set": [
|
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": "Which customers are VIP customers?",
|
36 |
+
"answer": "SELECT * FROM customers WHERE vip_customer='yes'"
|
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": "What is the annual spend for customer Rachel Michaels?",
|
41 |
+
"answer": "SELECT annual_spend FROM customers WHERE customer_name='Rachel Michaels'"
|
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": "How many customers spend more than $1000 per year?",
|
46 |
+
"answer": "SELECT COUNT(*) FROM customers WHERE annual_spend > $1000"
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"context": "CREATE TABLE customers (customer_name text, account_number integer,customer_level text, vip_customer text, annual_spend text, user_name text)",
|
50 |
+
"query": "Who are the customers with gold customer level?",
|
51 |
+
"answer": "SELECT customer_name FROM customers WHERE customer_level = 'gold'"
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"context": "CREATE TABLE customers (customer_name text, account_number integer,customer_level text, vip_customer text, annual_spend text, user_name text)",
|
55 |
+
"query": "Which customer has account number 9382035?",
|
56 |
+
"answer": "SELECT * FROM customers WHERE account_number = 9382035"
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"context": "CREATE TABLE customers (customer_name text, account_number integer,customer_level text, vip_customer text, annual_spend text, user_name text)",
|
60 |
+
"query": "What is the account number of customer Susanna Jones?",
|
61 |
+
"answer": "SELECT account_number FROM customers WHERE customer_name='Susanna Jones'"
|
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": "How many pages are in the human resources library?",
|
66 |
+
"answer": "SELECT pages FROM library WHERE library_name = 'human resources'"
|
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 libraries have more than 1000 images?",
|
71 |
+
"answer": "SELECT * FROM library WHERE images > 1000"
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"context": "CREATE TABLE library (library_name text, unique_doc_id integer, documents integer, blocks integer, images integer, pages integer, tables integer, account_name text)",
|
75 |
+
"query": "How many blocks are in the finance library?",
|
76 |
+
"answer": "SELECT blocks FROM library WHERE library_name = 'finance library'"
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"context": "CREATE TABLE library (library_name text, unique_doc_id integer, documents integer, blocks integer, images integer, pages integer, tables integer, account_name text)",
|
80 |
+
"query": "What is a list of all of the libraries?",
|
81 |
+
"answer": "SELECT * FROM library"
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"context": "CREATE TABLE library (library_name text, unique_doc_id integer, documents integer, blocks integer, images integer, pages integer, tables integer, account_name text)",
|
85 |
+
"query": "Which library has unique_doc_id of 8329?",
|
86 |
+
"answer": "SELECT * FROM library WHERE unique_doc_id = 8329"
|
87 |
+
}
|
88 |
+
]
|
89 |
+
}
|