AlioLeuchtmann commited on
Commit
39e24d1
·
verified ·
1 Parent(s): 1a77751

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -1
README.md CHANGED
@@ -8,6 +8,8 @@ language:
8
  - en
9
  base_model:
10
  - Qwen/Qwen2.5-Coder-7B-Instruct
 
 
11
  ---
12
 
13
  BIRD-bench: https://bird-bench.github.io/
@@ -38,4 +40,32 @@ After training, this checkpoint even exceeds the performance of its teacher mode
38
 
39
 
40
 
41
- ![image/png](https://cdn-uploads.huggingface.co/production/uploads/65e01c279c88ffe889d64a73/pPwqvkFLB4VRKm6XBcZcn.png)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  - en
9
  base_model:
10
  - Qwen/Qwen2.5-Coder-7B-Instruct
11
+ datasets:
12
+ - AlioLeuchtmann/BIRD_SPIDER_Qwen2.5-Coder-32B
13
  ---
14
 
15
  BIRD-bench: https://bird-bench.github.io/
 
40
 
41
 
42
 
43
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/65e01c279c88ffe889d64a73/pPwqvkFLB4VRKm6XBcZcn.png)
44
+
45
+
46
+ ## Prompt:
47
+
48
+ ```sql
49
+ CREATE TABLE geographic\n(\n city TEXT not null\n primary key,\n county TEXT null,\n region TEXT null\n) \n /* \n 2 example rows: \n SELECT * FROM geographic LIMIT 2; \n city county region \nalameda alameda county bay area \n alamo contra costa county bay area \n */\n\n <br>
50
+ CREATE TABLE generalinfo\n(\n id_restaurant INTEGER not null\n primary key,\n label TEXT null,\n food_type TEXT null,\n city TEXT null,\n review REAL null,\n foreign key (city) references geographic(city)\n on update cascade on delete cascade\n) \n /* \n 2 example rows: \n SELECT * FROM generalinfo LIMIT 2; \n id_restaurant label food_type city review \n 1 sparky's diner 24 hour diner san francisco 2.3 \n 2 kabul afghan cuisine afghani san carlos 3.8 \n */\n\nCREATE TABLE location\n(\n id_restaurant INTEGER not null\n primary key,\n street_num INTEGER null,\n street_name TEXT null,\n city TEXT null,\n foreign key (city) references geographic (city)\n on update cascade on delete cascade,\n foreign key (id_restaurant) references generalinfo (id_restaurant)\n on update cascade on delete cascade\n) \n /* \n 2 example rows: \n SELECT * FROM location LIMIT 2; \n id_restaurant street_num street_name city \n 1 242 church st san francisco \n 2 135 el camino real san carlos \n */\n\n <br>
51
+ -- External Knowledge: Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review\n <br>
52
+ -- Using valid SQLite and understanding External Knowledge, answer the following question for the tables provided above.\n <br>
53
+ -- What is the rating of each restaurant reviews on Atlantic Ave?\nGenerate the SQL after thinking step by step:\n <br>
54
+ ```
55
+
56
+
57
+ ### System Prompt:
58
+
59
+ Default Qwen2.5 System Prompt
60
+
61
+ ```python
62
+ def preprocess_prompt(prompt):
63
+ return f'''<|im_start|>system
64
+ You are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>
65
+ <|im_start|>user
66
+ {prompt}<|im_end|>
67
+ <|im_start|>assistant
68
+ '''
69
+ ```
70
+
71
+