Skip to content

Commit

Permalink
Update Embedding Mosec Dockerfile to use BAAI/bge-large-zh-v1.5 (#387)
Browse files Browse the repository at this point in the history
This PR is used to update the Embedding Mosec dockerfile to use BAAI/bge-large-zh-v1.5.
Signed-off-by: Tian, Feng <[email protected]>
  • Loading branch information
ftian1 authored Aug 5, 2024
1 parent b2e2b1a commit bbdc1f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comps/embeddings/langchain-mosec/mosec-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ RUN pip3 install intel-extension-for-pytorch==2.2.0
RUN pip3 install transformers
RUN pip3 install llmspec mosec

RUN cd /root/ && export HF_ENDPOINT=https://hf-mirror.com && huggingface-cli download --resume-download BAAI/bge-large-zh --local-dir /root/bge-large-zh
RUN cd /root/ && export HF_ENDPOINT=https://hf-mirror.com && huggingface-cli download --resume-download BAAI/bge-large-zh-v1.5 --local-dir /root/bge-large-zh-v1.5

ENV EMB_MODEL="/root/bge-large-zh/"
ENV EMB_MODEL="/root/bge-large-zh-v1.5/"

WORKDIR /root/comps/embeddings/langchain-mosec/mosec-docker

Expand Down

0 comments on commit bbdc1f0

Please sign in to comment.