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 original model has an EX score of **63.33** on the [BIRD leaderboard](https://bird-bench.github.io/).
|
| 20 |
-
The self-evaluation score of this AWQ model is **58.93
|
| 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 original model has an EX score of **63.33** on the [BIRD leaderboard](https://bird-bench.github.io/).
|
| 20 |
+
The self-evaluation score of this AWQ model is **58.93**.
|
| 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 |
|