Thank you for this amazing paper! I have initially checked your code file, but I did not find the code content of the specific implementation of Over-Trust Logit Penalty. Could you please provide the location of the relevant code? Thank you very much for your help.
The implementation of OPERA is located at transformers-4.29.2/src/transformers/generation/utils.py. You can find the function opera_beam_search and we do over-trust logit penality at Line 3449.
Thank you for this amazing paper! I have initially checked your code file, but I did not find the code content of the specific implementation of Over-Trust Logit Penalty. Could you please provide the location of the relevant code? Thank you very much for your help.