littlebird13
commited on
Commit
•
759509d
1
Parent(s):
2b4a0fc
Update README.md
Browse files
README.md
CHANGED
@@ -41,7 +41,7 @@ Here provides a code snippet with `apply_chat_template` to show you how to load
|
|
41 |
```python
|
42 |
from mlx_lm import load, generate
|
43 |
|
44 |
-
model, tokenizer = load('Qwen/Qwen2-0.5B-Instruct
|
45 |
|
46 |
prompt = "Give me a short introduction to large language model."
|
47 |
messages = [
|
|
|
41 |
```python
|
42 |
from mlx_lm import load, generate
|
43 |
|
44 |
+
model, tokenizer = load('Qwen/Qwen2-0.5B-Instruct-MLX', tokenizer_config={"eos_token": "<|im_end|>"})
|
45 |
|
46 |
prompt = "Give me a short introduction to large language model."
|
47 |
messages = [
|