tensorflow-hub
TensorFlow Hub is a library to foster the publication, discovery, and consumption of reusable parts of machine learning models.
Decision gist · record as of 2026-08-14
Yes, if you need to load pre-trained TensorFlow models and your target models are still available on Kaggle Models. The library is stable, has low install friction, and carries a permissive license. However, be aware that maintenance is dormant and many models from the original tfhub.dev have been deleted; verify your models exist before committing to this library in a new project.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires TensorFlow and tf-keras to be installed separately; models must exist on Kaggle Models (many models from tfhub.dev were deleted as of March 18, 2024).
- Low install friction with a pure-Python wheel distribution.
- Maintenance is dormant—last release was January 2024 and the repository has not been updated since January 2025—but the package remains functional for downloading models that have not been deleted from Kaggle Models.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 permissive license allows commercial and private use without restriction, making it safe to include in proprietary projects.
last release 2024-01-30 (927 days) · last repo commit 2025-01-17 · 3,523 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,162,619 downloads/mo, #3,241 on PyPI
Alternatives
Verify before relying
pip install tensorflow-hub
import tensorflow_hub as hub
model = hub.load('https://tfhub.dev/google/...')- Current status of model availability on Kaggle Models and whether all actively-used models have been migrated.
- Whether dormant maintenance status will affect compatibility with future TensorFlow versions.
What it is and what it does
TensorFlow Hub is a library for discovering and loading pre-trained TensorFlow SavedModels—reusable components like embeddings, classifiers, and feature extractors—into your own TensorFlow programs. It abstracts away the download and caching logic, letting you load a model with a single function call and a URL. The library depends on numpy, protobuf, and tf-keras to handle the underlying tensor operations and model serialization.
As of November 2023, the tfhub.dev repository was migrated to Kaggle Models, and many older models were deleted by March 2024. The library continues to support loading models via tfhub.dev URLs (which redirect to Kaggle), but you should verify that the models you need are still available. The package is in Beta status and has not been actively maintained since early 2024, though it remains functional for its core use case of model loading and reuse.
Use it for
- Load a pre-trained image classifier and fine-tune it on your own dataset for transfer learning.
- Retrieve a text embedding model to convert sentences into dense vectors for semantic search or clustering.
- Integrate a pre-trained object detection model into a production inference pipeline without training from scratch.
- Prototype a machine learning application by combining multiple reusable SavedModels from the hub.
- Cache downloaded models locally to avoid repeated network requests during development and testing.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to load pre-trained TensorFlow models and your target models are still available on Kaggle Models.
The library is stable, has low install friction, and carries a permissive license. However, be aware that maintenance is dormant and many models from the original tfhub.dev have been deleted; verify your models exist before committing to this library in a new project.
Install
tensorflow-hub on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Maintenance is dormant—last release was January 2024 and the repository has not been updated since January 2025—but the package remains functional for downloading models that have not been deleted from Kaggle Models.
Requires TensorFlow and tf-keras to be installed separately; models must exist on Kaggle Models (many models from tfhub.dev were deleted as of March 18, 2024).
License in practice
Apache 2.0 permissive license allows commercial and private use without restriction, making it safe to include in proprietary projects.
Quickstart
pip install tensorflow-hub
import tensorflow_hub as hub
model = hub.load('https://tfhub.dev/google/...')
Verify before relying
- Current status of model availability on Kaggle Models and whether all actively-used models have been migrated.
- Whether dormant maintenance status will affect compatibility with future TensorFlow versions.
Package facts
| License | Apache 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesnumpyprotobuftf-keras |
| Maintenance | Dormant 927 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,162,619 / month, #3,241 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: MathematicsTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: tensorflow_hub-0.16.1-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “tensorflow model hub download”
- tensorflow-hubDownloads and loads pre-trained TensorFlow SavedModels from…
- datasetsLoads and preprocesses datasets from the Hugging Face Hub or local…
- hfA command-line interface for interacting with the Hugging Face…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also keras-hub · datasets · tensorflow-model-optimization · tensorflow-graphics · tensorflow · tf-nightly-cpu · tf-nightly · huggingface-hub · tensorflow-cpu · kaggle