Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheQuantumFractal committed Oct 22, 2024
1 parent b7bbc40 commit 843050c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_supervised.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_supervised_eval():
if tokenizer.pad_token is None:
tokenizer.pad_token = tokenizer.eos_token

output = preprocess_supervised_example(examples, tokenizer)
output = preprocess_supervised_example(examples, tokenizer, "input", "output")
assert len(output["input_ids"][0]) == output["sources_len"][0] + 1

ex = {
Expand Down

0 comments on commit 843050c

Please sign in to comment.