Missing code for ODIN
In ODIN's code, args.correlation_with_length appears in the README.md, but it doesn't appear in other Python scripts or bash files.
Did the author forget to push the code of this part into this repo? I'm wondering about the detailed implementation of calculating Pearson correlation on the entire batch. This part of code seems to have relationship with args.correlation_with_length and is also missing in this repo.
Below are the calculation of Pearson correlation mentioned in ODIN's paper. Thanks a lot for answering!
Sorry for the confusions! Please check the version here: https://github.com/Lichang-Chen/RLHF-Reward-Modeling/blob/odin/odin/gemma_two_head.py. I also pull request to merge the code into the main branch. Let me know if you have further questions.