Update: Change URL to model in Readme
Browse files
README.md
CHANGED
@@ -75,7 +75,7 @@ If `<|im_start|>assistant` is not added, an error will appear.
|
|
75 |
You can add the above in a text file and use it as:
|
76 |
|
77 |
```bash
|
78 |
-
python -m mlx_lm.generate --model dbrx-instruct-4bit --prompt "$(cat my_prompt.txt)" --trust-remote-code --max-tokens 1000
|
79 |
```
|
80 |
|
81 |
Output:
|
@@ -99,7 +99,7 @@ To use it from Python you can do the following:
|
|
99 |
from mlx_lm import load, generate
|
100 |
|
101 |
model, tokenizer = load(
|
102 |
-
"/
|
103 |
tokenizer_config={"trust_remote_code": True}
|
104 |
)
|
105 |
|
|
|
75 |
You can add the above in a text file and use it as:
|
76 |
|
77 |
```bash
|
78 |
+
python -m mlx_lm.generate --model mlx-community/dbrx-instruct-4bit --prompt "$(cat my_prompt.txt)" --trust-remote-code --max-tokens 1000
|
79 |
```
|
80 |
|
81 |
Output:
|
|
|
99 |
from mlx_lm import load, generate
|
100 |
|
101 |
model, tokenizer = load(
|
102 |
+
"mlx-community/dbrx-instruct-4bit",
|
103 |
tokenizer_config={"trust_remote_code": True}
|
104 |
)
|
105 |
|