NER-LSTM-CNN-Pytorch icon indicating copy to clipboard operation
NER-LSTM-CNN-Pytorch copied to clipboard

parameters['crf'] = 0, disabling crf gives error

Open gashutosh85 opened this issue 4 years ago • 0 comments

in () 60 #count % (eval_every*4) == 0 and count < (eval_every * 20): 61 model.train(False) ---> 62 best_train_F, new_train_F, _ = evaluating(model, train_data, best_train_F,"Train") 63 best_dev_F, new_dev_F, save = evaluating(model, dev_data, best_dev_F,"Dev") 64 if save:

2 frames in get_chunk_type(tok, idx_to_tag) 13 """ 14 ---> 15 tag_name = idx_to_tag[tok] 16 tag_class = tag_name.split('-')[0] 17 tag_type = tag_name.split('-')[-1]

gashutosh85 avatar Apr 11 '21 07:04 gashutosh85