本地部署Dify遇到这个错误需要怎么办 Can't load tokenizer for 'gpt2'

本地部署Dify遇到这个错误需要怎么办 Can’t load tokenizer for ‘gpt2’

Can't load tokenizer for 'gpt2'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'gpt2' is the correct path to a directory containing all relevant files for a GPT2TokenizerFast tokenizer.

可以去这个里面配置:https://docs.dify.ai/zh-hans/getting-started/install-self-hosted/environments


回到顶部