Views
No views yet
writeup.mdpip install git+https://github.com/fluxions-ai/whisperdrz1whisperdrz audio.wav # defaults: this model, --lang en
2whisperdrz audio.wav --output_format json > out.json
3whisperdrz audio.wav --lang auto # auto-detect language1import whisperdrz
2from whisperdrz.audio import load_audio, SAMPLE_RATE
3
4transcriber = whisperdrz.load_model("whisperdrz-large-v3.safetensors", lang="en")
5
6audio, _ = load_audio("audio.wav", sample_rate=SAMPLE_RATE)
7result = transcriber.transcribe(audio.mean(0)) # mono, 16 kHz
8
9print(result.text) # speaker-tagged text with timestamps
10print(result.segments) # list of {speaker, start, end, text}load_model at this repo id (fluxions/whisperdrz) directly.[0] <|0.00|>Hello<|0.45|> there <|0.80|>world.<|1.10|>
[1] <|1.20|>Hi<|1.40|> <|1.45|>[laugh]<|1.60|> <|1.70|>there.<|1.95|>[0], [1], ... are speaker IDs; [c] marks crowd/ambient.<|t|> are timestamps in seconds (two decimals), always in a pair wrapping a word or tag.[laugh], [breath], and similar are non-speech event tags.| Benchmark | WER | DER (miss / FA / conf) | cpWER / tcpWER |
|---|---|---|---|
| ESB (English ASR, 1000 utts) | 9.6% macro / 5.9% micro | — | — |
| Internal conversational (26 clips) | 11.1% | — (WDER 33%) | 46% cpWER |
| VoxConverse dev (216, overlap-heavy) | — | 26.3% (3.1 / 15.8 / 7.5) | — |
| CALLHOME eng (140, 2-spk telephone) | — | 38.6% (5.9 / 14.0 / 18.7) | — |
| AMI test (16 meetings, Mix-Headset) | 22.8% | 50.6% (10.6 / 28.9 / 11.1) | 72% / 84% |
| Benchmark | DER (ungated) | + silero VAD | + oracle VAD |
|---|---|---|---|
| VoxConverse dev | 26.3% | 24.0% | 20.9% |
| CALLHOME eng | 38.6% | 34.2% | 28.6% |
| AMI test | 50.6% | 40.6% | 31.1% |