Update README.md
Browse files
README.md
CHANGED
@@ -198,7 +198,7 @@ print(content)
|
|
198 |
|
199 |
#### Transcription
|
200 |
|
201 |
-
Voxtral-Small-24B-2507 has powerful transcription capabilities!
|
202 |
|
203 |
Make sure that your client has `mistral-common` with audio installed:
|
204 |
|
@@ -209,6 +209,8 @@ pip install --upgrade mistral_common\[audio\]
|
|
209 |
<details>
|
210 |
<summary>Python snippet</summary>
|
211 |
|
|
|
|
|
212 |
```python
|
213 |
from mistral_common.protocol.transcription.request import TranscriptionRequest
|
214 |
from mistral_common.protocol.instruct.messages import RawAudio
|
|
|
198 |
|
199 |
#### Transcription
|
200 |
|
201 |
+
Voxtral-Small-24B-2507 has powerful transcription capabilities! These are enabled by creating a dedicated `TranscriptionRequest`, which triggers the model's "transcription-mode".
|
202 |
|
203 |
Make sure that your client has `mistral-common` with audio installed:
|
204 |
|
|
|
209 |
<details>
|
210 |
<summary>Python snippet</summary>
|
211 |
|
212 |
+
Setting `language="en"` disables automatic language detection and assumes transcription in the specified language (e.g. English in this example). For automatic language detection, set `language=None`.
|
213 |
+
|
214 |
```python
|
215 |
from mistral_common.protocol.transcription.request import TranscriptionRequest
|
216 |
from mistral_common.protocol.instruct.messages import RawAudio
|