runtime error
Exit code: 1. Reason: ine 388, in _request_wrapper hf_raise_for_status(response) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 423, in hf_raise_for_status raise _format(GatedRepoError, message, response) from e huggingface_hub.errors.GatedRepoError: 403 Client Error. (Request ID: Root=1-6714ccea-08bfb659792d971c5fde68f5;4e8cd521-b6c0-4970-9436-71389f6c6266) Cannot access gated repo for url https://huggingface.co./meta-llama/Llama-2-7b-chat-hf/resolve/main/config.json. Access to model meta-llama/Llama-2-7b-chat-hf is restricted and you are not in the authorized list. Visit https://huggingface.co./meta-llama/Llama-2-7b-chat-hf to ask for access. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 21, in <module> base_model = AutoModelForCausalLM.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 482, in from_pretrained config, kwargs = AutoConfig.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1007, 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 620, 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 675, in _get_config_dict resolved_config_file = cached_file( File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 443, in cached_file raise EnvironmentError( OSError: You are trying to access a gated repo. Make sure to request access at https://huggingface.co./meta-llama/Llama-2-7b-chat-hf and pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>`.
Container logs:
Fetching error logs...