x4nth055/pythoncode-tutorials

using_t5.py throw Unable to load vocabulary from file. Please check that the provided vocabulary is accessible and not corrupted.

doritnap opened this issue · 1 comments

I'm trying to use the using_t5.py script, but i get the above error.
I'm running on WIn10, python 3.8.
Transformers 4.3.3.

Any idea?

Thanks,
Dorit

Hey @doritnap ,

Sorry for the late response. After some research, you need to update transformers to the current version (4.10.0), and install sentencepiece library:

$ pip install --upgrade transformers sentencepiece

Hope this helps,
Thanks!