Skip to content

Resolve TF Hub handle before passing to HubModuleTokenizer in the tokenizers guide. - #1579

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_1012330200
Nov 2, 2026
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_1012330200

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Resolve TF Hub handle before passing to HubModuleTokenizer in the tokenizers guide.

In TensorFlow 2.21, the SavedModel loader rejects remote https:// URLs when loading a hub module path directly in HubModuleTokenizer.

  • Resolve the TF Hub model handle to a local directory with hub.resolve before passing it to HubModuleTokenizer in the tokenizers guide notebook.

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

…okenizers guide.

In TensorFlow 2.21, the SavedModel loader rejects remote `https://` URLs when loading a hub module path directly in `HubModuleTokenizer`.

* Resolve the TF Hub model handle to a local directory with `hub.resolve` before passing it to `HubModuleTokenizer` in the tokenizers guide notebook.

PiperOrigin-RevId: 1012491715
@copybara-service
copybara-service Bot merged commit ea51a9e into master Nov 2, 2026
3 checks passed
@copybara-service
copybara-service Bot deleted the test_1012330200 branch November 2, 2026 23:26

This branch was successfully deployed

1 active deployment
github-pages — ea51a9e1 Deployed Nov 2, 2026 by github-pages[bot] via deploy #343
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.

1 participant