Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,39 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
2 |
license: mit
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- sr
|
4 |
+
tags:
|
5 |
+
- audio
|
6 |
+
- automatic-speech-recognition
|
7 |
license: mit
|
8 |
+
library_name: ctranslate2
|
9 |
---
|
10 |
+
# Whisper large-v3 Serbian fine-tunned model for CTranslate2
|
11 |
+
|
12 |
+
This repository contains the conversion of [Sagicc/whisper-large-v3-sr-combined](https://huggingface.co/Sagicc/whisper-large-v3-sr-combined) to the [CTranslate2](https://github.com/OpenNMT/CTranslate2) model format.
|
13 |
+
|
14 |
+
This model can be used in CTranslate2 or projects based on CTranslate2 such as [faster-whisper](https://github.com/guillaumekln/faster-whisper).
|
15 |
+
|
16 |
+
## Example
|
17 |
+
|
18 |
+
```python
|
19 |
+
from faster_whisper import WhisperModel
|
20 |
+
model = WhisperModel("Sagicc/faster-whisper-large-v3-sr")
|
21 |
+
segments, info = model.transcribe("audio.mp3")
|
22 |
+
for segment in segments:
|
23 |
+
print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
|
24 |
+
```
|
25 |
+
|
26 |
+
## Conversion details
|
27 |
+
|
28 |
+
The original model was converted with the following command:
|
29 |
+
|
30 |
+
```
|
31 |
+
ct2-transformers-converter --model openai/whisper-large-v3 --output_dir faster-whisper-large-v3 \
|
32 |
+
--copy_files tokenizer.json --quantization float16
|
33 |
+
```
|
34 |
+
|
35 |
+
Note that the model weights are saved in FP16. This type can be changed when the model is loaded using the [`compute_type` option in CTranslate2](https://opennmt.net/CTranslate2/quantization.html).
|
36 |
+
|
37 |
+
## More information
|
38 |
+
|
39 |
+
**For more information about the fine-tunned model, see its [model card](https://huggingface.co/Sagicc/whisper-large-v3-sr-combined).**
|