Tencent / NeuralNLP-NeuralClassifier

An Open-source Neural Hierarchical Multi-label Text Classification Toolkit
Other
1.85k stars 406 forks source link

HMCN模型的代码实现里面,没有Hierarchical Violation Penalty loss ? #113

Closed littttttlebird closed 1 year ago

littttttlebird commented 2 years ago

代码里HMCN(HMCN-F版本)的实现,只计算了global和local的交叉熵损失?

MagiaSN commented 2 years ago

目前没有实现,如果这个loss对你的任务有帮助,欢迎贡献代码,可以参考model/loss.pycal_recursive_regularize的实现

jamestang0219 commented 1 year ago

无进一步讨论,先close掉,有需要再重新open