Update README.md

This commit is contained in:
Omar Sanseviero 2024-03-04 12:58:49 +01:00 committed by GitHub
parent 86761dc113
commit 8c857b957e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 4 deletions

View File

@ -78,10 +78,11 @@ Alternatively, visit the [gemma.cpp](https://huggingface.co/models?other=gemma.c
models on the Hugging Face Hub. First go the the model repository of the model of interest
(see recommendations below). Then, click the `Files and versions` tab and download the
model and tokenizer files. For programmatic downloading, if you have `huggingface_hub`
installed, you can also run:
installed, you can also download by running:
```
huggingface-cli download google/gemma-2b-cpp --local-dir build/
huggingface-cli login # Just the first time
huggingface-cli download google/gemma-2b-sfp-cpp --local-dir build/
```
2B instruction-tuned (`it`) and pre-trained (`pt`) models:
@ -106,7 +107,9 @@ huggingface-cli download google/gemma-2b-cpp --local-dir build/
> **Important**: We strongly recommend starting off with the `2b-it-sfp` model to
> get up and running.
### Step 2: Extract Files (if downloading from Kaggle)
### Step 2: Extract Files
If you downloaded the models from Hugging Face, skip to step 3.
After filling out the consent form, the download should proceed to retrieve a
tar archive file `archive.tar.gz`. Extract files from `archive.tar.gz` (this can