Skip to content
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

[online-DPO] evaluaiton step error #2231

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions tests/test_nash_md_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def test_training_with_peft(self):
max_steps=3,
learning_rate=5.0e-7,
eval_strategy="steps",
eval_steps=1,
report_to="none",
)
dummy_dataset = load_dataset("trl-internal-testing/zen", "standard_prompt_only")
Expand Down Expand Up @@ -105,6 +106,7 @@ def test_training_with_peft_and_ref_model(self):
max_steps=3,
learning_rate=5.0e-7,
eval_strategy="steps",
eval_steps=1,
report_to="none",
)
dummy_dataset = load_dataset("trl-internal-testing/zen", "standard_prompt_only")
Expand Down
2 changes: 2 additions & 0 deletions tests/test_online_dpo_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def test_training_with_ref_model(self):
max_steps=3,
learning_rate=5.0e-7,
eval_strategy="steps",
eval_steps=1,
report_to="none",
)
dummy_dataset = load_dataset("trl-internal-testing/zen", "standard_prompt_only")
Expand Down Expand Up @@ -118,6 +119,7 @@ def test_training_with_peft(self):
max_steps=3,
learning_rate=5.0e-7,
eval_strategy="steps",
eval_steps=1,
report_to="none",
)
dummy_dataset = load_dataset("trl-internal-testing/zen", "standard_prompt_only")
Expand Down
2 changes: 2 additions & 0 deletions tests/test_xpo_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def test_xpo_trainer_training(self, config_name):
gradient_accumulation_steps=1,
learning_rate=9e-1,
eval_strategy="steps",
eval_steps=1,
report_to="none",
)
dummy_dataset = load_dataset("trl-internal-testing/zen", config_name)
Expand Down Expand Up @@ -76,6 +77,7 @@ def test_training_with_peft(self):
max_steps=3,
learning_rate=5.0e-7,
eval_strategy="steps",
eval_steps=1,
report_to="none",
)
dummy_dataset = load_dataset("trl-internal-testing/zen", "standard_prompt_only")
Expand Down
Loading