HaozheZhao / UltraEdit

150 stars 8 forks source link

Why are there always errors when loading the model, no matter how many times the model is re-downloaded? #9

Closed JohnsonXi closed 1 month ago

JohnsonXi commented 1 month ago
image

As shown in the image, this download is very complete, with no interruptions, but the error still occurs. Exception: data did not match any variant of untagged enum PyPreTokenizerTypeWrapper at line 960 column 3 Please check if the issue is due to corrupted weights from Hugging Face, or some other problem.

HaozheZhao commented 1 month ago

It seems to be the problem due to the version of the transformers.

https://github.com/huggingface/diffusers/issues/8495

Maybe update the transformers will be the soluation.

pip install transformers -U