Its text classification using BertModel, where one text can have multiple labels.
The idea of [0, 7] comes because I use PyTorch and the labels have to range from [0- n_labels-1].
Now I’m stuck because it’s said on Multilabel, nn.BCEWithLogitsLoss is applicable, but when I tried I get the above error…