Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -38,13 +38,17 @@ basert serve --model whisper-small-F16.base
|
|
| 38 |
```
|
| 39 |
|
| 40 |
`POST /v1/audio/transcriptions` (multipart or JSON) returns `json`, `text`,
|
| 41 |
-
`srt`, `vtt`, or `verbose_json`
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
```bash
|
| 45 |
-
basert-transcribe whisper-small-F16.base audio.wav
|
| 46 |
```
|
| 47 |
|
| 48 |
-
Multilingual: pass `language` (e.g. `--lang de`)
|
| 49 |
|
| 50 |
Released under the apache-2.0 license, inherited from the base model.
|
|
|
|
| 38 |
```
|
| 39 |
|
| 40 |
`POST /v1/audio/transcriptions` (multipart or JSON) returns `json`, `text`,
|
| 41 |
+
`srt`, `vtt`, or `verbose_json` (with per-segment `avg_logprob` /
|
| 42 |
+
`no_speech_prob` / `compression_ratio` / `temperature` and the detected
|
| 43 |
+
`language`), with optional SSE streaming and `POST /v1/audio/translations`. Supported
|
| 44 |
+
request fields: `language` (or `"auto"` to detect), `prompt`
|
| 45 |
+
(initial prompt / vocabulary bias), `task` (`transcribe`/`translate`). Or transcribe directly
|
| 46 |
+
from the CLI:
|
| 47 |
|
| 48 |
```bash
|
| 49 |
+
basert-transcribe whisper-small-F16.base audio.wav --lang auto
|
| 50 |
```
|
| 51 |
|
| 52 |
+
Multilingual: pass `language` (e.g. `--lang de`), or `auto` to detect, across the 99 supported languages. `task=translate` produces English from any source language (also via `POST /v1/audio/translations`).
|
| 53 |
|
| 54 |
Released under the apache-2.0 license, inherited from the base model.
|