问题描述:
OSError: Unable to load weights from pytorch checkpoint file for
'/home/aistudio/vicuna-7b-delta-v0/pytorch_model-00001-of-00002.bin' at
'/home/aistudio/vicuna-7b-delta-v0/pytorch_model-00001-of-00002.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.
产生原因:
torch 版本低
解决办法:
pip install --upgrade torch torchvision