forked from huggingface/transformers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove redundant if-condition and improve type correctness …
…for `convert_tokens_to_ids` (huggingface#34030) * chore: remove redundant if-condition * fix: import `Iterable`
- Loading branch information
1 parent
3dd5225
commit 746df7b
Showing
1 changed file
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters