Skip to content

Conversation

@Rocketknight1
Copy link
Member

A reference to TFBertTokenizer was left behind after removing TF/JAX support, which caused some issues. This PR removes it!

Fixes #42175

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@Rocketknight1 Rocketknight1 force-pushed the cleanup_tf_reference branch 8 times, most recently from 28d6a65 to 60bb2c3 Compare November 17, 2025 17:13
# Signature is *args/**kwargs
"TFSequenceSummary",
"TFBertTokenizer",
"TFGPT2Tokenizer",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove TF ref for GPT2 as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woah, I somehow didn't see that. Good spot.

Copy link
Member

@zucchini-nlp zucchini-nlp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving in advance, it's only two more lines to delete

@Rocketknight1 Rocketknight1 changed the title Cleanup reference to TFBertTokenizer Cleanup reference to TFBertTokenizer and TFGPT2Tokenizer Nov 17, 2025
@github-actions
Copy link
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: bert, gpt2

@Rocketknight1 Rocketknight1 merged commit d372b82 into main Nov 18, 2025
24 checks passed
@Rocketknight1 Rocketknight1 deleted the cleanup_tf_reference branch November 18, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tensorflow not include in the backend when using pip install '.[torch]'

4 participants