Skip to content

Commit

Permalink
fix character coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
WindQAQ committed Sep 29, 2019
1 parent 28d8021 commit 71c2ab3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified tests/sample_data/subword.model
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/test_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _test_encode_decode(self, text_encoder):
ids = text_encoder.encode(self.text)

self.assertEqual(5000, text_encoder.vocab_size)
self.assertEqual(ids, [2838, 1697, 99, 333, 1])
self.assertEqual(ids, [2845, 1699, 99, 333, 1])

decoded = text_encoder.decode(ids)
self.assertEqual(decoded, self.text)
Expand Down

0 comments on commit 71c2ab3

Please sign in to comment.