File size: 2,540 Bytes
c0b0fa4 2cbe07e c0b0fa4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | ---
base_model: mistralai/Voxtral-Mini-4B-Realtime-2602
library_name: mlx
license: apache-2.0
pipeline_tag: automatic-speech-recognition
tags:
- voxtral
- audio
- speech
- speech-recognition
- realtime
- streaming
- asr
- mlx
- rotorquant
- quantization
- 4-bit
language:
- en
---
# Voxtral-Mini-4B-Realtime-2602-RotorQuant-MLX-4bit
4-bit MLX weight-quantized build of [`mistralai/Voxtral-Mini-4B-Realtime-2602`](https://huggingface.co/mistralai/Voxtral-Mini-4B-Realtime-2602) with RotorQuant KV-cache. Recommended default for noisy / multi-speaker real-time ASR on Apple Silicon.
## Overview
- **Base:** `mistralai/Voxtral-Mini-4B-Realtime-2602` — 4B real-time ASR model
- **Weight precision:** 4-bit (group-wise)
- **KV-cache profile:** RotorQuant
- **Approx. on-disk size:** ~2 GB
- **Runtime:** MLX on Apple Silicon
## Quickstart
```bash
pip install mlx-lm
```
```python
from mlx_lm import load, generate
model, tokenizer = load("majentik/Voxtral-Mini-4B-Realtime-2602-RotorQuant-MLX-4bit")
for chunk in audio_stream():
prompt = tokenizer.apply_chat_template(
[{"role": "user", "content": [{"type": "audio", "path": chunk}]}],
add_generation_prompt=True,
)
emit(generate(model, tokenizer, prompt=prompt, max_tokens=32))
```
## Model specs
| Field | Value |
|---|---|
| Parameters | 4B |
| Weight bits | 4 |
| Group size | 64 |
| Cache profile | RotorQuant |
| Size on disk | ~2 GB |
| Target hardware | Apple Silicon (M1/M2/M3/M4) |
| License | Apache 2.0 |
## RotorQuant vs TurboQuant
| | RotorQuant | TurboQuant |
|---|---|---|
| Strategy | Rotational online re-basis | Per-head static calibration |
| Memory reduction | ~4x on KV-cache | ~3.5x on KV-cache |
| Best for | Noisy/multi-speaker streams | Predictable domains, lowest p50 latency |
## See also
- [`majentik/Voxtral-Mini-4B-Realtime-2602-RotorQuant-MLX-8bit`](https://huggingface.co/majentik/Voxtral-Mini-4B-Realtime-2602-RotorQuant-MLX-8bit)
- [`majentik/Voxtral-Mini-4B-Realtime-2602-RotorQuant-MLX-2bit`](https://huggingface.co/majentik/Voxtral-Mini-4B-Realtime-2602-RotorQuant-MLX-2bit)
- [`majentik/Voxtral-Mini-4B-Realtime-2602-TurboQuant-MLX-4bit`](https://huggingface.co/majentik/Voxtral-Mini-4B-Realtime-2602-TurboQuant-MLX-4bit)
- [`majentik/Voxtral-Mini-4B-Realtime-2602-RotorQuant`](https://huggingface.co/majentik/Voxtral-Mini-4B-Realtime-2602-RotorQuant) — KV-cache-only bundle
- [`mistralai/Voxtral-Mini-4B-Realtime-2602`](https://huggingface.co/mistralai/Voxtral-Mini-4B-Realtime-2602) — upstream base model
|