transformers
refactor: remove redundant if-condition and improve type correctness for `convert_tokens_to_ids`
#34030
Merged

refactor: remove redundant if-condition and improve type correctness for `convert_tokens_to_ids` #34030

ArthurZucker merged 2 commits into huggingface:main from main
winstxnhdw
winstxnhdw chore: remove redundant if-condition
dff576bd
winstxnhdw winstxnhdw changed the title chore: remove redundant if-condition refactor: remove redundant if-condition and improve type correctness for `convert_tokens_to_ids` 1 year ago
winstxnhdw fix: import `Iterable`
c28eeeb7
LysandreJik
HuggingFaceDocBuilderDev
winstxnhdw
ArthurZucker
ArthurZucker approved these changes on 2024-10-24
ArthurZucker ArthurZucker merged e2886166 into main 1 year ago
ArthurZucker

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone