Skip to content
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

如何预测 #29

Closed
InsaneLife opened this issue Oct 26, 2020 · 0 comments
Closed

如何预测 #29

InsaneLife opened this issue Oct 26, 2020 · 0 comments

Comments

@InsaneLife
Copy link
Owner

需要先训练模型,然后做预测,训练入口:train.py
训练(默认使用功LCQMC数据集):

python train.py --mode=train

预测:

python train.py --mode=train --file=$predict_file$

测试文件格式: q1\tq2, 例如:

今天天气怎么样	今天温度怎么样

Originally posted by @InsaneLife in #25 (comment)

@InsaneLife InsaneLife changed the title 需要先训练模型,然后做预测,训练入口:[train.py](https://github.com/InsaneLife/dssm/blob/master/train.py) 如何预测 Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant