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