argmaxinc / WhisperKit

On-device Speech Recognition for Apple Silicon
http://argmaxinc.com/blog/whisperkit
MIT License
3.92k stars 330 forks source link

~/Documents/huggingface directory gets created even when using `--model-path` in `whisperkit-cli` #96

Closed jonathanlaniado closed 7 months ago

jonathanlaniado commented 7 months ago

Is this intentional or a bug? Any way to disable it?

ZachNagengast commented 7 months ago

It's likely being created for the tokenizer, which is intended. There are some params you can use to avoid this: --download-tokenizer-path (as well as --download-model-folder which will set the base download path if you want to download the models from HF, but if you already have the models downloaded, it's not needed)

jonathanlaniado commented 7 months ago

Ah thank you, that seems to have fixed it!