Skip to content

Error when no tokenizer.json file is present in BERT models #110

Discussion options

You must be logged in to vote

There is a tool called Autotkenizer

from transformers import AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("unitary/toxic-bert")
assert tokenizer.is_fast
tokenizer.save_pretrained("...")

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tjake
Comment options

@lordofthejars
Comment options

Answer selected by tjake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants