runtime error
Exit code: 1. Reason: on3.9/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.9/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.9/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) [Previous line repeated 1 more time] File "/usr/local/lib/python3.9/os.py", line 225, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/.cache' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "//app.py", line 7, in <module> model = pipeline("sentiment-analysis") File "/usr/local/lib/python3.9/site-packages/transformers/pipelines/__init__.py", line 969, in pipeline config = AutoConfig.from_pretrained(model, _from_pipeline=task, **hub_kwargs, **model_kwargs) File "/usr/local/lib/python3.9/site-packages/transformers/models/auto/configuration_auto.py", line 1250, in from_pretrained config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs) File "/usr/local/lib/python3.9/site-packages/transformers/configuration_utils.py", line 649, in get_config_dict config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs) File "/usr/local/lib/python3.9/site-packages/transformers/configuration_utils.py", line 708, in _get_config_dict resolved_config_file = cached_file( File "/usr/local/lib/python3.9/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.9/site-packages/transformers/utils/hub.py", line 524, in cached_files raise OSError( OSError: PermissionError at /.cache when downloading distilbert/distilbert-base-uncased-finetuned-sst-2-english. Check cache directory permissions. Common causes: 1) another user is downloading the same model (please wait); 2) a previous download was canceled and the lock file needs manual removal.
Container logs:
Fetching error logs...