Skip to content

Commit

Permalink
replace test text
Browse files Browse the repository at this point in the history
  • Loading branch information
liuwenran committed Oct 18, 2023
1 parent d353e6a commit e411a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_models/test_archs/test_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def setUp(self):

def test_encode_and_decode_and_call(self):
# test single token
text = 'hello world, kwaheri!'
text = 'Nice bro, kwaheri!'
input_ids = self.tokenizer.encode(text).input_ids
self.assertEqual(input_ids[-3:-2],
self.tokenizer.encode('kwaheri').input_ids[1:-1])
Expand Down

0 comments on commit e411a8e

Please sign in to comment.