runtime error
Exit code: 1. Reason: at(GatedRepoError, message, response) from e huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-67493cfd-0a1cebb953b2c64210ebd5a5;bdfbdef0-ba38-4c10-9e1c-58aeab57d6b7) Cannot access gated repo for url https://huggingface.co/meta-llama/CodeLlama-7b-hf/resolve/main/config.json. Access to model meta-llama/CodeLlama-7b-hf is restricted. You must have access to it and be authenticated to access it. Please log in. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 11, in <module> tokenizer = AutoTokenizer.from_pretrained(model_name, token=my_token) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/tokenization_auto.py", line 877, in from_pretrained config = AutoConfig.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1017, in from_pretrained config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 574, in get_config_dict config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 633, in _get_config_dict resolved_config_file = cached_file( File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 421, in cached_file raise EnvironmentError( OSError: You are trying to access a gated repo. Make sure to have access to it at https://huggingface.co/meta-llama/CodeLlama-7b-hf. 401 Client Error. (Request ID: Root=1-67493cfd-0a1cebb953b2c64210ebd5a5;bdfbdef0-ba38-4c10-9e1c-58aeab57d6b7) Cannot access gated repo for url https://huggingface.co/meta-llama/CodeLlama-7b-hf/resolve/main/config.json. Access to model meta-llama/CodeLlama-7b-hf is restricted. You must have access to it and be authenticated to access it. Please log in.
Container logs:
Fetching error logs...