diff --git a/2024/01/18/rerank-model-deploy-and-usage/index.html b/2024/01/18/rerank-model-deploy-and-usage/index.html index a5b33a6d2..cfb511e52 100644 --- a/2024/01/18/rerank-model-deploy-and-usage/index.html +++ b/2024/01/18/rerank-model-deploy-and-usage/index.html @@ -145,14 +145,14 @@

1
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

然后下载 TEI 的 github 仓库,并安装相关依赖,命令如下:

-
1
2
3
git clone https://github.com/huggingface/text-embeddings-inference.git
cd text--embeddings-inference
cargo install --path router -F candle -F metal
+
1
2
3
git clone https://github.com/huggingface/text-embeddings-inference.git
cd text-embeddings-inference
cargo install --path router -F candle -F metal

TEI 安装完成后,我们使用它来部署 Rerank 模型,命令如下:

-
1
text-embeddings-router --model-id BAAI/bge-reranker-large --revision refs/pr/5 --port 8080
+
1
text-embeddings-router --model-id BAAI/bge-reranker-large --revision refs/pr/4 --port 8080