Spaces:
Runtime error
Runtime error
Update entrypoint.sh.template
Browse files- 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 \
|