unidiffuser icon indicating copy to clipboard operation
unidiffuser copied to clipboard

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

Open mxwcqu opened this issue 1 year ago • 5 comments

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

mxwcqu avatar Mar 29 '23 06:03 mxwcqu

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

baofff avatar Mar 29 '23 12:03 baofff

thank you

mxwcqu avatar Mar 29 '23 16:03 mxwcqu

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?

shuishui616 avatar Sep 19 '23 01:09 shuishui616

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 avatar Sep 28 '23 14:09 Wanbi1

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

Wanbi1 avatar Sep 28 '23 14:09 Wanbi1