```MODEL=yco/bilingual-embedding-base VOLUME=$PWD/...
# community-help
y
Copy code
MODEL=yco/bilingual-embedding-base
VOLUME=$PWD/data # share a volume with the Docker container to avoid downloading weights every run
sudo docker run \
  -d \
  --platform linux/x86_64 \
  -p 8080:80 \
  -v $VOLUME:/data \
  --pull always \
  --name embeddings <http://ghcr.io/huggingface/text-embeddings-inference:cpu-1.4|ghcr.io/huggingface/text-embeddings-inference:cpu-1.4> \
  --model-id $MODEL