docs: alter hf token substitution

This commit is contained in:
Bobbins228 2025-04-09 16:58:35 +01:00 committed by Mark Campbell
parent 6735344604
commit 1a065c7d63

View file

@ -13,7 +13,7 @@ kind create cluster --image kindest/node:v1.32.0 --name llama-stack-test
First set your hugging face token as an environment variable. First set your hugging face token as an environment variable.
``` ```
export HF_TOKEN=<your_hf_token> export HF_TOKEN=$(echo -n "your-hf-token" | base64)
``` ```
Now create a Kubernetes PVC and Secret for downloading and storing Hugging Face model: Now create a Kubernetes PVC and Secret for downloading and storing Hugging Face model:
@ -38,7 +38,7 @@ metadata:
name: hf-token-secret name: hf-token-secret
type: Opaque type: Opaque
data: data:
token: $(echo -n "$HF_TOKEN" | base64) token: $HF_TOKEN
EOF EOF
``` ```