-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One of the inputs missing for DPO loss #20
Comments
Also observed the same issue! Wasn't able to to root cause it. |
The experiments we run in the paper use the argument |
I see. Yes I'll use the |
The source of the error is this: DPO requires a different data collator. You can implement DPO by refactoring |
When I use
dpo
as the forget loss, I encountered the following error:After some inspection, I noticed that the
inputs
variable only contains 2 elements instead of 3, leading to the error. I made no code modification and double-checked thatTextForgetDatasetDPOQA
is used and has three items returned by__getitem__
. However, I wasn't able to trace the source of this error.The text was updated successfully, but these errors were encountered: