Skip to content

Commit

Permalink
Update ultrafeedback from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
plaguss committed Jan 8, 2024
1 parent 95dac2c commit b8cc8cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@pytest.fixture
def custom_dataset():
ds = CustomDataset.from_dict({"input": ["a", "b"], "generations": ["c", "d"]})
ds.task = UltraFeedbackTask.for_text_quality()
ds.task = UltraFeedbackTask.for_overall_quality()
return ds


Expand Down Expand Up @@ -60,7 +60,7 @@ def test_do_checkpoint(
ds = CustomDataset.from_dict(
{"input": ["a"] * dataset_len, "generations": ["a"] * dataset_len}
)
ds.task = UltraFeedbackTask.for_text_quality()
ds.task = UltraFeedbackTask.for_overall_quality()
chk = DatasetCheckpoint(save_frequency=save_frequency)
ctr = 0
with tempfile.TemporaryDirectory() as tmpdir:
Expand Down

0 comments on commit b8cc8cc

Please sign in to comment.