报错:ValueError: Couldn‘t instantiate the backend tokenizer from one of:
【代码】报错:You need to have sentencepiece installed to convert a slow tokenizer to a fast one。
·
ValueError: Couldn't instantiate the backend tokenizer from one of:
(1) a `tokenizers` library serialization file,
(2) a slow tokenizer instance to convert or
(3) an equivalent slow tokenizer class to instantiate and convert.
You need to have sentencepiece installed to convert a slow tokenizer to a fast one.
解决方案:
pip install sentencepiece
更多推荐
所有评论(0)