Automatic Speech Recognition
Transformers
rotorquant
kv-cache-quantization
meralion
whisper
audio
speech-recognition
sea-lion
quantized
Instructions to use majentik/MERaLiON-2-3B-RotorQuant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use majentik/MERaLiON-2-3B-RotorQuant with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="majentik/MERaLiON-2-3B-RotorQuant")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("majentik/MERaLiON-2-3B-RotorQuant", dtype="auto") - Notebooks
- Google Colab
- Kaggle
docs: upstream-first KV-cache guidance (q8_0/q4_0, mainline Hadamard rotation); fork demoted to experimental
Browse files
README.md
CHANGED
|
@@ -20,6 +20,23 @@ pipeline_tag: automatic-speech-recognition
|
|
| 20 |
> **Status (2026-07-07): no weights published yet.** This repository currently contains only the model card — it marks a planned variant that has not been released. Follow the repo to be notified when files land.
|
| 21 |
<!-- status-note -->
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
# MERaLiON-2-3B-RotorQuant
|
| 24 |
|
| 25 |
**RotorQuant KV cache compression** for [aisingapore/MERaLiON-AudioLLM-Whisper-SEA-LION-V3-3B](https://huggingface.co/aisingapore/MERaLiON-AudioLLM-Whisper-SEA-LION-V3-3B).
|
|
|
|
| 20 |
> **Status (2026-07-07): no weights published yet.** This repository currently contains only the model card — it marks a planned variant that has not been released. Follow the repo to be notified when files land.
|
| 21 |
<!-- status-note -->
|
| 22 |
|
| 23 |
+
> [!TIP]
|
| 24 |
+
> **KV-cache quantization without any fork (recommended, 2026):** upstream
|
| 25 |
+
> llama.cpp/Ollama now cover this natively — use `-ctk q8_0 -ctv q8_0`
|
| 26 |
+
> (~half KV memory, negligible quality loss: perplexity +0.002–0.05) or
|
| 27 |
+
> `-ctk q4_0 -ctv q4_0` (~quarter memory, ≈7.6% perplexity increase). In
|
| 28 |
+
> Ollama: `OLLAMA_KV_CACHE_TYPE=q8_0` with `OLLAMA_FLASH_ATTENTION=1`. Keep
|
| 29 |
+
> K and V types symmetric to stay on the fast fused Flash-Attention path.
|
| 30 |
+
> Since April 2026, mainline llama.cpp also applies Hadamard rotation to
|
| 31 |
+
> KV activations ([PR #21038](https://github.com/ggml-org/llama.cpp/pull/21038)),
|
| 32 |
+
> which greatly improves low-bit KV quality (opt-out:
|
| 33 |
+
> `LLAMA_ATTN_ROT_DISABLE=1`).
|
| 34 |
+
>
|
| 35 |
+
> The RotorQuant/TurboQuant fork flow below is **experimental/legacy**: the
|
| 36 |
+
> TurboQuant llama.cpp PR was closed without merging (June 2026) and the fork
|
| 37 |
+
> is unmaintained relative to mainline. It is NOT required to use this model.
|
| 38 |
+
<!-- kv-upstream-note -->
|
| 39 |
+
|
| 40 |
# MERaLiON-2-3B-RotorQuant
|
| 41 |
|
| 42 |
**RotorQuant KV cache compression** for [aisingapore/MERaLiON-AudioLLM-Whisper-SEA-LION-V3-3B](https://huggingface.co/aisingapore/MERaLiON-AudioLLM-Whisper-SEA-LION-V3-3B).
|