$npx skillfedfor your agent

tensorflow-recommenders

Tensorflow Recommenders, a TensorFlow library for recommender systems.

Worth itPyPI Software DevelopmentReleased Jan 2026203.9K downloads / moApache 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — tensorflow_recommenders-0.7.7-py3-none-any.whl
v0.7.7 · released 2026-01-23 · 4 runtime deps: absl-py, tf-keras, tensorflow, tensorflow-macos

Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and offers a well-structured abstraction for a common ML task. It is suitable for developers building recommender systems who want to leverage TensorFlow's ecosystem without writing boilerplate. The Apache 2.0 license is permissive for commercial use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires TensorFlow 2.x to be installed separately; the package does not bundle TensorFlow itself.
  • Low install friction with a pure-Python wheel.
  • The package is actively maintained with recent commits and depends on core TensorFlow ecosystem libraries (tensorflow, tf-keras, absl-py), all of which are well-established.

License · maintenance · safety

Apache 2.0 (permissive) — Apache 2.0 is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-01-23 (203 days) · last repo commit 2026-07-08 · 2,026 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 203,882 downloads/mo, #9,618 on PyPI

Verify before relying

pip install tensorflow-recommenders

import tensorflow_recommenders as tfrs
import tensorflow as tf

class Model(tfrs.Model):
  def __init__(self):
    super().__init__()
    self.user_model = tf.keras.layers.Embedding(input_dim=2000, output_dim=64)
    self.item_model = tf.keras.layers.Embedding(input_dim=2000, output_dim=64)
    self.task = tfrs.tasks.Retrieval()
  
  def compute_loss(self, features, training=False):
    user_embeddings = self.user_model(features["user_id"])
    item_embeddings = self.item_model(features["item_id"])
    return self.task(user_embeddings, item_embeddings)

model = Model()
model.compile(optimizer=tf.keras.optimizers.Adagrad(0.5))
  • Whether the package supports distributed training across multiple GPUs or TPUs.
  • Performance characteristics and scalability limits for large-scale datasets.
  • Availability of pre-built models or transfer learning capabilities.
Same gist for agents: .md · .json

What it is and what it does

TensorFlow Recommenders is a Keras-based library for building recommender systems on top of TensorFlow. It abstracts away common patterns in recommendation workflows—embedding layers, ranking tasks, retrieval metrics—so you can focus on model architecture rather than boilerplate. The library is designed with a gentle learning curve but retains flexibility for complex models; it handles data preparation, model formulation, training, evaluation, and deployment as an integrated workflow.

The package depends on tensorflow, tf-keras, and absl-py, and is built to work seamlessly within the TensorFlow ecosystem. It provides task abstractions (like Retrieval) and metric classes (like FactorizedTopK) that simplify the definition of loss functions and evaluation criteria for recommendation problems. The library is actively maintained, with recent commits and a permissive Apache 2.0 license.

Use it for

  • Build a matrix factorization model to predict user ratings for unseen movies or products.
  • Train a two-tower neural network for candidate retrieval in a large-scale recommendation system.
  • Evaluate ranking quality using built-in metrics like FactorizedTopK across a full candidate set.
  • Combine user and item embeddings with custom Keras layers to model complex interaction patterns.
  • Deploy a trained recommender model using TensorFlow's standard serving infrastructure.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has low install friction, carries no known vulnerabilities, and offers a well-structured abstraction for a common ML task. It is suitable for developers building recommender systems who want to leverage TensorFlow's ecosystem without writing boilerplate. The Apache 2.0 license is permissive for commercial use.

Install

tensorflow-recommenders on PyPI

Before you install

Low install friction with a pure-Python wheel. The package is actively maintained with recent commits and depends on core TensorFlow ecosystem libraries (tensorflow, tf-keras, absl-py), all of which are well-established.

Requires TensorFlow 2.x to be installed separately; the package does not bundle TensorFlow itself.

License in practice

Apache 2.0 is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install tensorflow-recommenders

import tensorflow_recommenders as tfrs
import tensorflow as tf

class Model(tfrs.Model):
  def __init__(self):
    super().__init__()
    self.user_model = tf.keras.layers.Embedding(input_dim=2000, output_dim=64)
    self.item_model = tf.keras.layers.Embedding(input_dim=2000, output_dim=64)
    self.task = tfrs.tasks.Retrieval()
  
  def compute_loss(self, features, training=False):
    user_embeddings = self.user_model(features["user_id"])
    item_embeddings = self.item_model(features["item_id"])
    return self.task(user_embeddings, item_embeddings)

model = Model()
model.compile(optimizer=tf.keras.optimizers.Adagrad(0.5))

Verify before relying

  • Whether the package supports distributed training across multiple GPUs or TPUs.
  • Performance characteristics and scalability limits for large-scale datasets.
  • Availability of pre-built models or transfer learning capabilities.

Package facts

LicenseApache 2.0 permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
absl-pytf-kerastensorflowtensorflow-macos
MaintenanceActively maintained 203 days since the last release
Last repo commit
First released
Downloads203,882 / month, #9,618 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.8Programming 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_recommenders-0.7.7-py3-none-any.whl

Tags

Capabilities
recommendation system tensorflowcollaborative filtering kerasneural recommender modelsmatrix factorization tensorflowranking and retrieval modelsuser item embeddingrecommender system framework
Topics
recommendation-engineneural-networkskeras-framework
PyPI keywords
tensorflowrecommendersrecommendations

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 › “recommendation system tensorflow”

  • tensorflow-recommendersTensorFlow Recommenders provides a Keras-based library for building…
  • google-metraxMetrax provides standard evaluation metrics for machine learning…
  • recboleRecBole provides a unified framework for implementing, benchmarking,…

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 implicit · keras · scikit-surprise · tensorflow-model-optimization · recbole · tf-slim · tensorflow-estimator · keras-nightly · tf-keras-nightly · tf-estimator-nightly