Update README for mac users
This commit is contained in:
parent
7f105034f8
commit
2b4c02455f
11
README.md
11
README.md
|
@ -21,10 +21,21 @@ sys 2m30.847s
|
||||||
|
|
||||||
To download all model weights, `cd` into the directory you want them, then run this:
|
To download all model weights, `cd` into the directory you want them, then run this:
|
||||||
|
|
||||||
|
Linux:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -o- https://raw.githubusercontent.com/shawwn/llama-dl/56f50b96072f42fb2520b1ad5a1d6ef30351f23c/llama.sh | bash
|
curl -o- https://raw.githubusercontent.com/shawwn/llama-dl/56f50b96072f42fb2520b1ad5a1d6ef30351f23c/llama.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Mac:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
brew install bash
|
||||||
|
curl -o- https://raw.githubusercontent.com/shawwn/llama-dl/56f50b96072f42fb2520b1ad5a1d6ef30351f23c/llama.sh | $(brew --prefix)/bin/bash
|
||||||
|
```
|
||||||
|
|
||||||
|
(Sorry mac users; they use some array syntax in the script that isn't supported on the version of bash that ships with Mac.)
|
||||||
|
|
||||||
Running random bash scripts generally isn't a good idea, but I'll stake my personal reputation on the fact that this link is safe. (It points to a specific SHA-1 hash rather than https://raw.githubusercontent.com/shawwn/llama-dl/main/llama.sh so that it's still safe even in the event that my repo or account got compromised.)
|
Running random bash scripts generally isn't a good idea, but I'll stake my personal reputation on the fact that this link is safe. (It points to a specific SHA-1 hash rather than https://raw.githubusercontent.com/shawwn/llama-dl/main/llama.sh so that it's still safe even in the event that my repo or account got compromised.)
|
||||||
|
|
||||||
## How do I know this is safe?
|
## How do I know this is safe?
|
||||||
|
|
Loading…
Reference in New Issue