Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

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

Description

@khteh

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)

huggingface/transformers#41043

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions