SoftMaskedBert-PyTorch
SoftMaskedBert-PyTorch copied to clipboard
an error related to pytorch_lightning in this project
The detection result is precision=0.033734939759036145, recall=0.7636363636363637 and F1=0.06461538461538462
The correction result is precision=0.0, recall=0.0 and F1=0
Sentence Level: acc:0.000000, precision:0.000000, recall:0.000000, f1:0.000000
Traceback (most recent call last):
File "main.py", line 102, in
i think this error is strange and i don't knon how to trace it because the interface is only 'trainer.fit'. i think maybe you had met this problem.
This error is caused by the encoding problem of the data, it fixed by my another project BertBasedCorrectionModels, you can use that project to process the data, and than copy to this project.
i will fix this issue soon, thanks.