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

create_model函数中硬编码的13是指什么? #39

Open nonva opened 5 years ago

nonva commented 5 years ago

logits = tf.reshape(logits, [-1, FLAGS.max_seq_length, 13]) 不该是num_labels? 这里13是指啥

fengchi863 commented 5 years ago

应该改为num_lables,他的get_labels是13个

chensvm commented 5 years ago

那不应该是12么?get_labels里面一共12个label