transformers-tutorials
transformers-tutorials copied to clipboard
problem on loading .bin model for inference
Hi. I tried load the model using torch.load('model.bin') but this kind of error occured:
_pickle.UnpicklingError: invalid load key, '['.
And how to do inference? Any help?
I am getting RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory when trying to load the model. Please suggest what can be done