OpenGVLab / LLaMA-Adapter

[ICLR 2024] Fine-tuning LLaMA to follow Instructions within 1 Hour and 1.2M Parameters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SHA256 checksum does not not match for LORA-BIAS-7B-v21

javyduck opened this issue · comments

Hi, great work!

Currently, I am using the LORA-BIAS-7B-v21 under llama_adapter_v2_multimodal7b, however, it shows that:

LLaMA_Adapter/llama_adapter_v2_multimodal7b/llama/utils.py", line 69, in _download
    raise RuntimeError("Model has been downloaded but the SHA256 checksum does not not match")
RuntimeError: Model has been downloaded but the SHA256 checksum does not not match

Thanks for your report! Now we have fixed it. You can also comment the following lines to make it work.

if hashlib.sha256(open(download_target, "rb").read()).hexdigest() != expected_sha256:
raise RuntimeError("Model has been downloaded but the SHA256 checksum does not not match")