Skip to content
This repository was archived by the owner on Apr 30, 2026. It is now read-only.

Commit cf434b3

Browse files
authored
Merge pull request #600 from bbrowning/test-datamixing-load-unmasked-dataset
Verify that we can load mixed unmasked datasets
2 parents 563bc4a + 51aa312 commit cf434b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_datamixing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def test_mix_instructlab_07x_precomputed_skills_with_unmask(tmp_path):
417417
recipe.save_mixed_dataset(output_path, TEST_NUM_PROCS)
418418

419419
# Ensure all the mixed samples have an unmask field
420-
mixed_samples = jlload(output_path)
420+
mixed_samples = load_dataset("json", data_files=output_path, split="train")
421421
for sample in mixed_samples:
422422
assert (
423423
sample.get("unmask", None) is not None

0 commit comments

Comments
 (0)