-
Notifications
You must be signed in to change notification settings - Fork 85
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
cubert是否支持多分类? #17
Comments
支持的 |
可以把测试文件+模型发给我们看下 |
方便留个联系方式吗?qq或者微信 测试程序是改了下 test/cuBERT_test.cpp ` TEST_F(cuBertTest, compute) {
} logits的值看着不对。 我看cubert的源代码,看着也不太能支持多分类 https://github.com/zhihu/cuBERT/blob/master/src/cuBERT/Bert.cpp#L51
|
哦,这里可能是个 bug,少乘了 num_labels,包括下面拷贝也是 Line 134 in f1b4cab
QQ: 372684992 |
修了下这个问题,回头我发个pull request。 |
bert做四分类任务,希望输出每个instance在4个分类上的概率,试了下cuBERT_LOGITS,发现结果和tf预测的结果不一致。问下cubert是否支持这个功能(每个instance在各个分类上的概率)?
The text was updated successfully, but these errors were encountered: