#9595th of 126 in Training and fine-tuning

privacy

Differentially private optimizers and privacy analysis tools for TensorFlow models

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
2k
License
Apache-2.0
Last commit
Nov 2026
Last release
Oct 2023
Language
Python
Stars, last 30 weeks+36
28 Apr 2026: 2,006 stars5 May 2026: 2,006 stars12 May 2026: 2,008 stars19 May 2026: 2,008 stars26 May 2026: 2,009 stars2 Jun 2026: 2,009 stars9 Jun 2026: 2,009 stars16 Jun 2026: 2,009 stars23 Jun 2026: 2,010 stars30 Jun 2026: 2,011 stars7 Jul 2026: 2,013 stars14 Jul 2026: 2,015 stars21 Jul 2026: 2,015 stars28 Jul 2026: 2,017 stars4 Aug 2026: 2,017 stars11 Aug 2026: 2,019 stars18 Aug 2026: 2,019 stars25 Aug 2026: 2,023 stars1 Sept 2026: 2,027 stars8 Sept 2026: 2,029 stars15 Sept 2026: 2,031 stars22 Sept 2026: 2,033 stars29 Sept 2026: 2,033 stars6 Oct 2026: 2,034 stars13 Oct 2026: 2,036 stars20 Oct 2026: 2,036 stars27 Oct 2026: 2,036 stars3 Nov 2026: 2,037 stars10 Nov 2026: 2,037 stars17 Nov 2026: 2,038 stars24 Nov 2026: 2,042 stars

2,006 on 28 Apr 20262,042 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Python library that wraps TensorFlow optimizers (SGD, Adam and others) into differentially private versions for training models. It includes tutorials and analysis tools for computing the privacy guarantees of a training run. Since version 0.9.0, empirical privacy testing ships as a separate PyPI package, tensorflow-empirical-privacy.

Who it is for: ML engineers training TensorFlow models with differential privacy

Strengths

  • Wraps existing TensorFlow optimizers such as SGD and Adam into DP counterparts
  • Includes tools to compute privacy guarantees, plus a tutorial walkthrough
  • Per-example gradient clipping for Keras Dense/Embedding models, with little overhead
  • Installs with pip install tensorflow-privacy

Weaknesses

  • Tied to TensorFlow; Keras and Estimator support needs TensorFlow 2.4 or later
  • Fast per-example clipping covers only Dense and Embedding layers
  • Last release is 2023-10-10, long before the latest commit
  • Tutorials are not part of the API and can change without warning

What it needs

  • GPU optional
  • Needs TensorFlow
  • Models: TensorFlow, Keras, tf.estimator

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Training and fine-tuning

See all 126
Also in Training and fine-tuning
RankProjectScore
#93openclaw-rlAsynchronous RL framework that trains agents from live conversation feedback5.8k starsApache-2.038 out of 100
#94autodistillLabel images with foundation models, then train small YOLO or DETR detectors Live demo ↗ (opens in a new tab)2.8k starsApache-2.038 out of 100
#96trainingMLPerf Training reference implementations for LLM, image and recommendation benchmarks1.8k starsApache-2.036 out of 100
#97katibKubernetes-native hyperparameter tuning and architecture search, now deprecated1.7k starsApache-2.036 out of 100
#98predict_lottery_ticketLSTM-CRF scripts that train and predict Chinese lottery numbers Live demo ↗ (opens in a new tab)1.1k starsno license36 out of 100