-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'HF_HOME' #13
Comments
Same error in |
Hi, where <directory_path_for_huggingface_cache> can be any directory that can store huggingface cache. This link https://stackoverflow.com/questions/63312859/how-to-change-huggingface-transformers-default-cache-directory is to set transformers cache directory but the idea is the same for huggingface cache too. |
Thank you! |
Hi!
I was trying to run the example in README, but it says
KeyError: 'HF_HOME'
This is the script I used:
python -m src.pl_train -c t03b.json+rte.json -k save_model=False exp_name=first_exp
I can't find anywhere in the code that sets the value of this environment variable.
The text was updated successfully, but these errors were encountered: