$npx skillfedfor your agent

tensorflow-hub

TensorFlow Hub is a library to foster the publication, discovery, and consumption of reusable parts of machine learning models.

With conditionsPyPI Software DevelopmentReleased Jan 20242.2M downloads / moApache 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — tensorflow_hub-0.16.1-py2.py3-none-any.whl
v0.16.1 · released 2024-01-30 · 3 runtime deps: numpy, protobuf, tf-keras

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

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.
Same gist for agents: .md · .json

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.

With conditions

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

LicenseApache 2.0 permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
numpyprotobuftf-keras
MaintenanceDormant 927 days since the last release
Last repo commit
First released
Downloads2,162,619 / month, #3,241 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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

Capabilities
tensorflow model hub downloadload pretrained tensorflow modelstransfer learning tensorflowreusable savedmodels tensorflowtensorflow model reuse librarydownload tensorflow hub modelstensorflow model serving
Topics
transfer-learningmodel-reusetensorflow
PyPI keywords
tensorflowmachinelearningsharemodulesubgraphcomponenthubembeddingretrainingtransfer

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

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

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.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

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.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

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.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

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.

permissive licensepure Python
323.3Mdownloads / mo

See also keras-hub · datasets · tensorflow-model-optimization · tensorflow-graphics · tensorflow · tf-nightly-cpu · tf-nightly · huggingface-hub · tensorflow-cpu · kaggle