mailychee commited on
Commit
cb7af72
·
verified ·
1 Parent(s): 61fead0

Upload bge.sh

Browse files
Files changed (1) hide show
  1. bge.sh +11 -0
bge.sh ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model=BAAI/bge-large-en-v1.5
2
+ volume=$PWD/data
3
+
4
+ docker run --gpus all -p 8081:80 -v $volume:/data \
5
+ --pull always ghcr.io/huggingface/text-embeddings-inference:1.7 \
6
+ --model-id $model \
7
+ --max-concurrent-requests 512 \
8
+ --max-batch-requests 32 \
9
+ --max-batch-tokens 16384 \
10
+ --tokenization-workers 4 \
11
+ --dtype float16