castorini / howl

Wake word detection modeling toolkit for Firefox Voice, supporting open datasets like Speech Commands and Common Voice.
Mozilla Public License 2.0
201 stars 30 forks source link

Initial config class #108

Closed ljj7975 closed 2 years ago

ljj7975 commented 2 years ago

I think BaseSettings based system setting is hard to follow because the environment variable is the source. Also, it is hard to setup test environments with BaseSettings.

Also, the current Settings structure needs to be revisited to be flexible.

This MR includes the first version of Config which is a modified version of settings using BaseModel instead of BaseSettings.

Eventually, I'd like to encapsulate all the training logic into a class called Trainer