runtime error
metadata = get_hf_file_metadata( File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1606, in get_hf_file_metadata hf_raise_for_status(r) File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 277, in hf_raise_for_status raise GatedRepoError(message, response) from e huggingface_hub.utils._errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-650dfeb3-0548eba470aa94ba31c10bef;46aadb31-e48a-4a11-afa5-c555364527de) Cannot access gated repo for url https://huggingface.co/meta-llama/Llama-2-7b-chat-hf/resolve/main/tokenizer_config.json. Repo model meta-llama/Llama-2-7b-chat-hf is gated. You must be authenticated to access it. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 6, in <module> from model import get_input_token_length, run File "/home/user/app/model.py", line 17, in <module> tokenizer = AutoTokenizer.from_pretrained(model_id) File "/home/user/.local/lib/python3.10/site-packages/transformers/models/auto/tokenization_auto.py", line 652, in from_pretrained tokenizer_config = get_tokenizer_config(pretrained_model_name_or_path, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/transformers/models/auto/tokenization_auto.py", line 496, in get_tokenizer_config resolved_config_file = cached_file( File "/home/user/.local/lib/python3.10/site-packages/transformers/utils/hub.py", line 433, in cached_file raise EnvironmentError( OSError: meta-llama/Llama-2-7b-chat-hf is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' If this is a private repository, make sure to pass a token having permission to this repo with `use_auth_token` or log in with `huggingface-cli login` and pass `use_auth_token=True`.
Container logs:
Fetching error logs...