Update README.md
Browse files
README.md
CHANGED
|
@@ -44,7 +44,7 @@ pip install mlx-lm
|
|
| 44 |
```python
|
| 45 |
from mlx_lm import load, generate
|
| 46 |
|
| 47 |
-
model, tokenizer = load("
|
| 48 |
prompt = "蓝牙耳机坏了,该去看牙科还是耳科"
|
| 49 |
|
| 50 |
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
|
|
|
|
| 44 |
```python
|
| 45 |
from mlx_lm import load, generate
|
| 46 |
|
| 47 |
+
model, tokenizer = load("HawkonLi/Hunyuan-A52B-Instruct-2bit", tokenizer_config={"eos_token": "<|endoftext|>", "trust_remote_code": True},lazy=True)
|
| 48 |
prompt = "蓝牙耳机坏了,该去看牙科还是耳科"
|
| 49 |
|
| 50 |
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
|