GanjinZero / RRHF

[NIPS2023] RRHF & Wombat
780 stars 49 forks source link

The calculation about rrhf loss in the code seems to be completely wrong #29

Closed yyhycx closed 1 year ago

yyhycx commented 1 year ago

When I set score=[1,2,3,4], rw_score = [4,3,2,1], the obtained rrhf loss is 0

Markczy commented 7 months ago

I also found this problem. Is there something wrong with this loss calculation