LexiconNER icon indicating copy to clipboard operation
LexiconNER copied to clipboard

LOC and MISC type training

Open ShaoQiBNU opened this issue 5 years ago • 4 comments

PER 和 ORG 的 python feature_pu_model.py --dataset conll2003 --flag PER 可以正常得到结果,但是LOC和MISC始终是 Precision: 0, Recall: 0.0, F1: 0,得不到结果

ShaoQiBNU avatar Nov 05 '19 12:11 ShaoQiBNU

我也遇到了这个问题,请问您解决了吗?

JackySnake avatar Nov 13 '19 08:11 JackySnake

I guess this is probably caused by the class imbalance problem. You should set different class balance rate for LOC and MISC.

XINGXIAOYU avatar Nov 13 '19 08:11 XINGXIAOYU

I guess this is probably caused by the class imbalance problem. You should set different class balance rate for LOC and MISC.

Thank you. It is truly caused by the class weight(descript in Loss definition , p5). I want to know the class weight of each class in experiment of the paper, could you provide the accurate values for reference? And what the range of the class weight? If the corverage of entity class lexicon is good ,the class weight should be a bigger value, is that right?

JackySnake avatar Nov 13 '19 10:11 JackySnake

请问大家有解决这个权重参数的设置问题么,我想在中文数据集上进行复现也遇到了同样的问题,但是不知道按照什么依据来设置合理的参数值

pmouren avatar Feb 15 '21 07:02 pmouren