transformers-ner icon indicating copy to clipboard operation
transformers-ner copied to clipboard

evaluate key error -1

Open Hansyvea opened this issue 4 years ago • 3 comments

preds_list[i].append(label_map[preds[i][j]])

Hansyvea avatar May 04 '21 13:05 Hansyvea

preds_list[i].append(label_map[preds[i][j]])

hello, hansyvea, I found the problem is that you don't set the max_seq_length in the methond "convert_examples_to_features", you should change it to your own figure.

TobeyLi avatar Aug 05 '21 13:08 TobeyLi

i meet this question too, how dou you fix it

FredlinT avatar Jun 21 '22 11:06 FredlinT

hello, i meet this question too, how do you fix it, please help

quocnamng20 avatar May 23 '23 09:05 quocnamng20