These notebooks make and measure wake words and text-to-speech voices for OpenVoiceOS, an open source voice assistant. Each notebook runs for free in your browser on Kaggle. Click "Open in Kaggle", turn on Internet (and a GPU when the table says so), and click Run All. You do not need to install anything.
New to notebooks? The getting started guide explains Kaggle and Colab step by step. The documentation index lists every guide. You can also let an AI coding agent run the notebooks for you: see Use an AI coding agent.
A wake word is the phrase that makes the assistant start to listen, for example "hey mycroft". Start with
kaggle_quickstart_ww: it makes a wake-word model for any phrase, from start to end. Train a wake word
explains this group.
| Notebook | What it does | Needs | Run |
|---|---|---|---|
kaggle_quickstart_ww |
Train a wake-word model for any phrase, start to finish | GPU | |
synthetic_ww_dataset |
Make a wake-word dataset. Run it several times, and train the quickstart on all the runs | GPU | |
ww_train_streaming |
Train a streaming wake-word model from a dataset made by synthetic_ww_dataset |
CPU | |
tts2ww_full_pipeline |
Make a larger set of examples of your phrase, with noise and room echo | GPU |
A text-to-speech (TTS) voice reads text aloud. Start with tts_dataset_gen, which makes a dataset in one voice, and
then train_vits, which trains the voice. Train a TTS voice explains this group, with two
complete tutorials.
| Notebook | What it does | Needs | Run |
|---|---|---|---|
tts_dataset_gen |
Make a dataset: a speech model reads about 2,000 sentences in your language, in one voice | GPU | |
train_vits |
Train the voice, starting from a finished voice, and export it as an .onnx file |
GPU | |
asr2tts |
Turn transcribed recordings, such as Common Voice, into a single-voice TTS dataset | CPU | |
tts_corpus_ingest |
Read existing recordings into a list of clips for the next notebooks | CPU | |
tts_enhance |
Remove noise and restore the sound of every clip | CPU, or a GPU for the demo | |
tts_measure |
Give every clip quality scores | GPU for the demo | |
tts_select |
Keep the best clips of a dataset | CPU | |
tts_voice_convert |
Convert every clip of a dataset to a target voice | CPU, or a GPU for the demo | |
tts_publish |
Publish a finished dataset to Hugging Face | GPU for the demo |
The notebooks in benchmarks/ measure OpenVoiceOS plugins with the
plugin arena, which publishes its results on Hugging Face.
Benchmarks explains them.
| Notebook | What it does | Needs | Run |
|---|---|---|---|
ww_leaderboard |
Read the published wake-word results of the boards that the arena lists, score them again with the arena's code, and compare the plugins | CPU | |
ww_benchmark |
Install every wake-word plugin, run each one on the same test clips, and score it with the arena's code | CPU | |
intent_benchmark |
Install the intent pipeline plugins, train each intent fighter on the arena's intent test sets, and score it with the arena's code | CPU |
Licensed under the Apache License 2.0. To change a notebook, see CONTRIBUTING.md.
Developed by TigreGotico for OpenVoiceOS.
This project was funded through the NGI0 Commons Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101135429.
