pythoncode-tutorials icon indicating copy to clipboard operation
pythoncode-tutorials copied to clipboard

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

Open doritnap opened this issue 4 years ago • 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

doritnap avatar Apr 06 '21 10:04 doritnap

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!

x4nth055 avatar Sep 03 '21 14:09 x4nth055