@wgpubs
Thank you so much for sharing the code to create multi label data in TorchText
I am trying to solve the Toxic comment challenge on kaggle.
As per my understanding, binary_cross_entropy should be used as the criterion in RNN_Learner (Please correct me if I am wrong). When I use the binary_cross_entropy as criterion, fit model throws an error.
1177 weight = Variable(weight)
1178
-> 1179 return torch._C._nn.binary_cross_entropy(input, target, weight, size_average)
1180
1181
RuntimeError: reduce failed to synchronize: device-side assert triggered
I am unable to figure out this Runtime error.
Did you face this in your experiments?
Thanks again.