git clone branches tutorial inverted --branch --single-branch

#1
by cvdbdo - opened

In the model card:
git clone --branch --single-branch gptq-4bit-32g-actorder_True https://huggingface.co/TheBloke/Upstage-Llama-2-70B-instruct-v2-GPTQ

Error:
fatal: repository 'https://huggingface.co/TheBloke/Upstage-Llama-2-70B-instruct-v2-GPTQ/tree/gptq-4bit-32g-actorder_True/' not found

Should be:
git clone --single-branch --branch gptq-4bit-32g-actorder_True https://huggingface.co/TheBloke/Upstage-Llama-2-70B-instruct-v2-GPTQ

(Correctly documented in other repos such as: "git clone --single-branch --branch gptq-4bit-32g-actorder_True https://huggingface.co/TheBloke/Platypus2-70B-GPTQ")

Thanks for everything!

Sign up or log in to comment