-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i want to predict a query pair like "今天天气怎么样" “今天温度怎么样” ,what to do? #25
Comments
+1 。怎么做预测? |
分别作为输入,获取输出句子的embedding向量,让后计算两个向量cos相似度即可。 |
如何输入 |
需要先训练模型,然后做预测,训练入口:train.py python train.py --mode=train 预测: python train.py --mode=train --file=$predict_file$ 测试文件格式: q1\tq2, 例如:
|
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: