rumble-2-flash-ane / README.md
kaptionai's picture
Rumble-2-Flash: forced-language ids for all 26 routed languages (asr.json)
b3fd86b verified
|
Raw History Blame Contribute Delete
4.85 kB
metadata
license: apache-2.0
base_model: Reson8/Rumble-2-Flash
pipeline_tag: automatic-speech-recognition
language:
  - af
  - ar
  - bn
  - bs
  - ca
  - ceb
  - cs
  - da
  - de
  - el
  - en
  - es
  - eu
  - fa
  - fi
  - fil
  - fr
  - hi
  - hr
  - hu
  - id
  - is
  - it
  - ja
  - ko
  - lt
  - lv
  - mk
  - ms
  - mt
  - nb
  - nl
  - pl
  - pt
  - ro
  - ru
  - sq
  - sr
  - sv
  - th
  - tr
  - uk
  - vi
  - yue
  - zh
tags:
  - coreml
  - apple-neural-engine
  - gguf
  - llama.cpp
  - qwen3-asr
  - kaption

Rumble-2-Flash for Apple silicon: Neural Engine encoder + llama.cpp decoder (Kaption)

One zip to run Reson8/Rumble-2-Flash on Apple silicon (macOS 15 or later): the audio encoder as a Core ML program on the Neural Engine, the text decoder as a GGUF with llama.cpp on Metal. The layout is the same as kaptionai/qwen3-asr-ane.

  • Base model: Reson8/Rumble-2-Flash, Apache-2.0, revision a0c34287229103b706c670d70791683e34379732. It is a fine-tune of Qwen/Qwen3-ASR-0.6B (Apache-2.0) with the decoder cut to 14 layers and the vocabulary cut to 99,630 tokens.
  • Decoder GGUF: by AtomicChat/Rumble-2-Flash-GGUF (revision d036f2af3cd5229375714d7f1749792cce3c6a88), unchanged.
  • License: Apache License 2.0 (LICENSE), the same as the base model.
  • Not endorsed by Reson8, AtomicChat or Alibaba Qwen. All credit for the model belongs to its authors.

Files

File Bytes SHA-256
kaption-ane-asr-enc8-adq5-ctx1024.zip 439,910,946 3968dfdd27da42ca36b92a18f88b007d55c590d3b6edaec72ffefe8b539ed3a2
LICENSE 11,358 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30

Inside the zip (471,884,322 bytes unpacked, plus the manifest):

File Bytes Origin
encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin 187,106,176 Kaption conversion
encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel 312,684 Kaption conversion
encoder.mlpackage/Manifest.json 617 Kaption conversion
decoder.gguf 283,424,640 Unmodified copy of AtomicChat's Rumble-2-Flash-AD-Q5_K_M.gguf, SHA-256 c49430ce4eb24ca6e6ff154f135c63a0dd98fc2247746824f40d96df7d2bd7ee
asr.json 2,130 Written by Kaption: sizes, prompt token ids, forced-language ids
vocab.bin 935,147 Written by Kaption from Reson8's tokenizer.json (token strings for decoding)
mel.bin 102,928 Written by Kaption: mel filter bank (128 bins, 16 kHz)
kaption-ane-package.json 1,795 SHA-256 and size of every file above

How the encoder was made

The audio encoder and projector of the base model's model.safetensors (18 layers, the model.audio_tower.* and model.multi_modal_projector.* tensors) were rebuilt in PyTorch with 1x1 convolutions in place of linear layers, traced, and converted with coremltools 9.0 (torch 2.7) to an ML Program with fp16 activations for one fixed 8 s window: mel [1, 128, 800] and a key mask [1, 1, 1, 104] in, audio [1, 104, 1024] out. The weights are stored as 8-bit values (linear, symmetric, per channel). Against the Transformers model the PyTorch rebuild agrees to 1e-5; Core ML places all 597 operations on the Neural Engine.

The prompt in asr.json carries Reson8's control tokens <digits><nofiller><verbatim> in the system turn (the defaults of the model's chat template), one audio turn and the assistant turn. Forced-language ids are included for en, es, pt, fr, de, it, ru, ar, tr, hi, vi, id, th, nl, pl, sv, da, fi, el, hu, ro, cs, fa, ms, fil and mk (the first upload, revision b7cd9c1102660b7367cbdfcf15bb0441d9e7991a, had 14 of them; only asr.json and the manifest changed since).

Runtime

A host program that runs encoder.mlpackage with Core ML on the Neural Engine and feeds its output as embeddings to decoder.gguf in llama.cpp on Metal, with a 1,024-token context and greedy decoding. Audio is 16 kHz mono, log-mel with 128 bins, in 8 s encoder windows. Apple silicon, macOS 15 or later.

Known limits (measured by Kaption)

Measured on an M4 Pro with this layout (FLEURS clips, the encoder as fp16 or 8-bit: the two scored the same):

  • Chinese is weaker than with Qwen3-ASR-0.6B. On 40 clips: character error rate 7.4 against 5.4 for the Qwen3-ASR package. English, Spanish and Portuguese are better (240 clips: word error rate 4.0 against 5.6).
  • It invents text on digital silence. On 36 synthetic clips without speech it wrote text on 10, most of it one sentence looped (295 words in all). Put a voice-activity gate in front and do not send silence to the model.
  • No Hebrew. The model's 45 languages are the ones listed in the metadata above.
  • No word timestamps. The output is text only.
  • An 8 GB Mac and an M1 were not measured.