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.
如题。We also find that a higher tau (e.g. tau=2) is beneficial but we keep it to for simplicity.请问是什么原因呢?温度系数越大不是越将所有负样本视为一致了吗,为何效果更佳呢?