fewNER icon indicating copy to clipboard operation
fewNER copied to clipboard

code error

Open yangkang2318 opened this issue 3 years ago • 1 comments

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.

yangkang2318 avatar Jul 12 '22 09:07 yangkang2318

Hi @yangkang2318 Thank you for pointing out the error. Will check this and fix.

danny911kr avatar Jul 12 '22 19:07 danny911kr