Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Hugging Face Demo Notebooks #2347

Merged
merged 6 commits into from
Jan 19, 2024
Merged

Conversation

f4str
Copy link
Collaborator

@f4str f4str commented Dec 8, 2023

Description

Add additional notebooks demonstrating how to perform evasion and poisoning attacks on Hugging Face image classification models. The notebooks/README.md was also updated accordingly.

Fixes # N/A

Type of change

Please check all relevant options.

  • Improvement (non-breaking)
  • Bug fix (non-breaking)
  • New feature (non-breaking)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Testing

Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.

  • N/A

Test Configuration:

  • OS
  • Python version
  • ART version or commit number
  • TensorFlow / Keras / PyTorch / MXNet version

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • My changes have been tested using both CPU and GPU devices

f4str added 2 commits December 7, 2023 16:53
Signed-off-by: Farhan Ahmed <[email protected]>
Signed-off-by: Farhan Ahmed <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Dec 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (48f2d81) 85.30% compared to head (43b4316) 85.39%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2347      +/-   ##
==========================================
+ Coverage   85.30%   85.39%   +0.08%     
==========================================
  Files         327      327              
  Lines       30205    30205              
  Branches     5589     5589              
==========================================
+ Hits        25767    25794      +27     
+ Misses       2987     2963      -24     
+ Partials     1451     1448       -3     

see 4 files with indirect coverage changes

@beat-buesser beat-buesser self-requested a review December 13, 2023 13:49
@beat-buesser beat-buesser self-assigned this Dec 13, 2023
@beat-buesser beat-buesser added the notebooks Notebooks label Dec 13, 2023
Copy link
Collaborator

@beat-buesser beat-buesser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @f4str Thank you very much for your pull request!

@beat-buesser beat-buesser merged commit de99dca into Trusted-AI:main Jan 19, 2024
32 checks passed
@f4str f4str deleted the hf-demo-notebooks branch January 19, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notebooks Notebooks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants