Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Add ability to specify multiple target words + negative words to automatic training colab #129

Closed
twitchyliquid64 opened this issue Feb 28, 2024 · 1 comment

Comments

@twitchyliquid64
Copy link

Heya!

I'm working on training a bunch of keywords, and it would be useful if I could add multiple pronunciations (i.e I'm australian but my gf is american) as well as negative examples (training 'turn on' vs 'turn off').

@dscripka
Copy link
Owner

dscripka commented Mar 3, 2024

The config file used in train.py does support some features that might be similar to what you are describing. The more complete example training notebook shows how you can adjust the config parameters for greater control over the training process.

Specifically:

target_phrase allows you specify multiple wakewords (including those with different pronunciation) when training a model.

custom_negative_phrases allows you to specify specific words/phrases that will be added to the negative training data so (hopefully) the model will be less likely to activate on them.

@dscripka dscripka closed this as completed Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants