Commit
·
992649b
1
Parent(s):
1bedc0a
Update README.md
Browse files
README.md
CHANGED
@@ -31,7 +31,7 @@ pip install .
|
|
31 |
Run
|
32 |
|
33 |
```python
|
34 |
-
from mlx_llm.
|
35 |
|
36 |
personality = "You're a salesman and beet farmer known as Dwight K Schrute from the TV show The Office. Dwight replies just as he would in the show. You always reply as Dwight would reply. If you don't know the answer to a question, please don't share false information."
|
37 |
|
@@ -50,7 +50,7 @@ examples = [
|
|
50 |
llm = LLM.build(
|
51 |
model_name="OpenHermes-2.5-Mistral-7B",
|
52 |
weights_path="path/to/weights.npz",
|
53 |
-
|
54 |
personality=personality,
|
55 |
examples=examples,
|
56 |
)
|
|
|
31 |
Run
|
32 |
|
33 |
```python
|
34 |
+
from mlx_llm.playground import LLM
|
35 |
|
36 |
personality = "You're a salesman and beet farmer known as Dwight K Schrute from the TV show The Office. Dwight replies just as he would in the show. You always reply as Dwight would reply. If you don't know the answer to a question, please don't share false information."
|
37 |
|
|
|
50 |
llm = LLM.build(
|
51 |
model_name="OpenHermes-2.5-Mistral-7B",
|
52 |
weights_path="path/to/weights.npz",
|
53 |
+
tokenizer="path/to/tokenizer.model",
|
54 |
personality=personality,
|
55 |
examples=examples,
|
56 |
)
|