Skip to content

Commit a55039c

Browse files
authored
Update Install_windows.md (#7707)
1 parent d5c807b commit a55039c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipelines/examples/semantic-search/Install_windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ a. 依赖安装:
1010
```bash
1111
git clone https://github.com/tvst/htbuilder.git
1212
cd htbuilder/
13-
python setup install
13+
python setup.py install
1414
# pip 一键安装
1515
pip install --upgrade paddle-pipelines -i https://pypi.tuna.tsinghua.edu.cn/simple
1616
# 或者源码进行安装最新版本
@@ -59,7 +59,7 @@ xpack.security.enabled: false
5959
#### 1.4.2 文档数据写入 ANN 索引库
6060
```
6161
# 以DuReader-Robust 数据集为例建立 ANN 索引库
62-
python utils/offline_ann.py --index_name dureader_robust_query_encoder --doc_dir data/dureader_dev
62+
python utils/offline_ann.py --index_name dureader_robust_query_encoder --doc_dir data/dureader_dev --query_embedding_model rocketqa-zh-base-query-encoder --passage_embedding_model rocketqa-zh-base-para-encoder --embedding_dim 768 --delete_index
6363
```
6464
参数含义说明
6565
* `index_name`: 索引的名称

0 commit comments

Comments
 (0)