Skip to content

Commit de99dca

Browse files
authored
Merge pull request #2347 from f4str/hf-demo-notebooks
Add Hugging Face Demo Notebooks
2 parents 48f2d81 + 43b4316 commit de99dca

File tree

4 files changed

+1457
-0
lines changed

4 files changed

+1457
-0
lines changed

notebooks/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,3 +308,14 @@ Demonstrates training a neural network using smoothed vision transformers for ce
308308

309309
[fabric_for_deep_learning_adversarial_samples_fashion_mnist.ipynb](fabric_for_deep_learning_adversarial_samples_fashion_mnist.ipynb) [[on nbviewer](https://nbviewer.jupyter.org/github/Trusted-AI/adversarial-robustness-toolbox/blob/main/notebooks/fabric_for_deep_learning_adversarial_samples_fashion_mnist.ipynb)]
310310
shows how to use ART with deep learning models trained with the Fabric for Deep Learning (FfDL).
311+
312+
## Hugging Face
313+
314+
[huggingface_notebook.ipynb](huggingface_notebook.ipynb) [[on nbviewer](https://nbviewer.jupyter.org/github/Trusted-AI/adversarial-robustness-toolbox/blob/main/notebooks/huggingface_notebook.ipynb)]
315+
shows how to use ART with the Hugging Face API for image classification tasks.
316+
317+
[hugging_face_evasion.ipynb](hugging_face_evasion.ipynb) [[on nbviewer](https://nbviewer.jupyter.org/github/Trusted-AI/adversarial-robustness-toolbox/blob/main/notebooks/hugging_face_evasion.ipynb)]
318+
shows how to use ART to perform evasion attacks on Hugging Face image classification models and defend them using adversarial training.
319+
320+
[hugging_face_poisoning.ipynb](hugging_face_poisoning.ipynb) [[on nbviewer](https://nbviewer.jupyter.org/github/Trusted-AI/adversarial-robustness-toolbox/blob/main/notebooks/hugging_face_poisoning.ipynb)]
321+
shows how to use ART to perform poison Hugging Face image classification models and defend them using poisoning defenses.

0 commit comments

Comments
 (0)