#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.
Watch puts privacy on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.privacy is on your watch list. Its new releases and problems show there.
- Stars
- 2k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Oct 2023
- Language
- Python
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| Rank | Project | Score |
|---|---|---|
| #93 | openclaw-rlAsynchronous RL framework that trains agents from live conversation feedback | 38 out of 100 |
| #94 | autodistillLabel images with foundation models, then train small YOLO or DETR detectors | 38 out of 100 |
| #96 | trainingMLPerf Training reference implementations for LLM, image and recommendation benchmarks | 36 out of 100 |
| #97 | katibKubernetes-native hyperparameter tuning and architecture search, now deprecated | 36 out of 100 |
| #98 | predict_lottery_ticketLSTM-CRF scripts that train and predict Chinese lottery numbers | 36 out of 100 |