Skip to main content

rumblex

Open in Spaces

Transcription with word timestamps, speaker labels and subtitles, built on Reson8/Rumble-2-Flash.

Rumble-2-Flash has a CTC head next to its decoder. rumblex uses it for word timestamps: the decoder writes the text and the CTC head aligns it to the audio, reusing the encoder pass that already ran. So alignment is one linear layer and a Viterbi search, not a second model.

The model is a 0.5B fine-tune of Qwen3-ASR-0.6B. Its card lists 45 languages; I've benchmarked 13 of them (below). You can try it in the browser with the demo Space.

rumblex transcribing two files and writing subtitles

Independent project, not affiliated with Reson8.

Features

  • Any input ffmpeg reads. Long files are split into speech chunks with Silero VAD.
  • Batched transcription; a chunk's output doesn't depend on what it's batched with. Exposes the model's language, prompt, digits, filler and verbatim options.
  • Hotwords: a list of names and terms the decoder is nudged towards (--hotwords, --hotwords_file).
  • Word timestamps from the CTC head. If alignment fails on a chunk, its words get proportional times.
  • Two per-word confidences: probability, the decoder's (exp of the mean log-prob of the word's tokens), and score, the CTC head's (the lowest of its tokens' peak probabilities). probability is the better of the two at telling wrong words from right ones (eval); it is empty for --text and for words with proportional times.
  • Alignment of a transcript you already have (--text, rumblex.align): no decoding, only the encoder and the CTC head.
  • Optional per-word speaker labels via pyannote.
  • JSON, SRT, VTT (optionally with karaoke tags), TSV and TXT.
  • An OpenAI-compatible server (rumblex serve).

word timestamps and speaker labels played back over the audio

Install

pip install rumblex
pip install "rumblex[diarize]"   # with speaker labels
pip install "rumblex[server]"    # for rumblex serve

Needs Python 3.11 or 3.12 and ffmpeg on PATH. On Windows, PyPI's torch is CPU-only, so for a GPU install torch and torchaudio from pytorch.org first. Ampere and newer run in bf16, older GPUs in float32 (a 6 GB GTX 1060 works at the default batch size). CPU works but is slow.

From source, git clone https://github.com/EdwardGlockner/rumblex && cd rumblex && uv sync (add --extra diarize for speaker labels). The lock file pins CUDA 12.6 wheels, which still support Pascal; for RTX 50-series install torch yourself and use pip install -e ..

Use

rumblex meeting.mp4                                   # all formats into the current folder
rumblex talk.wav -f srt vtt --max_line_width 42
rumblex interview.m4a --language Dutch --diarize -f srt txt
rumblex call.wav --hotwords "Stifel, Paul Betz"      # names and terms to listen for
rumblex call.wav --hotwords_file terms.txt           # one per line
rumblex lecture.mp3 --text lecture.txt               # word times for your own transcript
import rumblex

model = rumblex.load_model()
result = rumblex.transcribe("meeting.mp4", model)
for seg in result.segments:
    print(seg.start, seg.end, seg.text)
rumblex.write_result(result, "meeting.mp4", "out/", ["srt", "json"])

text = open("lecture.txt", encoding="utf-8").read()
result = rumblex.align("lecture.mp3", text, model)  # no transcribing

More in examples/.

Hotwords. Give rumblex the names and terms you expect, and tokens that would write one of them get a small bonus during decoding:

result = rumblex.transcribe("call.wav", model, hotwords=["Stifel", "Paul Betz", "SiTime"])

On 857 clips of Earnings-21 calls with Rev's 1,013-entry biasing list, the share of spoken list words that came out right went from 67.9% to 76.9%, with WER going from 5.84% to 6.02% (docs/hotwords.md). Write entries the way they should appear; a list in capitals is handled. It is meant for a list that belongs to the recording or the customer, not a dictionary. --prompt is still there for free-text context, but don't put a list in it: the same list as a prompt took WER to 24.13% and recall down to 52.0%. Not available with --vllm_url or in rumblex serve yet.

vLLM. On Linux, decoding can run on a vLLM server (pip install "rumblex[vllm]"):

vllm serve Reson8/Rumble-2-Flash --max-model-len 4096 --gpu-memory-utilization 0.5
rumblex meeting.mp4 --vllm_url http://localhost:8000/v1

Alignment still runs the encoder locally, so leave some GPU memory free. On LibriSpeech this went from 467× to 601× real time with the same WER (run).

Speaker labels. Accept the conditions on pyannote/speaker-diarization-community-1 and run hf auth login. rumblex turns off pyannote's telemetry unless you set PYANNOTE_METRICS_ENABLED=true.

Server. rumblex serve answers OpenAI's transcription API, so the openai client and tools built on it can use rumblex by changing the base URL (pip install "rumblex[server]"):

rumblex serve                                        # port 9000; add --diarize for speaker labels
from openai import OpenAI

client = OpenAI(base_url="http://localhost:9000/v1", api_key="unused")
result = client.audio.transcriptions.create(
    model="rumble-2-flash",
    file=open("meeting.mp3", "rb"),
    response_format="verbose_json",
    timestamp_granularities=["word"],
)
print(result.words[0].word, result.words[0].start, result.words[0].probability)

It supports the json, text, srt, vtt and verbose_json formats, and diarized_json with --diarize. Words in verbose_json also have rumblex's probability and score. The server listens on 127.0.0.1 unless you pass --host; set --api_key (or RUMBLEX_API_KEY) before exposing it. Requests run one at a time. model and temperature are accepted and ignored.

Compared with WhisperX

Same audio, one RTX 4090, one session, rumblex 0.1.0 (bf16, batch 32) vs WhisperX 3.8.6 with large-v3 (float16, batch 16, default aligners). Language given to both, Whisper's normalisers for WER. Speed is one 20–60 min file per dataset, models already loaded. Details and raw results: docs/bench_2026-11-20_rtx4090_release.

dataset rumblex WER WhisperX WER rumblex speed WhisperX speed
AMI meetings (500 utt.) 10.9% 17.2% 329× real time 104×
Earnings-22 calls (500 utt.) 9.3% 10.6% 430× 102×
LibriSpeech test-clean (200 utt.) 2.2% 1.6% 467× 92×
FLEURS Dutch (364 utt.) 9.2% 7.0% 380× 79×

rumblex is 3–5× faster, mostly because alignment reuses the encoder (0.3–0.9 s per file vs 7–17 s for WhisperX). It wins WER on meetings and calls, mostly through fewer deleted words; WhisperX wins on clean English and Dutch. rumblex passes clips up to 20 s whole while WhisperX runs VAD on everything, which may flatter rumblex on these short clips. A few hundred utterances per set, so treat it as rough.

Languages

FLEURS (read speech), 350 utterances per language, same settings as above on another RTX 4090 pod (run). WER is scored with the Open ASR Leaderboard's normaliser, as on the model card; the run also has it with Whisper's normalisers. Speed is the ratio of the two systems on a 20-minute file per language, since that pod was slower overall than the one above.

language rumblex WER WhisperX WER rumblex faster by
German 5.0% 3.3% 3.7×
Spanish 3.1% 3.4% 3.2×
French 5.5% 5.6% 3.1×
Italian 2.3% 1.8% 3.2×
Portuguese 4.0% 3.3% 3.0×
Dutch 6.2% 4.5% 3.1×
Swedish 10.8% 5.8% 3.7×
Polish 7.0% 4.1% 3.1×
Russian 6.7% 4.6% 2.7×
Turkish 6.3% 3.8% 3.4×
Arabic 19.1% 14.7% 3.4×
Hindi 12.6% 26.5% 1.9×

WhisperX large-v3 has the lower WER in most of these; rumblex is level on Spanish and French and well ahead on Hindi. English FLEURS (Whisper's normaliser) was 6.3% vs 5.2%. Word timestamps came from the CTC head in all but 1 of 4,288 chunks outside Hindi; for Hindi see Limitations.

Timestamp accuracy

The encoder runs at 13 frames per second, 80 ms a frame. Since 0.6.0 a small learned head on the encoder states places each word's start and end inside its frame (docs/boundary_head.md). On 200 LibriSpeech test-clean utterances against Montreal Forced Aligner references (another aligner, not human labels), settings chosen on dev-clean:

mean absolute error rumblex 0.6.0 rumblex 0.5.0
word start 20 ms 50 ms
word end 31 ms 54 ms

WhisperX was not part of that measurement. In an earlier run on 200 LibriSpeech utterances it had 75 ms on starts and 34 ms on ends, next to 51 and 55 ms for rumblex without the head (run).

Against human labels: the Buckeye corpus of spontaneous speech, test split of FA-Bench (4,513 utterances), with both tools given the reference words, i.e. rumblex.align against WhisperX's aligner (docs/fabench_eval.md).

Buckeye test rumblex 0.6.0 rumblex 0.5.0 WhisperX
word start, mean absolute error 25 ms 42 ms 58 ms
word end, mean absolute error 30 ms 41 ms 38 ms
starts and ends within 20 ms (F1) 0.54 0.36 0.28

The head was fitted on read English and has seen no Buckeye data. Aligners built on phone models still do better than either tool on this benchmark; see FA-Bench's leaderboard.

How it works

  1. ffmpeg decodes to 16 kHz mono.
  2. Silero VAD packs speech into chunks of up to 20 s (shorter files go in whole).
  3. Rumble-2-Flash transcribes the chunks in batches; a hook keeps the encoder states (13 frames/s).
  4. The CTC head and Viterbi align the decoder's tokens to those states, grouped into words at spaces.
  5. Optionally, pyannote labels speakers and each word gets the speaker it overlaps most.
  6. Writers produce the output files.

Model details: docs/model_inspection.md.

Limitations

  • The encoder runs at 13 frames/s. The boundary head places words finer than that, but it was fitted and measured on English only, and word ends are still less precise than starts.
  • Chunks are decoded independently, so a sentence crossing a chunk boundary can be broken there. Passing the previous chunk's text as context made transcripts worse (docs/chunk_context_eval.md).
  • Words split at spaces, so Chinese and Japanese get one "word" per chunk.
  • WhisperX large-v3 had lower WER on clean English and on FLEURS in most languages measured (13 so far, all read speech except the English meeting and call sets).
  • Hindi word times are less reliable: Hindi text runs to about 10 tokens per second of audio against the encoder's 13 frames, so in fast speech the CTC path doesn't fit and 30 of 360 chunks fell back to proportional times.
  • Hotwords were measured on English earnings calls with one list. They don't work with the vLLM backend or the server yet.
  • vLLM needs Linux and a GPU vLLM supports.

Development

uv sync --extra dev
uv run pytest
uv run ruff check . && uv run ruff format --check .

Benchmark scripts are in scripts/README.md, and every number above links to its raw results (docs/README.md).

License

Apache-2.0, like Rumble-2-Flash. The pyannote models have their own terms.

Metadata

Release files for rumblex 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rumblex 0.6.0
File Size Uploaded Provenance Actions
rumblex-0.6.0.tar.gz 149.6 kB With provenance Details for rumblex-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rumblex 0.6.0
File Interpreter ABI Platform Actions
rumblex-0.6.0-py3-none-any.whl Python 3 none any Details for rumblex-0.6.0-py3-none-any.whl

Total release size: 265.8 kB

Release files / rumblex-0.6.0.tar.gz

Download URL rumblex-0.6.0.tar.gz
Size 149.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3fb83809c8aa7430b92ed97666f962551304ca6c584154f0b3a327960c0d18b9
BLAKE2b-256 checksum
How to use checksums
14b50839d147ae3d3db2eaa90a7fb43dfb646139105cef3589a142e292e2097f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / rumblex-0.6.0-py3-none-any.whl

Download URL rumblex-0.6.0-py3-none-any.whl
Size 116.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cc8575c346718726b77f9f8b7a671d85f0eead2cd5d027e71549ad1a5dd8db9
BLAKE2b-256 checksum
How to use checksums
5154fac94d1f928ef5f3f29884afa18c9b78f927f0096c8dd95dce21093867e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for rumblex 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rumblex-0.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page