runtime error
Exit code: 1. Reason: local/lib/python3.10/site-packages/requests/models.py", line 439, in prepare_url raise MissingSchema( requests.exceptions.MissingSchema: Invalid URL '/api/resolve-cache/models/textattack/roberta-base-SST-2/84ee248b91053ef5d0c748bbac4edfba1cf89584/config.json?%2Ftextattack%2Froberta-base-SST-2%2Fresolve%2Fmain%2Fconfig.json=&etag=%222d71c540eb42e8b36c57fc2d4499a225373dd73d%22': No scheme supplied. Perhaps you meant https:///api/resolve-cache/models/textattack/roberta-base-SST-2/84ee248b91053ef5d0c748bbac4edfba1cf89584/config.json?%2Ftextattack%2Froberta-base-SST-2%2Fresolve%2Fmain%2Fconfig.json=&etag=%222d71c540eb42e8b36c57fc2d4499a225373dd73d%22? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 18, in <module> model = RobertaForSequenceClassification.from_pretrained("textattack/roberta-base-SST-2").to(device) File "/home/user/.local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1840, in from_pretrained config, model_kwargs = cls.config_class.from_pretrained( File "/home/user/.local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 534, in from_pretrained config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 561, in get_config_dict config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 656, in _get_config_dict raise EnvironmentError( OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like textattack/roberta-base-SST-2 is not the path to a directory containing a config.json file. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.
Container logs:
Fetching error logs...