hiyouga/Dual-Contrastive-Learning

Some logical problems

Opened this issue · 0 comments

Using the calculation comparison loss method in the source code, the calculated loss may be negative, My input is(batchsizedim, batchsizeclass_num*dim, class_num),And Lz and Lθ may be negative at the same time