Skip to content

Commit

Permalink
Update src/transformers/models/auto/tokenization_auto.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker authored Oct 1, 2024
1 parent 6f55733 commit 05f8b5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transformers/models/auto/tokenization_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@
(
"siglip",
(
"SiglipTokenizer",
"PreTrainedTokenizerFast" if is_sentencepiece_available() else None,
"SiglipTokenizer" if is_sentencepiece_available() else None,
"PreTrainedTokenizerFast" if is_tokenizers_available() else None,
),
),
("speech_to_text", ("Speech2TextTokenizer" if is_sentencepiece_available() else None, None)),
Expand Down

0 comments on commit 05f8b5c

Please sign in to comment.