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

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +25 -0
README.md CHANGED
@@ -26,6 +26,31 @@ pipeline_tag: automatic-speech-recognition
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
 
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 with LocalAI
30
+
31
+ This model is ready to use with [LocalAI](https://localai.io) via the `whisperx` backend.
32
+
33
+ Save the following as `whisperx-tiny-it-multi.yaml` in your LocalAI models directory:
34
+
35
+ ```yaml
36
+ name: whisperx-tiny-it-multi
37
+ backend: whisperx
38
+ known_usecases:
39
+ - transcript
40
+ parameters:
41
+ model: LocalAI-io/whisper-tiny-it-multi-ct2-int8
42
+ language: it
43
+ ```
44
+
45
+ Then transcribe audio via the OpenAI-compatible endpoint:
46
+
47
+ ```bash
48
+ curl http://localhost:8080/v1/audio/transcriptions \
49
+ -H "Content-Type: multipart/form-data" \
50
+ -F file="@audio.mp3" \
51
+ -F model="whisperx-tiny-it-multi"
52
+ ```
53
+
54
  ## Usage
55
 
56
  ### faster-whisper