runtime error
Space failed. Exit code: 3. Reason: otstrap>", line 228, in _call_with_frames_removed File "/code/app.py", line 42, in <module> model = SentenceTransformer("bert-base-nli-mean-tokens", cache_folder = "/code/", use_auth_token=HF_TOKEN) File "/usr/local/lib/python3.9/site-packages/sentence_transformers/SentenceTransformer.py", line 205, in __init__ modules = self._load_auto_model( File "/usr/local/lib/python3.9/site-packages/sentence_transformers/SentenceTransformer.py", line 1197, in _load_auto_model transformer_model = Transformer( File "/usr/local/lib/python3.9/site-packages/sentence_transformers/models/Transformer.py", line 35, in __init__ config = AutoConfig.from_pretrained(model_name_or_path, **model_args, cache_dir=cache_dir) File "/usr/local/lib/python3.9/site-packages/transformers/models/auto/configuration_auto.py", line 928, 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 631, 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 686, in _get_config_dict resolved_config_file = cached_file( File "/usr/local/lib/python3.9/site-packages/transformers/utils/hub.py", line 421, in cached_file raise EnvironmentError( OSError: sentence-transformers/bert-base-nli-mean-tokens 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 either by logging in with `huggingface-cli login` or by passing `token=<your_token>` [2024-06-10 09:26:46 +0000] [7] [INFO] Worker exiting (pid: 7) [2024-06-10 09:26:47 +0000] [1] [ERROR] Worker (pid:7) exited with code 3 [2024-06-10 09:26:47 +0000] [1] [ERROR] Shutting down: Master [2024-06-10 09:26:47 +0000] [1] [ERROR] Reason: Worker failed to boot.
Container logs:
Fetching error logs...