‘NoneType’ error when using PegasusTokenizer

The solution was to install sentencepiece package and restart the kernel of the python notebook.

pip install sentencepiece

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top