runtime error
cal/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 1956, in _from_pretrained tokenizer = cls(*init_inputs, **init_kwargs) File "/home/user/.local/lib/python3.8/site-packages/transformers/models/xlm_roberta/tokenization_xlm_roberta.py", line 168, in __init__ self.sp_model.Load(str(vocab_file)) File "/home/user/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 905, in Load return self.LoadFromFile(model_file) File "/home/user/.local/lib/python3.8/site-packages/sentencepiece/__init__.py", line 310, in LoadFromFile return _sentencepiece.SentencePieceProcessor_LoadFromFile(self, arg) OSError: Not found: "None": No such file or directory Error #2 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "app.py", line 20, in <module> pretrained_model = DonutModel.from_pretrained("RustX/donut-base-finetuned-insurance") File "/home/user/.local/lib/python3.8/site-packages/donut/model.py", line 593, in from_pretrained model = super(DonutModel, cls).from_pretrained(pretrained_model_name_or_path, revision="official", *model_args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/transformers/modeling_utils.py", line 2276, in from_pretrained model = cls(config, *model_args, **model_kwargs) File "/home/user/.local/lib/python3.8/site-packages/donut/model.py", line 389, in __init__ self.decoder = BARTDecoder( File "/home/user/.local/lib/python3.8/site-packages/donut/model.py", line 159, in __init__ self.tokenizer = XLMRobertaTokenizer.from_pretrained( File "/home/user/.local/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 1801, in from_pretrained return cls._from_pretrained( File "/home/user/.local/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 1958, in _from_pretrained raise OSError( OSError: Unable to load vocabulary from file. Please check that the provided vocabulary is accessible and not corrupted.
Container logs:
Fetching error logs...