thu-ml/unidiffuser

can' t load tokenizer for 'gpt2', why?

mxwcqu opened this issue · 5 comments

GPT2Tokenizer.from_pretrained('gpt2'),can' t load tokenizer for 'gpt2'

You can download it manually from huggingface: https://huggingface.co/gpt2 .
Then you replace 'gpt2' to the local directory where files are saved.

thank you

Hello! I had the same problem. But I've put the weights -autoencoder_kl.pth, caption_decoder.pth and uvit_v1.pth in the models folder. What should I do?

Wanbi1 commented

Hello! I had the same problem. But I've put the weights -autoencoder_kl.pth, caption_decoder.pth and uvit_v1.pth in the models folder. What should I do?

Same problem for me. Waiting for help.

Wanbi1 commented

You can download it manually from huggingface: https://huggingface.co/gpt2 . Then you replace 'gpt2' to the local directory where files are saved.

Knock Knock