Closed acul3 closed 3 years ago
Encountered the same problem right now, looks like it was a T5 (not mT5) problem, so I issued a PR there.
If you're on a rush, as a temporary workaround I think you may create the sentencepiece vocabulary in the following way:
DEFAULT_VOCAB = t5.data.SentencePieceVocabulary(DEFAULT_SPM_PATH, extra_ids=0)
i got vocab error when finetuning using MtfModel
if i downgrade to package t5==0.7.1 the error gone
here is my MtModel config