runtime error
Exit code: 1. Reason: 53e53cd88;f9b92e81-1245-4d28-98f7-4e2212cc336a) Cannot access gated repo for url https://huggingface.co/google/gemma-2-2b/resolve/main/config.json. Access to model google/gemma-2-2b 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 28, in <module> tokenizer = AutoTokenizer.from_pretrained(base_model, trust_remote_code=True) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/tokenization_auto.py", line 1078, in from_pretrained config = AutoConfig.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1288, 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 662, 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 721, in _get_config_dict resolved_config_file = cached_file( File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 321, in cached_file file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 542, in cached_files raise OSError( OSError: You are trying to access a gated repo. Make sure to have access to it at https://huggingface.co/google/gemma-2-2b. 401 Client Error. (Request ID: Root=1-68b87a60-25691f3122acee553e53cd88;f9b92e81-1245-4d28-98f7-4e2212cc336a) Cannot access gated repo for url https://huggingface.co/google/gemma-2-2b/resolve/main/config.json. Access to model google/gemma-2-2b is restricted. You must have access to it and be authenticated to access it. Please log in.
Container logs:
Fetching error logs...