Unable to load weights
#2
by
cmy246437
- opened
When I try to load the model, it raises an error:
OSError: Unable to load weights from pytorch checkpoint file for '/mnt/data02/cmy/deberta-base-chinese/pytorch_model.bin' at '/mnt/data02/cmy/deberta-base-chinese/pytorch_model.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.
Sorry, but please use transformers
AutoModelForMaskedLM to load the model as shown in the README.
KoichiYasuoka
changed discussion status to
closed