You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i also got the same problem after replacing my own dataset and labels, i found that my dataset in wrong format, then i downgraded numpy to version 1.23.1 : D it worked like a charm
作者大大你好,我只修改了config.py里面的标签,数据里面的空格我用的‘,’代替的,然后跑BERT-LSTM-CRF是正常的,但是相同的数据在BERT-CRF时就会报这个错误,错误是在model.py中的loss = self.crf(logits, labels, loss_mask) * (-1)请问是什么原因呀,麻烦您啦
The text was updated successfully, but these errors were encountered: