Indexing's picture
Upload folder using huggingface_hub
2694c1b verified
|
Raw History Blame Contribute Delete
795 Bytes
---
language: en
library_name: mlx
pipeline_tag: text-generation
license: other
base_model: Akahsizrr/voltron-1.1-mini
tags:
- mlx
- lfm3
- 4-bit
---
# voltron-1.1-mini-4bit-mlx
4-bit MLX quantization (group size 64, ~4.5 bits/weight, ~1.1 GB) of [Akahsizrr/voltron-1.1-mini](https://huggingface.co/Akahsizrr/voltron-1.1-mini), converted with `mlx_vlm` (0.8.1), which provides the `lfm3` architecture.
License and usage terms follow the original model.
```python
from mlx_vlm import load, generate
model, processor = load("Indexing/voltron-1.1-mini-4bit-mlx")
tok = getattr(processor, "tokenizer", processor)
prompt = tok.apply_chat_template([{"role": "user", "content": "Hello"}], add_generation_prompt=True, tokenize=False)
print(generate(model, processor, prompt, max_tokens=200).text)
```