ComfyUI-Prompt-Translator icon indicating copy to clipboard operation
ComfyUI-Prompt-Translator copied to clipboard

Couldn't instantiate the backend tokenizer

Open niuniudongyao opened this issue 1 year ago • 1 comments

Cannot import /Users/dev/ComfyUI/custom_nodes/ComfyUI-Prompt-Translator module for custom nodes: 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.

niuniudongyao avatar Feb 28 '24 02:02 niuniudongyao

pip install transformers[sentencepiece]

dn833 avatar Jun 01 '24 15:06 dn833