fewNER
fewNER copied to clipboard
code error
https://github.com/INK-USC/fewNER/blob/7ed977cf25ba3c10b0af646ef754f41ceaaf9ff3/src/data/transformers_dataset.py#L244
This line should be P, R, F1 = bert_score.score(search_space, queries, model_type=bert_score_model_type, verbose=idx % step_sz == 0),otherwise it will run error.
Hi @yangkang2318 Thank you for pointing out the error. Will check this and fix.