From 513c3939f6236277a76090428e13fe623fabd075 Mon Sep 17 00:00:00 2001 From: Emile Silvis Date: Mon, 29 May 2023 18:39:11 +0200 Subject: [PATCH] doc: add `pip install huggingface_hub` to howtos (#97) --- howto/download_pythia.md | 2 ++ howto/download_redpajama_incite.md | 2 ++ howto/download_stablelm.md | 2 ++ 3 files changed, 6 insertions(+) diff --git a/howto/download_pythia.md b/howto/download_pythia.md index c42376c4b0..382dc136d1 100644 --- a/howto/download_pythia.md +++ b/howto/download_pythia.md @@ -35,6 +35,8 @@ EleutherAI/pythia-12b-deduped In order to use a specific Pythia checkpoint, for instance [pythia-1b](https://huggingface.co/EleutherAI/pythia-1b), download the weights and convert the checkpoint to the lit-parrot format: ```bash +pip install huggingface_hub + python scripts/download.py --repo_id EleutherAI/pythia-1b python scripts/convert_hf_checkpoint.py --checkpoint_dir checkpoints/EleutherAI/pythia-1b diff --git a/howto/download_redpajama_incite.md b/howto/download_redpajama_incite.md index 97e1491ca5..ad4cea9c22 100644 --- a/howto/download_redpajama_incite.md +++ b/howto/download_redpajama_incite.md @@ -24,6 +24,8 @@ togethercomputer/RedPajama-INCITE-Instruct-7B-v0.1 In order to use a specific RedPajama-INCITE checkpoint, for instance [RedPajama-INCITE-Base-3B-v1](https://huggingface.co/togethercomputer/RedPajama-INCITE-Base-3B-v1), download the weights and convert the checkpoint to the lit-parrot format: ```bash +pip install huggingface_hub + python scripts/download.py --repo_id togethercomputer/RedPajama-INCITE-Base-3B-v1 python scripts/convert_hf_checkpoint.py --checkpoint_dir checkpoints/togethercomputer/RedPajama-INCITE-Base-3B-v1 diff --git a/howto/download_stablelm.md b/howto/download_stablelm.md index 08df9c7f04..9f66f2bbd6 100644 --- a/howto/download_stablelm.md +++ b/howto/download_stablelm.md @@ -22,6 +22,8 @@ stabilityai/stablelm-tuned-alpha-7b In order to use a specific StableLM checkpoint, for instance [stablelm-base-alpha-3b](http://huggingface.co/stabilityai/stablelm-base-alpha-3b), download the weights and convert the checkpoint to the lit-stablelm format: ```bash +pip install huggingface_hub + python scripts/download.py --repo_id stabilityai/stablelm-base-alpha-3b python scripts/convert_hf_checkpoint.py --checkpoint_dir checkpoints/stabilityai/stablelm-base-alpha-3b