Automatic Speech Recognition
Italian
whisper
italian
ctranslate2
faster-whisper
whisperx
localai
int8
mudler commited on
Commit
d2143b3
·
verified ·
1 Parent(s): 51c7184

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +55 -0
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: it
3
+ license: mit
4
+ tags:
5
+ - whisper
6
+ - automatic-speech-recognition
7
+ - italian
8
+ - ctranslate2
9
+ - faster-whisper
10
+ - whisperx
11
+ - localai
12
+ - int8
13
+ datasets:
14
+ - mozilla-foundation/common_voice_25_0
15
+ - facebook/multilingual_librispeech
16
+ - facebook/voxpopuli
17
+ base_model: openai/whisper-tiny
18
+ pipeline_tag: automatic-speech-recognition
19
+ ---
20
+
21
+ # whisper-tiny-it-multi-ct2-int8
22
+
23
+ [CTranslate2](https://github.com/OpenNMT/CTranslate2) INT8 quantized version of [LocalAI-io/whisper-tiny-it-multi](https://huggingface.co/LocalAI-io/whisper-tiny-it-multi) for fast CPU inference.
24
+
25
+ **Author:** Ettore Di Giacinto
26
+
27
+ Brought to you by the [LocalAI](https://github.com/mudler/LocalAI) team. This model can be used directly with [LocalAI](https://localai.io).
28
+
29
+ ## Usage
30
+
31
+ ### faster-whisper
32
+
33
+ ```python
34
+ from faster_whisper import WhisperModel
35
+
36
+ model = WhisperModel("LocalAI-io/whisper-tiny-it-multi-ct2-int8", device="cpu", compute_type="int8")
37
+ segments, info = model.transcribe("audio.mp3", language="it")
38
+ for segment in segments:
39
+ print(f"[{segment.start:.1f}s - {segment.end:.1f}s] {segment.text}")
40
+ ```
41
+
42
+ ### WhisperX
43
+
44
+ ```python
45
+ import whisperx
46
+
47
+ model = whisperx.load_model("LocalAI-io/whisper-tiny-it-multi-ct2-int8", device="cpu", compute_type="int8")
48
+ result = model.transcribe("audio.mp3", language="it")
49
+ ```
50
+
51
+ ## Links
52
+
53
+ - **HF Safetensors:** [LocalAI-io/whisper-tiny-it-multi](https://huggingface.co/LocalAI-io/whisper-tiny-it-multi)
54
+ - **Code:** [github.com/localai-org/whisper-it](https://github.com/localai-org/whisper-it)
55
+ - **LocalAI:** [github.com/mudler/LocalAI](https://github.com/mudler/LocalAI)