mudler commited on
Commit
0642a47
·
verified ·
1 Parent(s): bd17bf6

Upload README.md with huggingface_hub

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