Skip to content

Commit

Permalink
Documentation HF Token as environment variable in generate scripts (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
saileshd1402 authored Jul 8, 2024
1 parent 3e123d1 commit 406f8a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/gpt-in-a-box/kubernetes/v0.2/generating_mar.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ python3 $WORK_DIR/llm/generate.py [--hf_token <HUGGINGFACE_HUB_TOKEN> --repo_ver
* **model_name**: Name of a [validated model](validated_models.md)
* **output**: Mount path to your nfs server to be used in the kube PV where model files and model archive file be stored
* **repo_version**: Commit ID of model's HuggingFace repository (optional, if not provided default set in model_config will be used)
* **hf_token**: Your HuggingFace token. Needed to download LLAMA(2) models.
* **hf_token**: Your HuggingFace token. Needed to download LLAMA(2) models. (It can alternatively be set using the environment variable 'HF_TOKEN')

### Examples
The following are example commands to generate the model archive file.
Expand Down
2 changes: 1 addition & 1 deletion docs/gpt-in-a-box/vm/v0.3/generating_mar.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Where the arguments are :
- **model_path**: Absolute path of model files (should be empty if downloading)
- **mar_output**: Absolute path of export of MAR file (.mar)
- **skip_download**: Flag to skip downloading the model files
- **hf_token**: Your HuggingFace token. Needed to download and verify LLAMA(2) models.
- **hf_token**: Your HuggingFace token. Needed to download and verify LLAMA(2) models. (It can alternatively be set using the environment variable 'HF_TOKEN')

## Examples
The following are example commands to generate the model archive file.
Expand Down

0 comments on commit 406f8a7

Please sign in to comment.