Hi, I borrowed your functions, as below, for training CoNLL_2003 data only.
when CRF=True, result is ~ 95% for F1,
but when I changed to CRF=False, the accuracy reduced to almost 0, wondering if I am doing something wrong:
Sorry I have seen this issue before, I think now you have figured it out.
I updated something(new hyper parameter, and uncased version, f1-score etc) , you may try the new version again. @shawei3000
Hi, I borrowed your functions, as below, for training CoNLL_2003 data only. when CRF=True, result is ~ 95% for F1, but when I changed to CRF=False, the accuracy reduced to almost 0, wondering if I am doing something wrong:
Code:
def create_model(bert_config, is_training, input_ids, input_mask, segment_ids, labels, num_labels, use_one_hot_embeddings, dropout_rate=1.0, lstm_size=1, cell='lstm', num_layers=1):