Change cache directory

I am trying to change the default cache directory of where the models are installed to.

I have attempted to change the environment variable

set HF_DATASETS_CACHE=“D:/Users/b/Downloads/cache/”

However, it is still installing in the .cache folder instead. How can I resolve this?

1 Like