Update README.md
Browse files
README.md
CHANGED
@@ -6,13 +6,18 @@ license_name: deepseek-license
|
|
6 |
license_link: LICENSE
|
7 |
---
|
8 |
|
9 |
-
# deepseek-coder-1.3b-base-mlx
|
10 |
This model was converted to MLX format from [`deepseek-ai/deepseek-coder-1.3b-base`]().
|
11 |
Refer to the [original model card](https://huggingface.co/deepseek-ai/deepseek-coder-1.3b-base) for more details on the model.
|
12 |
## Use with mlx
|
|
|
13 |
```bash
|
14 |
-
pip install mlx
|
15 |
-
|
16 |
-
|
17 |
-
python
|
|
|
|
|
|
|
|
|
18 |
```
|
|
|
6 |
license_link: LICENSE
|
7 |
---
|
8 |
|
9 |
+
# mlx-community/deepseek-coder-1.3b-base-mlx
|
10 |
This model was converted to MLX format from [`deepseek-ai/deepseek-coder-1.3b-base`]().
|
11 |
Refer to the [original model card](https://huggingface.co/deepseek-ai/deepseek-coder-1.3b-base) for more details on the model.
|
12 |
## Use with mlx
|
13 |
+
|
14 |
```bash
|
15 |
+
pip install mlx-lm
|
16 |
+
```
|
17 |
+
|
18 |
+
```python
|
19 |
+
from mlx_lm import load, generate
|
20 |
+
|
21 |
+
model, tokenizer = load("mlx-community/deepseek-coder-1.3b-base-mlx")
|
22 |
+
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
23 |
```
|