mudler commited on
Commit
3bc2b31
·
verified ·
1 Parent(s): 9bfac15

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +25 -0
README.md CHANGED
@@ -20,6 +20,31 @@ Fine-tuned [openai/whisper-small](https://huggingface.co/openai/whisper-small) (
20
 
21
  Brought to you by the [LocalAI](https://github.com/mudler/LocalAI) team. This model can be used directly with [LocalAI](https://localai.io).
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  ## Results
24
 
25
  Evaluated on Common Voice 25.0 Italian test set (15,184 samples):
 
20
 
21
  Brought to you by the [LocalAI](https://github.com/mudler/LocalAI) team. This model can be used directly with [LocalAI](https://localai.io).
22
 
23
+ ## Usage with LocalAI
24
+
25
+ This model is ready to use with [LocalAI](https://localai.io) via the `whisperx` backend.
26
+
27
+ Save the following as `whisperx-small-it.yaml` in your LocalAI models directory:
28
+
29
+ ```yaml
30
+ name: whisperx-small-it
31
+ backend: whisperx
32
+ known_usecases:
33
+ - transcript
34
+ parameters:
35
+ model: LocalAI-io/whisper-small-it-ct2-int8
36
+ language: it
37
+ ```
38
+
39
+ Then transcribe audio via the OpenAI-compatible endpoint:
40
+
41
+ ```bash
42
+ curl http://localhost:8080/v1/audio/transcriptions \
43
+ -H "Content-Type: multipart/form-data" \
44
+ -F file="@audio.mp3" \
45
+ -F model="whisperx-small-it"
46
+ ```
47
+
48
  ## Results
49
 
50
  Evaluated on Common Voice 25.0 Italian test set (15,184 samples):