Skip to content

Commit

Permalink
Fix Test
Browse files Browse the repository at this point in the history
(cherry picked from commit fd220db)
  • Loading branch information
apaniukov committed Apr 9, 2024
1 parent 3f93427 commit 909f6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tokenizers_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def test_eos_token_id_rt_info_bpe(hf_bpe_tokenizers):


def test_eos_token_id_rt_info_tiktoken(hf_tiktoken_tokenizers):
eos_token_id = hf_tiktoken_tokenizers.eos_token_id
eos_token_id = hf_tiktoken_tokenizers.eos_token_id or hf_tiktoken_tokenizers.eod_id
ov_tokenizer, ov_detokenizer = convert_tokenizer(
hf_tiktoken_tokenizers,
with_detokenizer=True,
Expand Down

0 comments on commit 909f6e0

Please sign in to comment.