Unable to load weights from pytorch checkpoint pytorch_model-00006-of-00008.bin

#9
by samge - opened

OSError: Unable to load weights from pytorch checkpoint file for xxx\huggingface\hub\models--THUDM--chatglm-6b\snapshots\2460dc243020b034420cb759ff966b83a7601d06\pytorch_model-00006-of-00008.bin' at '
xxx\huggingface\hub\models--THUDM--chatglm-6b\snapshots\2460dc243020b034420cb759ff966b83a7601d06\pytorch_model-00006-of-00008.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.

猜测大概率是模型下载的时候出了错导致文件不完整?

多谢,确实是这个问题,删掉那个文件重新下载就可以了

samge changed discussion status to closed

Sign up or log in to comment