Update README.md
Browse files
README.md
CHANGED
@@ -27,7 +27,7 @@ Make sure your prompt ends with **SELECT** in order for the model to finish the
|
|
27 |
```python
|
28 |
from mlx_lm import load, generate
|
29 |
|
30 |
-
model, tokenizer = load(
|
31 |
|
32 |
prompt="""CREATE TABLE students (
|
33 |
id INTEGER PRIMARY KEY,
|
@@ -51,4 +51,4 @@ The model response is the finished SQL query without **SELECT**
|
|
51 |
# User Experience
|
52 |
|
53 |
Speed benchmark of this model is obtained on a MacBook Air with M1 processor and 8GB of RAM, the lower bound of Apple Silicon.
|
54 |
-
On average, it took 16 seconds to generate a SQL query at 9 characters per second.
|
|
|
27 |
```python
|
28 |
from mlx_lm import load, generate
|
29 |
|
30 |
+
model, tokenizer = load(model="onekq-ai/OneSQL-v0.1-Qwen-7B-MLX-4bit")
|
31 |
|
32 |
prompt="""CREATE TABLE students (
|
33 |
id INTEGER PRIMARY KEY,
|
|
|
51 |
# User Experience
|
52 |
|
53 |
Speed benchmark of this model is obtained on a MacBook Air with M1 processor and 8GB of RAM, the lower bound of Apple Silicon.
|
54 |
+
On average, it took **16** seconds to generate a SQL query at **9** characters per second.
|