stackoverflow.com/questions/63312859/how-to-change-huggingface-transformers-default-cache-directory
1 Users
0 Comments
1 Highlights
0 Notes
Tags
Top Highlights
Pretrained models are downloaded and locally cached at: ~/.cache/huggingface/transformers/. This is the default directory given by the shell environment variable TRANSFORMERS_CACHE. On Windows, the default directory is given by C:\Users\username.cache\huggingface\transformers. You can change the shell environment variables shown below - in order of priority - to specify a different cache directory: Shell environment variable (default): TRANSFORMERS_CACHE. Shell environment variable: HF_HOME + transformers/. Shell environment variable: XDG_CACHE_HOME + /huggingface/transformers.
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.