QwenLM / Qwen

The official repo of Qwen (通义千问) chat & pretrained large language model proposed by Alibaba Cloud.
Apache License 2.0
13.59k stars 1.11k forks source link

[BUG] <title> OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /mnt/workspace/.cache/modelscope/qwen/Qwen-7B-Chat. #1118

Closed cheng18175030250 closed 7 months ago

cheng18175030250 commented 7 months ago

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

当前行为 | Current Behavior

1

期望行为 | Expected Behavior

1

复现方法 | Steps To Reproduce

No response

运行环境 | Environment

- OS:1
- Python:1
- Transformers:1
- PyTorch:1
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):1

备注 | Anything else?

使用qwen-7B-chat模型在魔搭的示例代码,并且已经将模型更新到v1.1.9,仍会出现“OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /mnt/workspace/.cache/modelscope/qwen/Qwen-7B-Chat.” 该如何解决(qwen-14B-chat模型出现同样问题)

cheng18175030250 commented 7 months ago

image

jklj077 commented 7 months ago

Please delete the files at "/mnt/workspace/.cache/modelscope/qwen/Qwen-7B-Chat" and rerun the code due to a failed previous model download. For any ModelScope library issues, seek assistance from https://github.com/modelscope/modelscope for a faster response.

由于先前的模型下载失败,请删除"/mnt/workspace/.cache/modelscope/qwen/Qwen-7B-Chat"路径下的文件并重新运行代码。如有与ModelScope库相关的任何问题,请前往https://github.com/modelscope/modelscope寻求帮助,以获得更及时的回复。