diff --git a/README.md b/README.md index 550f36d7..dda40b6b 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,8 @@ In order to download the model weights and tokenizers, please visit the [Meta we Once your request is approved, you will receive a signed URL over email. Then run the download.sh script, passing the URL provided when prompted to start the download. Make sure that you copy the URL text itself, **do not use the 'Copy link address' option** when you right click the URL. If the copied URL text starts with: https://download.llamameta.net, you copied it correctly. If the copied URL text starts with: https://l.facebook.com, you copied it the wrong way. -Pre-requisites: make sure you have `wget` and `md5sum` installed. Then to run the script: `bash download.sh`. +Pre-requisites: make sure you have `wget` and `md5sha1sum` installed. For Mac you can alternatively run pre.sh assuming homebrew is already installed in your mac. +Then to run the script: `bash download.sh`. Keep in mind that the links expire after 24 hours and a certain amount of downloads. If you start seeing errors such as `403: Forbidden`, you can always re-request a link. diff --git a/pre-requisite.txt b/pre-requisite.txt new file mode 100644 index 00000000..395bd9f2 --- /dev/null +++ b/pre-requisite.txt @@ -0,0 +1,2 @@ +wget +md5sha1sum diff --git a/pre.sh b/pre.sh new file mode 100755 index 00000000..783af56e --- /dev/null +++ b/pre.sh @@ -0,0 +1 @@ +while read package; do brew install $package; done < pre-requisite.txt