Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion trl/trainer/cpo_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def __init__(self, *args, **kwargs):
warnings.warn(
"The `CPOTrainer` is now located in `trl.experimental`. Please update your imports to "
"`from trl.experimental.cpo import CPOTrainer`. The current import path will be removed and no longer "
"supported in TRL 0.29. For more information, see https://github.com/huggingface/trl/issues/4223."
"supported in TRL 0.29. For more information, see https://github.com/huggingface/trl/issues/4223.",
FutureWarning,
stacklevel=2,
)
super().__init__(*args, **kwargs)
Loading