liuyukid / transformers-ner

Pytorch-Named-Entity-Recognition-with-transformers
209 stars 44 forks source link

在运行run_crf_ner时候 在做evaluate 会出现key error -1的情况 #2

Closed bestpredicts closed 4 years ago

bestpredicts commented 4 years ago

看了下 应该是在对验证集 推理对时候出现了 -1

laleye commented 3 years ago

Hi @bestpredicts May you explain more why this error and how did you fix it ?

Thank you

Hansyvea commented 3 years ago

这个问题解决了吗?

laleye commented 3 years ago

不是從側面 (谷歌翻譯是最好的 )

Hansyvea commented 3 years ago

不是從側面 (谷歌翻譯是最好的 )

did you find the way to solve this problem? btw I can't get what you were saying in the google translated version...