| language: | |
| - en | |
| license: apache-2.0 | |
| tags: | |
| - pretrained | |
| - mlx | |
| pipeline_tag: text-generation | |
| inference: | |
| parameters: | |
| temperature: 0.7 | |
| # sugatoray/mlx-mistral-7b-v0.1-q4bits | |
| This model was converted to MLX format from [`mistralai/Mistral-7B-v0.1`](). | |
| Refer to the [original model card](https://huggingface.co/mistralai/Mistral-7B-v0.1) for more details on the model. | |
| ## Use with mlx | |
| ```bash | |
| pip install mlx-lm | |
| ``` | |
| ```python | |
| from mlx_lm import load, generate | |
| model, tokenizer = load("sugatoray/mlx-mistral-7b-v0.1-q4bits") | |
| response = generate(model, tokenizer, prompt="hello", verbose=True) | |
| ``` | |