transformers
Explicitly check if token ID's are None in TFBertTokenizer constructor
#28824
Merged

Explicitly check if token ID's are None in TFBertTokenizer constructor #28824

skumar951
skumar951 Add an explicit none-check, since token ids can be 0
fc901d51
ArthurZucker
ArthurZucker approved these changes on 2024-02-02
ArthurZucker
ArthurZucker ArthurZucker merged 1efb21c7 into main 2 years ago
skumar951 skumar951 deleted the skumar/fix_tokenizer_id_none_check branch 2 years ago
skumar951 skumar951 restored the head branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone