codellama icon indicating copy to clipboard operation
codellama copied to clipboard

Unable to Download Code-Llama 7B via the download.sh Script

Open joseeliaschavez opened this issue 1 year ago • 8 comments

Hello! I signed up to download the Code-Llama model from Meta. I received the email with the Unique Custom URL.

However, when I attempt to download the model, the script throws an error. Can you please advise?

Environment: Ubuntu 22.04

Steps to Reproduce:

  1. Cloned the repo from main branch: git clone [email protected]:facebookresearch/codellama.git
  2. Executed the script: ./download.sh
  3. Followed the prompts, entered the URL from the email and entered only 7B as the model to download

Expected Outcome:

Should have downloaded the model

Actual Outcome (query params omitted for possible security reasons):

Get the following error:

Downloading tokenizer
--2023-10-11 13:10:04--  https://download2.llamameta.net/tokenizer.model?XXX
Resolving download2.llamameta.net (download2.llamameta.net)... 65.8.164.24, 65.8.164.126, 65.8.164.75, ...
Connecting to download2.llamameta.net (download2.llamameta.net)|65.8.164.24|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-10-11 13:10:05 ERROR 403: Forbidden.

Full log (query params omitted for possible security reasons):

~/workspaces/meta/llama (main)$ ./download.sh
Enter the URL from email: https://download2.llamameta.net/*?queryparams=XXX

Enter the list of models to download without spaces (7B,13B,70B,7B-chat,13B-chat,70B-chat), or press Enter for all: 7B
Downloading LICENSE and Acceptable Usage Policy
--2023-10-11 13:10:04--  https://download2.llamameta.net/LICENSE?queryparams=XXX
Resolving download2.llamameta.net (download2.llamameta.net)... 65.8.164.24, 65.8.164.126, 65.8.164.75, ...
Connecting to download2.llamameta.net (download2.llamameta.net)|65.8.164.24|:443... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

--2023-10-11 13:10:04--  https://download2.llamameta.net/USE_POLICY.md?queryparams=XXX
Resolving download2.llamameta.net (download2.llamameta.net)... 65.8.164.24, 65.8.164.126, 65.8.164.75, ...
Connecting to download2.llamameta.net (download2.llamameta.net)|65.8.164.24|:443... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

Downloading tokenizer
--2023-10-11 13:10:04--  https://download2.llamameta.net/tokenizer.model?queryparams=XXX
Resolving download2.llamameta.net (download2.llamameta.net)... 65.8.164.24, 65.8.164.126, 65.8.164.75, ...
Connecting to download2.llamameta.net (download2.llamameta.net)|65.8.164.24|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-10-11 13:10:05 ERROR 403: Forbidden.

Thank you!

joseeliaschavez avatar Oct 11 '23 20:10 joseeliaschavez

Try this site

https://huggingface.co/meta-llama/

felbdogg avatar Oct 12 '23 04:10 felbdogg

Hi @jose-at-slalom, the URL from the e-mail is valid for 24 hours. Did the link already expire maybe?

jgehring avatar Oct 12 '23 06:10 jgehring

Hi @jgehring I had started the download within minutes of receiving the email. Just tried again with a new email, receiving the same error 😢 Should I post the URL?

joseeliaschavez avatar Oct 20 '23 20:10 joseeliaschavez

I had started the download within minutes of receiving the email. I receiving the same error.

lt090004114 avatar Mar 14 '24 05:03 lt090004114

Hi! Receiving same error here!

DanubioLima avatar Mar 18 '24 18:03 DanubioLima

Hi! Receiving same error here!

zhouyinn avatar Apr 20 '24 12:04 zhouyinn

Has this problem been solved? Met the same error, could anyone help me? Thx a lot!

Kingofolk avatar May 07 '24 02:05 Kingofolk

Hi, I'm having the exact same error. Any clues. Thank you.

rcontesti avatar May 16 '24 17:05 rcontesti