Trying to upload “IlyaGusev/mbart_ru_sum_gazeta” model and tokenizer I have met with one problem: loaded tokenizer is empty. For modell all are Ok. This result is observed in Google Colab notebook.
MODEL_NAME = 'IlyaGusev/mbart_ru_sum_gazeta'
tokenizer = MBartTokenizer.from_pretrained(MODEL_NAME)
model = MBartForConditionalGeneration.from_pretrained(MODEL_NAME)
Also I have made other experiment - I cloned repositary localy. As result
OSError: Unable to load weights from pytorch checkpoint file for… If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.
Please explain me what is wrong in my code…