Skip to content

Commit e0de69a

Browse files
committed
添加句向量说明
1 parent 8460822 commit e0de69a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010

1111
3、句向量生成
1212

13-
生成句向量不需要做fine tune,使用预先训练好的模型即可,可参考`extract_feature.py``main`方法,注意参数必须是一个list
13+
生成句向量不需要做fine tune,使用预先训练好的模型即可,可参考`extract_feature.py``main`方法,注意参数必须是一个list。
14+
15+
第一次生成句向量时需要加载graph,速度比较慢,后续速度会很快
1416
```
1517
from bert.extrac_feature import BertVector
1618
bv = BertVector()

0 commit comments

Comments
 (0)