runtime error
e-packages/huggingface_hub/utils/_errors.py", line 321, in hf_raise_for_status raise GatedRepoError(message, response) from e huggingface_hub.utils._errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-666b0607-695bfade53b975976ac7bc06;3dc8da46-8820-4c7a-a977-30f63e6c4580) 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 be authenticated to access it. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 12, in <module> pipe = pipeline("text-generation", model="meta-llama/CodeLlama-7b-hf") File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/__init__.py", line 816, in pipeline config = AutoConfig.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 928, 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 631, 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 686, in _get_config_dict resolved_config_file = cached_file( File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 416, 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-666b0607-695bfade53b975976ac7bc06;3dc8da46-8820-4c7a-a977-30f63e6c4580) 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 be authenticated to access it.
Container logs:
Fetching error logs...