401 Client Error Unauthorized for url

Hello, I am a very beginner in this field. Recently, I was trying to reproduce a git repo on the high-performance computer at my university. I got the following error message. Then, I used “$ huggingface-cli login” and my token to login, but it didn’t help. The code used ProtBERT but not T5. I wonder why I need this .json file, and what are possible solutions to this problem. Thank you!

401 Client Error: Unauthorized for url: https://huggingface.co/prot_t5_xl_bfd/resolve/main/config.json
File “******/models.py”, line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: ******prot_t5_xl_bfd/resolve/main/config.json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “********python3.8/site-packages/transformers/configuration_utils.py”, line 618, in _get_config_dict
raise EnvironmentError(
OSError: We couldn’t connect to ‘huggingface.co/’ to load this model and it looks like prot_t5_xl_bfd is not the path to a directory conaining a config.json file.
Checkout your internet connection or see how to run the library in offline mode at '

Unis are screwy. I know at mine I had some knucklehead in IT blocking the VNC ports so I had to reroute all my traffic through 80 to get things going. I would imagine it’s along those lines. What you can do is just download the model.bin, config.json, maybe a tokenizer depending on the model to a local folder then load them locally.