Use hugging face model tokenizer

hi

how can i use the tokenizer of the hugging face models? like this one:

from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained(“bert-base-uncased”)

model = AutoModelForMaskedLM.from_pretrained(“bert-base-uncased”)

i want to use this special tokenizer. thanks:)

Did you solve the problem and how?