NER training using Spacy

做~自己de王妃 提交于 2021-01-29 11:02:12

问题


When running a train on an empty NER model, should I include only labeled data (data that contain necessarily at least one entity), or should I also include data that do not contain any label at all (in this case, teaching the model that in some circunstances these words do not have any label)?


回答1:


If you look at the commonly used training data for NER (you can find links at http://nlpprogress.com/english/named_entity_recognition.html ), you’ll see that most/every example has at least one entity.

Despite that, the model probably learns that most entity types don’t show up in any given example. But you can always try adding examples of true negatives and see if that helps



来源:https://stackoverflow.com/questions/58962469/ner-training-using-spacy

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!