kyzhouhzau / BERT-NER

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

In eval. Why take (num_labels - 1) in function streaming_confusion_matrix #84

Open py555496 opened 4 years ago

py555496 commented 4 years ago

In code of BERT_NER.py line 529. function metrics.streaming_confusion_matrix why it takes num_labels-1. when progress runs here, error happens