Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md: define HF_TOKEN to download granite model #18

Merged
merged 1 commit into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,15 @@ steps, so it is recommended to do so.
ilab init
```

#### Set up your Hugging Face token

Define an environment variable using the HF token you created in the above section under
Access Tokens.

```shell
export HF_TOKEN=<paste token value here>
````

#### Download Granite-7B (~27GB on disk)

Next, download the IBM Granite base model. Important: Do not download the “lab”
Expand All @@ -326,11 +335,9 @@ ilab download --repository ibm/granite-7b-base

#### Download Mixtral-8x7B-Instruct (~96GB on disk)

Follow the same process, but additionally define an environment variable using
the HF token you created in the above section under Access Tokens.
Follow the same process to download the Mixtral model.

```shell
export HF_TOKEN=<paste token value here>
ilab download --repository mistralai/Mixtral-8x7B-Instruct-v0.1
```

Expand Down