chansung commited on
Commit
47200c8
1 Parent(s): a43c07e

Update entrypoint.sh.template

Browse files
Files changed (1) hide show
  1. entrypoint.sh.template +3 -0
entrypoint.sh.template CHANGED
@@ -1,5 +1,8 @@
1
  #!/bin/bash
2
 
 
 
 
3
  if [[ "$QUANTIZATION" == "false" ]]; then
4
  text-generation-launcher --model-id $MODEL_NAME \
5
  --num-shard 1 --port 8080 --trust-remote-code \
 
1
  #!/bin/bash
2
 
3
+ export HUGGING_FACE_HUB_TOKEN=$HUGGING_FACE_HUB_TOKEN
4
+ export HF_TOKEN=$HUGGING_FACE_HUB_TOKEN
5
+
6
  if [[ "$QUANTIZATION" == "false" ]]; then
7
  text-generation-launcher --model-id $MODEL_NAME \
8
  --num-shard 1 --port 8080 --trust-remote-code \