runtime error
Exit code: 1. Reason: The tokenizer class you load from this checkpoint is not the same type as the class this function is called from. It may result in unexpected tokenization. The tokenizer class you load from this checkpoint is 'RobertaTokenizer'. The class this function is called from is 'T5Tokenizer'. Traceback (most recent call last): File "/home/user/app/app.py", line 8, in <module> tokenizer = T5Tokenizer.from_pretrained(model_name) File "/usr/local/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2032, in from_pretrained return cls._from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2272, in _from_pretrained tokenizer = cls(*init_inputs, **init_kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/models/t5/tokenization_t5.py", line 150, in __init__ self.sp_model.Load(vocab_file) File "/usr/local/lib/python3.10/site-packages/sentencepiece/__init__.py", line 961, in Load return self.LoadFromFile(model_file) File "/usr/local/lib/python3.10/site-packages/sentencepiece/__init__.py", line 316, in LoadFromFile return _sentencepiece.SentencePieceProcessor_LoadFromFile(self, arg) TypeError: not a string
Container logs:
Fetching error logs...