Views
No views yet
speech-llm model type.feat/speech-llm-voxtral — it adds the language_suffix_ids config key that
Voxtral needs. This is the offline Voxtral; the realtime/streaming variant is not part
of this export.encoder.onnx (Whisper-style audio encoder + multi-modal projector,
output already in the language model embedding space), embed_tokens.onnx, and a merged
prefill+decode decoder.onnx with a 30-layer KV cache. The transcription-request token ids
come from mistral-common at export time and are baked into config.json, so no tokenizer is
needed at runtime. fp32 output matches native transformers character-for-character on four
FLEURS clips (2 en, 2 pt). fp32 and int8 graphs are included.1import onnx_asr
2model = onnx_asr.load_model("speech-llm", "path/to/this/repo") # or quantization="int8"
3print(model.recognize("audio_16khz.wav"))
4print(model.recognize("audio_16khz.wav", language="pt"))language argument takes an ISO 639-1 code (en, fr, de, es, it, pt, nl,
hi) or the English name of the language. Without it, Voxtral detects the language itself.| Graph | fp32 | int8 |
|---|---|---|
encoder | 2.65 GB | 0.67 GB |
embed_tokens | 1.61 GB | 0.40 GB |
decoder | 14.45 GB | 3.61 GB |
| total | 18.7 GB | 4.7 GB |