| language: | |
| - en | |
| - zh | |
| license: apache-2.0 | |
| tags: | |
| - mlx | |
| # GreenBitAI/yi-6b-w4a16g32-mlx | |
| This quantized low-bit model was converted to MLX format from [`GreenBitAI/yi-6b-w4a16g32`](). | |
| Refer to the [original model card](https://huggingface.co/GreenBitAI/yi-6b-w4a16g32) for more details on the model. | |
| ## Use with mlx | |
| ```bash | |
| pip install gbx-lm | |
| ``` | |
| ```python | |
| from gbx_lm import load, generate | |
| model, tokenizer = load("GreenBitAI/yi-6b-w4a16g32-mlx") | |
| response = generate(model, tokenizer, prompt="hello", verbose=True) | |
| ``` | |