How to get local files for speechbrain model artifacts #2546
Replies: 2 comments
-
Currently, there is no built-in functionality for this in SpeechBrain, which will always symlink in the save directory. #2476 will help address this usecase, but it is not ready/merged yet. You could just use the Alternatively, since HF repos are just git repositories, you can do something like |
Beta Was this translation helpful? Give feedback.
-
Ok, thanks for getting back to me. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to package up a speechbrain model with some code so that it can be moved and loaded locally on a sagemaker instance. The issue I am having is that the file in the savdir folder seem to be links rather than the actual files themselves.
This means that packaging them up and moving to another environment is useless. Does anyone know how to get speechbrain to download the relevant model file s into the current working directory so that I can package them up to be loaded at runtime in a different environment?
The model in question is speechbrain/spkrec-ecapa-voxceleb.
James
Beta Was this translation helpful? Give feedback.
All reactions