Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b65fe63

Browse files
committed
comment
1 parent 06b1f2b commit b65fe63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/transformers/models/auto/tokenization_auto.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ def from_pretrained(
702702
else:
703703
tokenizer_auto_map = tokenizer_config["auto_map"].get("AutoTokenizer", None)
704704

705-
# tokenizer_config_class doesn't match the registered tokenizer for this model_type.
705+
# if there is a config, we can check that the tokenizer class != than model class.
706706
# Use the config class if it's a specialized tokenizer, otherwise fall back to TokenizersBackend.
707707
if (
708708
tokenizer_auto_map is None

0 commit comments

Comments
 (0)