kyzhouhzau / BERT-NER

Use Google's BERT for named entity recognition (CoNLL-2003 as the dataset).
MIT License
1.23k stars 335 forks source link

Wrong output format for evaluation script #51

Open sanxing-chen opened 5 years ago

sanxing-chen commented 5 years ago

The conlleval.pl script accepts input file format like <span> <groundtruth> <prediction>, but the model's output is <span> <prediction> <groundtruth>. Although it doesn't affect the F1 score, it swaps the values of precision and recall.

kyzhouhzau commented 5 years ago

Yes, you are right thank you for your help for this hidden problem. I will update it.