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

GPT-in-a-Box v1: HF Token as environment variable #63

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
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
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
Loading