Skip to content

Commit

Permalink
Merge pull request #1466 from RonanSynnottArm/huggingface
Browse files Browse the repository at this point in the history
Add hugging face cli install step
  • Loading branch information
pareenaverma authored Dec 20, 2024
2 parents 17bb6b6 + f5fed30 commit 93243e0
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,19 @@ pip uninstall torchao && cd ao/ && rm -rf build && python setup.py install
### Login to Hugging Face
You can now download the LLM.

[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.
Install the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/main/en/guides/cli) application.
```sh
pip install -U "huggingface_hub[cli]"
```

[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.

```sh
huggingface-cli login
```
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)
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).

### Downloading and Quantizing the LLM Model

Expand Down

0 comments on commit 93243e0

Please sign in to comment.