JiZha commited on
Commit
c13aa6a
·
verified ·
1 Parent(s): 36d7d06

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -0
README.md CHANGED
@@ -1,3 +1,45 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ metrics:
4
+ - code_eval
5
+ pipeline_tag: translation
6
+ tags:
7
+ - code
8
  ---
9
+ ---
10
+ license: apache-2.0
11
+ ---
12
+
13
+ ## Model Details
14
+
15
+ ### Model Description
16
+ This model is a fine-tuned version based on deepseek, and after fine-tuning, it can achieve a score of 84.0 on the Spider dev leaderboard, significantly surpassing the original capabilities of the deepseek model.
17
+ This model is sql-gen model, it need use result of schema linking model to get most related columns.
18
+ ### Data Format
19
+ ```
20
+ {
21
+ "chat_rounds": [
22
+ {
23
+ "role": "system",
24
+ "content": "You are a professional SQL engineer and you are writing SQL queries for data query tasks.\n",
25
+ "chat_round_id": 0
26
+ },
27
+ {
28
+ "role": "human",
29
+ "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",
30
+ "chat_round_id": 1
31
+ },
32
+ {
33
+ "role": "bot",
34
+ "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",
35
+ "chat_round_id": 2
36
+ }
37
+ ]
38
+ }
39
+ ```
40
+ ### Framework versions
41
+
42
+ - PEFT 0.7.0
43
+ ### Base Model
44
+
45
+ - [deepseek-coder-33b-base](https://huggingface.co/deepseek-ai/deepseek-coder-33b-base)