This commit is contained in:
Awni Hannun 2024-12-03 19:21:06 -08:00
parent 02649b30e5
commit b365d22785

View File

@ -77,7 +77,7 @@ to see how to use the API in more detail.
The `mlx-lm` package also comes with functionality to quantize and optionally The `mlx-lm` package also comes with functionality to quantize and optionally
upload models to the Hugging Face Hub. upload models to the Hugging Face Hub.
You can convert models using the Python API: You can convert models using the Python API:
```python ```python
from mlx_lm import convert from mlx_lm import convert
@ -164,7 +164,7 @@ mlx_lm.convert \
``` ```
Models can also be converted and quantized directly in the Models can also be converted and quantized directly in the
[mlx-my-repo]]https://huggingface.co/spaces/mlx-community/mlx-my-repo) Hugging [mlx-my-repo]https://huggingface.co/spaces/mlx-community/mlx-my-repo) Hugging
Face Space. Face Space.
### Long Prompts and Generations ### Long Prompts and Generations