nobodynosql commited on
Commit
ccc0474
1 Parent(s): d38d82b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -20
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
- "data_name":"spider",
14
- "id":0,
15
- "db_id":"farm",
16
- "chat_rounds":[
17
- {
18
- "role":"system",
19
- "content":"You are a professional SQL engineer and you are writing SQL queries for data query tasks.\n",
20
- "chat_round_id":0
21
- },
22
- {
23
- "role":"human",
24
- "content":"Question | table1 : column1 , column2 | ... | tablen: columnn, columnn+1 | foreign_keys",
25
- "chat_round_id":1
26
- },
27
- {
28
- "role":"bot",
29
- "content":" sql",
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)