bert icon indicating copy to clipboard operation
bert copied to clipboard

`TF`’s alternative for HuggingFace’s deprecated `TF`<foo> models?

Open khteh opened this issue 3 months ago • 0 comments

HuggingFace has deprecated TF models. What is the TF alternative for me to use the transformers tokenizer and BERT models? Specifically, I am looking for the following:

from transformers import AutoTokenizer, TFBertForMaskedLM
MODEL = "bert-base-uncased"
tokenizer = AutoTokenizer.from_pretrained(MODEL)
model = TFBertForMaskedLM.from_pretrained(MODEL)

https://github.com/huggingface/transformers/issues/41043

khteh avatar Sep 24 '25 08:09 khteh