You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some other trainers use this attribute: for example, KTO and BCO (search results).
I may be wrong, but my impression is that it was practically dropped in #2209 and #2306.
Could someone clarify if truncation_mode is still relevant for DPOTrainer?
My understanding is that we’d always want to keep the end when truncating for DPO, but I’d appreciate confirmation.
If I am right, let me know, and I would be happy to contribute with a PR to remove the unused arg.
The text was updated successfully, but these errors were encountered:
DPOConfig
has atruncation_mode
attribute. DocsThe only direct usage of it I can find in
DPOTrainer
is here:trl/trl/trainer/dpo_trainer.py
Line 392 in 763738f
Some other trainers use this attribute: for example, KTO and BCO (search results).
I may be wrong, but my impression is that it was practically dropped in #2209 and #2306.
Could someone clarify if
truncation_mode
is still relevant forDPOTrainer
?My understanding is that we’d always want to keep the end when truncating for DPO, but I’d appreciate confirmation.
If I am right, let me know, and I would be happy to contribute with a PR to remove the unused arg.
The text was updated successfully, but these errors were encountered: