Spaces:
RA-BART
Runtime error

runtime error

Space not ready. Reason: Error

Container logs:

[nltk_data] Error loading popular: <urlopen error [Errno -3] Temporary
[nltk_data]     failure in name resolution>
No GPU available, using the CPU instead.
Traceback (most recent call last):
  File "app.py", line 20, in <module>
    commongen_bart = RelationsInference(
  File "/home/user/app/inference.py", line 117, in __init__
    self.tokenizer = self.prepare_tokenizer(relation_names, model_type)
  File "/home/user/app/inference.py", line 124, in prepare_tokenizer
    tokenizer = BartCustomTokenizerFast.from_pretrained('facebook/bart-large')
  File "/home/user/.local/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 1700, in from_pretrained
    resolved_config_file = cached_file(
  File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/hub.py", line 409, in cached_file
    resolved_file = hf_hub_download(
  File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1136, in hf_hub_download
    with open(ref_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.cache/huggingface/hub/models--facebook--bart-large/refs/main'