feat: add local speech platform (#1671)

Fixes #1646
This commit is contained in:
Palash Debnath
2026-08-27 19:51:07 +05:30
committed by GitHub
parent 078bad8e0f
commit b92d35ac5d
21 changed files with 1611 additions and 19 deletions
+3 -2
View File
@@ -1,12 +1,14 @@
# VoiceStudio Examples
This directory contains scripts and configs for training, fine-tuning, and evaluating VoiceStudio.
This directory contains integration examples plus scripts and configs for
training, fine-tuning, and evaluating VoiceStudio.
| Use Case | Script | Description |
|---|---|---|
| Training from scratch | [run_emilia.sh](run_emilia.sh) | Full pipeline on the Emilia dataset (data check, tokenization, training) |
| Fine-tuning | [run_finetune.sh](run_finetune.sh) | Fine-tune from a pretrained checkpoint using your own JSONL data |
| Evaluation | [run_eval.sh](run_eval.sh) | Evaluate WER, speaker similarity, and UTMOS on standard test sets |
| Herdr dictation | [speech-platform/herdr-config.toml](speech-platform/herdr-config.toml) | Trigger the bundled Rust dictation sidecar from detached Herdr command bindings |
---
@@ -115,4 +117,3 @@ bash examples/run_eval.sh
```
> See [docs/evaluation.md](../docs/evaluation.md) for metrics details, test set preparation, and running individual metrics.
@@ -0,0 +1,21 @@
# Merge these detached command bindings into ~/.config/herdr/config.toml.
# Herdr leaves the current pane focused while VoiceStudio captures its native
# insertion target, so the transcript returns to the pane that started it.
[[keys.command]]
key = "prefix+alt+d"
type = "shell"
command = "curl -fsS -X POST http://127.0.0.1:3902/v1/dictation/toggle"
description = "toggle VoiceStudio dictation"
[[keys.command]]
key = "prefix+alt+s"
type = "shell"
command = "curl -fsS -X POST http://127.0.0.1:3902/v1/dictation/start"
description = "start VoiceStudio dictation"
[[keys.command]]
key = "prefix+alt+x"
type = "shell"
command = "curl -fsS -X POST http://127.0.0.1:3902/v1/dictation/stop"
description = "stop VoiceStudio dictation"