Skip to content

Commit 93243e0

Browse files
authored
Merge pull request #1466 from RonanSynnottArm/huggingface
Add hugging face cli install step
2 parents 17bb6b6 + f5fed30 commit 93243e0

File tree

1 file changed

+9
-2
lines changed
  • content/learning-paths/servers-and-cloud-computing/pytorch-llama

1 file changed

+9
-2
lines changed

content/learning-paths/servers-and-cloud-computing/pytorch-llama/pytorch-llama.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,19 @@ pip uninstall torchao && cd ao/ && rm -rf build && python setup.py install
6666
### Login to Hugging Face
6767
You can now download the LLM.
6868

69-
[Generate an Access Token](https://huggingface.co/settings/tokens) to authenticate your identity with Hugging Face Hub. A token with read-only access is sufficient. Log in to the Hugging Face repository and enter your Access Token key from Hugging face.
69+
Install the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/main/en/guides/cli) application.
70+
```sh
71+
pip install -U "huggingface_hub[cli]"
72+
```
73+
74+
[Generate an Access Token](https://huggingface.co/settings/tokens) to authenticate your identity with Hugging Face Hub. A token with read-only access is sufficient.
75+
76+
Log in to the Hugging Face repository and enter your Access Token key from Hugging face.
7077

7178
```sh
7279
huggingface-cli login
7380
```
74-
Before you can download the model, accept the license agreement at: [Meta Llama 3.1](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct)
81+
Before you can download the model, you must accept the license agreement at: [Meta Llama 3.1](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct).
7582

7683
### Downloading and Quantizing the LLM Model
7784

0 commit comments

Comments
 (0)