juliendenize sanchit-gandhi commited on
Commit
164070a
·
1 Parent(s): a1e6a9f

Update README.md (#20)

Browse files

- Update README.md (8960a1d34dd0369da972002cf6c676aea4133ad6)
- update (9c5b0fab756879ae3b9a8f8250c32d4dcb47236d)


Co-authored-by: Sanchit Gandhi <sanchit-gandhi@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +16 -10
README.md CHANGED
@@ -42,16 +42,19 @@ This model is released in **BF16** under the **Apache-2 license**, ensuring flex
42
  For more details, see our:
43
  - [Blog post](https://mistral.ai/news/voxtral-transcribe-2)
44
  - [Demo](https://huggingface.co/spaces/mistralai/Voxtral-Mini-Realtime)
45
- - [Technical paper](): Work-in-progress ⏳
46
  - [vLLM's blog on streaming input](https://blog.vllm.ai/2026/01/31/streaming-realtime.html)
47
 
48
 
49
  ## Key Features
50
  Voxtral Mini 4B Realtime consists of two main architectural components:
51
  - **≈3.4B Language Model**
52
- - **≈0.6B Audio Encoder**
53
  - The audio encoder was trained from scratch with causal attention enabling streaming capability
54
- - Both the audio encoder as well as the LLM backbone use sliding window attention allowing for "infinite" streaming.
 
 
 
55
 
56
  The Voxtral Mini 4B Realtime model offers the following capabilities:
57
  - **High-Quality Transcription**: Transcribe audio to text with confidence.
@@ -72,9 +75,9 @@ Bringing real-time transcription capabilities to all.
72
 
73
  We recommend deploying with the following best practices:
74
  - Always set the temperature to 0.0
75
- - A single text-token is worth 80ms. Hence make sure to set your `--max-model-len` accordingly. To live-record a 1h meeting, you need to set `--max-model-len >= 3600 / 0.8 = 45000`.
76
- In theory you should be able to record with no limit; in practice pre-allocations of RoPE parameters among other things limits --max-model-len.
77
- For the best user experience, we recommend to simple instantiate vLLM with the default parameters which will automatically set a maximum model length of 131072 (~ca. 3h).
78
  - We strongly recommend using websockets to set up audio streaming sessions. For more info on how to do so, check [Usage](#usage).
79
  - We recommend using a delay of 480ms as we found it to be the sweet spot of performance and low latency. If, however, you want to adapt the delay, you can change the `"transcription_delay_ms": 480` parameter
80
  in the [tekken.json](https://huggingface.co/mistralai/Voxtral-Mini-4B-Realtime-2602/blob/main/params.json) file to any multiple of 80ms between 80 and 2400.
@@ -82,7 +85,7 @@ We recommend deploying with the following best practices:
82
  ## Benchmark Results
83
 
84
  We compare Voxtral Mini 4B Realtime to similar models - both offline models and realtime.
85
- Voxtral Mini 4B Realtime is competetive to leading offline models and shows significant gains over existing open-source realtime solutions.
86
 
87
  ### Fleurs
88
 
@@ -115,7 +118,7 @@ Voxtral Mini 4B Realtime is competetive to leading offline models and shows sign
115
 
116
  The model can also be deployed with the following libraries:
117
  - [`vllm (recommended)`](https://github.com/vllm-project/vllm): See [here](#vllm-recommended)
118
- - [`transformers`](https://github.com/huggingface/transformers): See [here](#transformers)
119
  - *Community Contributions*: See [here](#community-contributions-untested)
120
 
121
  ### vLLM (recommended)
@@ -199,8 +202,11 @@ For progress, see: https://github.com/huggingface/transformers/pull/43769
199
 
200
  ### Community Contributions (Untested)
201
 
202
- - [Voxtral Realtime in pure C](https://github.com/antirez/voxtral.c) - thanks [Salvatore Sanfilippo](https://github.com/antirez)
203
- - [Voxtral Realtime implemented into mlx-audio framework](https://github.com/Blaizzy/mlx-audio) - thanks [Shreyas Karnik](https://github.com/shreyaskarnik)
 
 
 
204
 
205
  ## License
206
 
 
42
  For more details, see our:
43
  - [Blog post](https://mistral.ai/news/voxtral-transcribe-2)
44
  - [Demo](https://huggingface.co/spaces/mistralai/Voxtral-Mini-Realtime)
45
+ - [Technical report](https://arxiv.org/abs/2602.11298)
46
  - [vLLM's blog on streaming input](https://blog.vllm.ai/2026/01/31/streaming-realtime.html)
47
 
48
 
49
  ## Key Features
50
  Voxtral Mini 4B Realtime consists of two main architectural components:
51
  - **≈3.4B Language Model**
52
+ - **≈970M Audio Encoder**
53
  - The audio encoder was trained from scratch with causal attention enabling streaming capability
54
+ - Both the audio encoder as well as the LLM backbone use sliding window attention allowing for "infinite" streaming
55
+ - For more details, refer to the [technical report](https://arxiv.org/abs/2602.11298)
56
+
57
+ ![Voxtral-Realtime Architecture](https://raw.githubusercontent.com/sanchit-gandhi/notebooks/refs/heads/main/voxtral-realtime.jpeg)
58
 
59
  The Voxtral Mini 4B Realtime model offers the following capabilities:
60
  - **High-Quality Transcription**: Transcribe audio to text with confidence.
 
75
 
76
  We recommend deploying with the following best practices:
77
  - Always set the temperature to 0.0
78
+ - A single text-token is worth 80ms. Hence, make sure to set your `--max-model-len` accordingly. To live-record a 1h meeting, you need to set `--max-model-len >= 3600 / 0.8 = 45000`.
79
+ In theory, you should be able to record with no limit; in practice, pre-allocations of RoPE parameters among other things limits `--max-model-len`.
80
+ For the best user experience, we recommend to simply instantiate vLLM with the default parameters which will automatically set a maximum model length of 131072 (~ca. 3h).
81
  - We strongly recommend using websockets to set up audio streaming sessions. For more info on how to do so, check [Usage](#usage).
82
  - We recommend using a delay of 480ms as we found it to be the sweet spot of performance and low latency. If, however, you want to adapt the delay, you can change the `"transcription_delay_ms": 480` parameter
83
  in the [tekken.json](https://huggingface.co/mistralai/Voxtral-Mini-4B-Realtime-2602/blob/main/params.json) file to any multiple of 80ms between 80 and 2400.
 
85
  ## Benchmark Results
86
 
87
  We compare Voxtral Mini 4B Realtime to similar models - both offline models and realtime.
88
+ Voxtral Mini 4B Realtime is competitive to leading offline models and shows significant gains over existing open-source realtime solutions.
89
 
90
  ### Fleurs
91
 
 
118
 
119
  The model can also be deployed with the following libraries:
120
  - [`vllm (recommended)`](https://github.com/vllm-project/vllm): See [here](#vllm-recommended)
121
+ - [`transformers (WIP)`](https://github.com/huggingface/transformers): See [here](#transformers)
122
  - *Community Contributions*: See [here](#community-contributions-untested)
123
 
124
  ### vLLM (recommended)
 
202
 
203
  ### Community Contributions (Untested)
204
 
205
+ Voxtral Realtime integrations in:
206
+ - [Pure C](https://github.com/antirez/voxtral.c) - thanks [Salvatore Sanfilippo](https://github.com/antirez)
207
+ - [mlx-audio framework](https://github.com/Blaizzy/mlx-audio) - thanks [Shreyas Karnik](https://github.com/shreyaskarnik)
208
+ - [MLX](https://github.com/awni/voxmlx) - thanks [Awni Hannun](https://github.com/awni)
209
+ - [Rust](https://github.com/TrevorS/voxtral-mini-realtime-rs) - thanks [TrevorS](https://github.com/TrevorS)
210
 
211
  ## License
212