This repository implements a contrastive learning model for hierarchical text classification. This work has been accepted as the long paper "Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text Classification" in ACL 2022.
如题,是不是直接在第二级标签上argmax logits呢,还是先在第一级再在第二级做argmax呢? 谢谢!