Skip to content

Commit

Permalink
Falcon3: fix test_tokenizer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ysjprojects committed Dec 22, 2024
1 parent d849632 commit d0571e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_tokenizer_against_hf(config):
else:
assert ours.vocab_size == config.vocab_size

if config.name.startswith(("falcon", "stablecode", "Qwen2.5", "QwQ")):
if config.name.startswith(("Falcon3", "falcon", "stablecode", "Qwen2.5", "QwQ")):
# even though their config defines it, it's set as None in HF
assert isinstance(ours.bos_id, int)
assert theirs.bos_token_id is None
Expand Down

0 comments on commit d0571e4

Please sign in to comment.