baichuan-inc / Baichuan2

A series of large language models developed by Baichuan Intelligent Technology
https://huggingface.co/baichuan-inc
Apache License 2.0
4.08k stars 293 forks source link

Downloading baichuan-inc/Baichuan2-13B-Chat-4bits/pytorch_model.bin error #206

Open ADaBenxiong opened 1 year ago

ADaBenxiong commented 1 year ago

FileNotFoundError: [Errno 2] No such file or directory: 'baichuan-inc/Baichuan2-13B-Chat-4bits/pytorch_model.bin' What is the reason of downloading error.

ADaBenxiong commented 1 year ago

FileNotFoundError: [Errno 2] No such file or directory: 'baichuan-inc/Baichuan2-7B-Chat-4bits/pytorch_model.bin' When I want to download the 7B-4bits model, I encountered the same problem.

yucc-leon commented 1 year ago

You'd better show your code and others can give you advise.

BHbean commented 1 year ago

You'd better check out this issue #134. I followed the following command and solved my problem:

from huggingface_hub import snapshot_download

snapshot_download(repo_id="baichuan-inc/Baichuan2-13B-Chat-4bits", local_dir="baichuan-inc/Baichuan2-13B-Chat-4bits")