| | --- |
| | license: other |
| | library_name: transformers |
| | tags: |
| | - mlx |
| | datasets: |
| | - ise-uiuc/Magicoder-OSS-Instruct-75K |
| | - ise-uiuc/Magicoder-Evol-Instruct-110K |
| | license_name: deepseek |
| | pipeline_tag: text-generation |
| | --- |
| | |
| | # mlx-community/Magicoder-S-DS-6.7B-4bit-mlx |
| | This model was converted to MLX format from [`ise-uiuc/Magicoder-S-DS-6.7B`](). |
| | Refer to the [original model card](https://huggingface.co/ise-uiuc/Magicoder-S-DS-6.7B) for more details on the model. |
| | ## Use with mlx |
| |
|
| | ```bash |
| | pip install mlx-lm |
| | ``` |
| |
|
| | ```python |
| | from mlx_lm import load, generate |
| | |
| | model, tokenizer = load("mlx-community/Magicoder-S-DS-6.7B-4bit-mlx") |
| | response = generate(model, tokenizer, prompt="hello", verbose=True) |
| | ``` |
| |
|