From 11b4c318a22263882a73fe2af5e1979e82a12144 Mon Sep 17 00:00:00 2001 From: Shuang Song Date: Tue, 15 Feb 2022 20:14:46 +0000 Subject: [PATCH] Add links to secret sharer colab. PiperOrigin-RevId: 428844473 --- .../secret_sharer/secret_sharer_example.ipynb | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/tensorflow_privacy/privacy/privacy_tests/secret_sharer/secret_sharer_example.ipynb b/tensorflow_privacy/privacy/privacy_tests/secret_sharer/secret_sharer_example.ipynb index aab4085..cae066a 100644 --- a/tensorflow_privacy/privacy/privacy_tests/secret_sharer/secret_sharer_example.ipynb +++ b/tensorflow_privacy/privacy/privacy_tests/secret_sharer/secret_sharer_example.ipynb @@ -30,6 +30,31 @@ "# limitations under the License." ] }, + { + "cell_type": "markdown", + "metadata": { + "id": "1bf53JM8O4wr" + }, + "source": [ + "#Assess privacy risks with TensorFlow Privacy Secret Sharer Attack" + ] + }, + { + "cell_type": "markdown", + "metadata": { + "id": "TtYsuFkyPe1m" + }, + "source": [ + "\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n", + " \u003ctd\u003e\n", + " \u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/privacy/blob/master/tensorflow_privacy/privacy/privacy_tests/secret_sharer/secret_sharer_example.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" /\u003eRun in Google Colab\u003c/a\u003e\n", + " \u003c/td\u003e\n", + " \u003ctd\u003e\n", + " \u003ca target=\"_blank\" href=\"https://github.com/tensorflow/privacy/blob/master/tensorflow_privacy/privacy/privacy_tests/secret_sharer/secret_sharer_example.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on GitHub\u003c/a\u003e\n", + " \u003c/td\u003e\n", + "\u003c/table\u003e" + ] + }, { "cell_type": "markdown", "metadata": { @@ -72,7 +97,7 @@ "from IPython.display import clear_output\n", "\n", "!pip install tf-models-official\n", - "!pip install -e git+https://github.com/tensorflow/privacy.git\n", + "!pip install git+https://github.com/tensorflow/privacy.git\n", "clear_output()" ] },