OSError: Unable to load weights from pytorch checkpoint file for '/app/linqi/role-rewardmodel/CharacterEval/BaichuanCharRM/pytorch_model-00001-of-00003.bin'
问题描述
OSError: Unable to load weights from pytorch checkpoint file for '/app/linqi/role-rewardmodel/CharacterEval/BaichuanCharRM/pytorch_model-00001-of-00003.bin' at '/app/linqi/role-rewardmodel/CharacterEval/BaichuanCharRM/pytorch_model-00001-of-00003.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.
解决方法
我猜测可能是我的模型,25个G的文件夹,我移来移去好几次,中途出了点问题。所以重新在目标地址那下载了一遍模型就解决了