Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: openai/whisper-small
|
| 4 |
+
library_name: basert
|
| 5 |
+
pipeline_tag: automatic-speech-recognition
|
| 6 |
+
tags:
|
| 7 |
+
- basert
|
| 8 |
+
- apple-silicon
|
| 9 |
+
- whisper
|
| 10 |
+
- speech-recognition
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# whisper-small
|
| 14 |
+
|
| 15 |
+
[BaseRT](https://github.com/basecompute/baseRT) `.base` build of
|
| 16 |
+
[`openai/whisper-small`](https://huggingface.co/openai/whisper-small),
|
| 17 |
+
OpenAI's 244M-parameter Whisper speech-recognition model,
|
| 18 |
+
for fast local transcription on Apple Silicon.
|
| 19 |
+
|
| 20 |
+
## Files
|
| 21 |
+
|
| 22 |
+
| File | Precision | Size |
|
| 23 |
+
|------|-----------|------|
|
| 24 |
+
| `whisper-small-F16.base` | float16 | 489 MB |
|
| 25 |
+
|
| 26 |
+
## Usage
|
| 27 |
+
|
| 28 |
+
```bash
|
| 29 |
+
curl -LsSf https://basecompute.co/install.sh | sh
|
| 30 |
+
basert serve --model whisper-small-F16.base
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
`POST /v1/audio/transcriptions` (multipart or JSON) returns `json`, `text`,
|
| 34 |
+
`srt`, `vtt`, or `verbose_json`, with optional SSE streaming. Or transcribe
|
| 35 |
+
directly from the CLI:
|
| 36 |
+
|
| 37 |
+
```bash
|
| 38 |
+
basert-transcribe whisper-small-F16.base audio.wav
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
Multilingual: pass `language` (e.g. `--lang de`) to select any of the 99 supported languages.
|
| 42 |
+
|
| 43 |
+
Released under the apache-2.0 license, inherited from the base model.
|