We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
你好,我使用你的代码intent.py对一个一个txt长文本进行预测,发现预测速度超级慢,一个文件估计要半分钟,很不合理,但是我没有检查出哪里有问题,你知道大概哪里有问题吗?(我利用pytorch版本的bert进行预测时一个txt长文本大约0.2秒)
The text was updated successfully, but these errors were encountered:
预测代码有点问题,我修正了,但是现在预测一个长文本平均还是需要5s,这和pytorch相差较大,理论来说就算是CPU也不会这么慢
Sorry, something went wrong.
能方便告知一下如何修改的吗?
No branches or pull requests
你好,我使用你的代码intent.py对一个一个txt长文本进行预测,发现预测速度超级慢,一个文件估计要半分钟,很不合理,但是我没有检查出哪里有问题,你知道大概哪里有问题吗?(我利用pytorch版本的bert进行预测时一个txt长文本大约0.2秒)
The text was updated successfully, but these errors were encountered: