Skip to content

Commit

Permalink
🗑️ Set deprecation version for DPO and SFT arguments to version 0.13 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
qgallouedec authored Oct 4, 2024
1 parent 3321084 commit c6b0d13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion trl/trainer/dpo_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ class DPOTrainer(Trainer):
_tag_names = ["trl", "dpo"]

@_deprecate_arguments(
version="1.0.0",
version="0.13.0",
deprecated_args=[
"beta",
"label_smoothing",
Expand Down
2 changes: 1 addition & 1 deletion trl/trainer/sft_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class SFTTrainer(Trainer):
_tag_names = ["trl", "sft"]

@_deprecate_arguments(
version="1.0.0",
version="0.13.0",
deprecated_args=[
"dataset_text_field",
"packing",
Expand Down

0 comments on commit c6b0d13

Please sign in to comment.