Update README.md
Browse files
README.md
CHANGED
@@ -17,7 +17,7 @@ This model is the AWQ version of [OneSQL-v0.1-Qwen-7B](https://huggingface.co/on
|
|
17 |
# Performances
|
18 |
|
19 |
The self-evaluation EX score of the original model is **56.19** (compared to **63.33** by the 32B model on the [BIRD leaderboard](https://bird-bench.github.io/).
|
20 |
-
The self-evaluation score of this AWQ model is **
|
21 |
|
22 |
# Quick start
|
23 |
|
@@ -40,7 +40,7 @@ prompt="CREATE TABLE students (
|
|
40 |
-- Find the three youngest students
|
41 |
SELECT "
|
42 |
|
43 |
-
outputs = llm.generate(prompt, sampling_params)
|
44 |
print(outputs[0].outputs[0].text.strip())
|
45 |
```
|
46 |
|
|
|
17 |
# Performances
|
18 |
|
19 |
The self-evaluation EX score of the original model is **56.19** (compared to **63.33** by the 32B model on the [BIRD leaderboard](https://bird-bench.github.io/).
|
20 |
+
The self-evaluation EX score of this AWQ model is **47.84**.
|
21 |
|
22 |
# Quick start
|
23 |
|
|
|
40 |
-- Find the three youngest students
|
41 |
SELECT "
|
42 |
|
43 |
+
outputs = llm.generate(f"<|im_start|>system\nYou are a SQL expert. Return code only.<|im_end|>\n<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant\n", sampling_params)
|
44 |
print(outputs[0].outputs[0].text.strip())
|
45 |
```
|
46 |
|