Skip to content

Commit

Permalink
I am not exactly sure how this was ever working
Browse files Browse the repository at this point in the history
We had copied the bert output, t5 has a different tokenizer.
  • Loading branch information
mattdangerw committed Dec 6, 2023
1 parent caec1fc commit 0036774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras_nlp/models/t5/t5_tokenizer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_smallest_preset(self):
cls=T5Tokenizer,
preset=preset,
input_data=["The quick brown fox."],
expected_output=[[1996, 4248, 2829, 4419, 1012]],
expected_output=[[37, 1704, 4216, 3, 20400, 5]],
)

@pytest.mark.extra_large
Expand Down

0 comments on commit 0036774

Please sign in to comment.