RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory #272
-
When I load the model Erlangshen-MegatronBert-1.3B-Chinese from openi, An error occurred: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I just use such code:
It may be from the difference of pytorch.(I use torch==2.0.1). I wonder which version should I use. Thanks for answer:) |
Beta Was this translation helpful? Give feedback.
-
checkpoint is damaged.Try down load the model "inside" the download page: |
Beta Was this translation helpful? Give feedback.
-
Thanks for solution! I will try it again! |
Beta Was this translation helpful? Give feedback.
checkpoint is damaged.Try down load the model "inside" the download page:
click the upper button to download,rather than here:
Or,you can use openi pip module to download in cli.
Here is the openi module instruction to install it:
https://openi.pcl.ac.cn/docs/index.html#/api/intro
You still need to login,and run
openi model download
,follow the info.And finally,you still can download it on huggingface(if possible) :)