nobodynosql
commited on
Commit
•
ccc0474
1
Parent(s):
d38d82b
Update README.md
Browse files
README.md
CHANGED
@@ -10,28 +10,28 @@ This model is sql-gen model, it need use result of schema linking model to get m
|
|
10 |
### Data Format
|
11 |
```
|
12 |
{
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
"chat_round_id":2
|
31 |
-
}
|
32 |
-
]
|
33 |
}
|
34 |
```
|
35 |
### Framework versions
|
36 |
|
37 |
- PEFT 0.7.0
|
|
|
|
|
|
|
|
10 |
### Data Format
|
11 |
```
|
12 |
{
|
13 |
+
"chat_rounds": [
|
14 |
+
{
|
15 |
+
"role": "system",
|
16 |
+
"content": "You are a professional SQL engineer and you are writing SQL queries for data query tasks.\n",
|
17 |
+
"chat_round_id": 0
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"role": "human",
|
21 |
+
"content": "What are the id, name, price and color of the products which have not been ordered for at least twice? | products : products.product_price , products.product_color , products.product_id , products.product_name , products.parent_product_id | order_items : order_items.product_id , order_items.order_id , order_items.order_item_id , order_items.order_item_status_code | orders : orders.order_id , orders.customer_id , orders.order_status_code , orders.date_order_placed | customers : customers.county , customers.country , customers.customer_id , customers.gender_code , customers.customer_first_name | orders.customer_id = customers.customer_id | order_items.order_id = orders.order_id | order_items.product_id = products.product_id",
|
22 |
+
"chat_round_id": 1
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"role": "bot",
|
26 |
+
"content": " select product_id , product_name , product_price , product_color from products except select products.product_id , products.product_name , products.product_price , products.product_color from products join order_items on products.product_id = order_items.product_id join orders on order_items.order_id = orders.order_id group by products.product_id having count ( * ) >= 2",
|
27 |
+
"chat_round_id": 2
|
28 |
+
}
|
29 |
+
]
|
|
|
|
|
|
|
30 |
}
|
31 |
```
|
32 |
### Framework versions
|
33 |
|
34 |
- PEFT 0.7.0
|
35 |
+
### Base Model
|
36 |
+
|
37 |
+
- [deepseek-coder-33b-base](https://huggingface.co/deepseek-ai/deepseek-coder-33b-base)
|