skirano commited on
Commit
b345756
1 Parent(s): 8ca0c50

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -0
README.md CHANGED
@@ -18,7 +18,9 @@ Refer to the [original model card](https://huggingface.co/microsoft/phi-2) for m
18
  ## Use with mlx
19
  ```bash
20
  pip install mlx
 
21
  ```python
22
  from mlx_lm import load, generate
23
  model, tokenizer = load("mlx-community/phi-2-dpo-7k")
24
  response = generate(model, tokenizer, prompt="Similarity between pizza and quantum mechanics, in few words, use rhymes\nOutput: ", max_tokens=100, verbose=True)
 
 
18
  ## Use with mlx
19
  ```bash
20
  pip install mlx
21
+ ```
22
  ```python
23
  from mlx_lm import load, generate
24
  model, tokenizer = load("mlx-community/phi-2-dpo-7k")
25
  response = generate(model, tokenizer, prompt="Similarity between pizza and quantum mechanics, in few words, use rhymes\nOutput: ", max_tokens=100, verbose=True)
26
+ ```