mudler commited on
Commit
6c655b3
·
verified ·
1 Parent(s): b6bc6ea

Upload README.md with huggingface_hub

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