File size: 2,030 Bytes
bd64ecd
 
f746dcb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bd64ecd
f746dcb
 
 
 
fb4b51b
f746dcb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1a2ad15
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
license: cc-by-4.0
language:
- is
datasets:
- language-and-voice-lab/samromur_asr
- language-and-voice-lab/samromur_children
- language-and-voice-lab/malromur_asr
- language-and-voice-lab/althingi_asr
tags:
- audio
- automatic-speech-recognition
- icelandic
- whisper
- whisper-large
- iceland
- reykjavik
- samromur
- faster-whisper
---
# whisper-large-icelandic-30k-steps-1000h-ct2

This is a faster-whisper version of [language-and-voice-lab/whisper-large-icelandic-30k-steps-1000h](https://huggingface.co/language-and-voice-lab/whisper-large-icelandic-30k-steps-1000h).

The model was created like described in [faster-whisper](https://github.com/guillaumekln/faster-whisper/tree/master):

```bash
ct2-transformers-converter --model language-and-voice-lab/whisper-large-icelandic-30k-steps-1000h \
    --output_dir whisper-large-icelandic-30k-steps-1000h-ct2 \
    --quantization float16
```

# Usage

```python
from faster_whisper import WhisperModel

model_size = "whisper-large-icelandic-30k-steps-1000h-ct2"

# Run on GPU with FP16
model = WhisperModel(model_size, device="cuda", compute_type="float16")

# or run on GPU with INT8
# model = WhisperModel(model_size, device="cuda", compute_type="int8_float16")
# or run on CPU with INT8
# model = WhisperModel(model_size, device="cpu", compute_type="int8")

segments, info = model.transcribe("audio.mp3", beam_size=5)

print("Detected language '%s' with probability %f" % (info.language, info.language_probability))

for segment in segments:
    print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
```

# BibTeX entry and citation info
*When publishing results based on these models please refer to:*
```bibtex
@misc{gunnarsson2023whisperlarge30kicelandicct2,
    title={Acoustic Model in Icelandic: whisper-large-icelandic-30k-steps-1000h-ct2.}, 
    author={Gunnarsson, Thorsteinn Dadi and Hernandez Mena, Carlos Daniel},
    url={https://huggingface.co/language-and-voice-lab/whisper-large-icelandic-30k-steps-1000h-ct2},
    year={2023}
}
```