Huggingface CLI token for gated models? #269
Foddy
announced in
Announcements
Replies: 1 comment
-
|
To pass a Huggingface access token in the Docker container, you can set the port=7997
model1=nvidia/NV-Embed-v1
volume=$PWD/data
# Set your Huggingface token
HF_TOKEN=your_huggingface_token_here
docker run -it --gpus all \
-v $volume:/app/.cache \
-p $port:$port \
-e HF_TOKEN=$HF_TOKEN \
michaelf34/infinity:latest \
v2 \
--model-id $model1 \
--port $portEnsure that the References |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to pass an access token from Huggingface in the Docker container? I would like to try the model
nvidia/NV-Embed-v1, which unfortunately is restricted.Beta Was this translation helpful? Give feedback.
All reactions