hanxunh commited on
Commit
8b9cc88
·
verified ·
1 Parent(s): 2649cde

Push model using huggingface_hub.

Browse files
Files changed (2) hide show
  1. README.md +5 -52
  2. config.json +1 -1
README.md CHANGED
@@ -1,58 +1,11 @@
1
  ---
2
  library_name: XTransferBench
3
- license: mit
4
- pipeline_tag: zero-shot-classification
5
  tags:
6
- - not-for-all-audiences
7
- - pytorch_model_hub_mixin
8
  - model_hub_mixin
 
9
  ---
10
 
11
-
12
- # X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIP
13
- <div align="center">
14
- <a href="https://arxiv.org/pdf/2502.01385" target="_blank"><img src="https://img.shields.io/badge/arXiv-b5212f.svg?logo=arxiv" alt="arXiv"></a>
15
- </div>
16
-
17
- Pre-trained UAP/TUAP for ICML2025 paper ["X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIP"](https://openreview.net/forum?id=KmQEsIfhr9)
18
-
19
- ---
20
-
21
- ## X-TransferBench
22
- X-TransferBench is an open-source benchmark that provides a comprehensive collection of UAPs/TUAPs capable of achieving universal adversarial transferability. These UAPs can simultaneously **transfer across data, domains, models**, and **tasks**. Essentially, they represent perturbations that can transform any sample into an adversarial example, effective against any model and for any task.
23
-
24
- ## Model Details
25
-
26
- - Surrogate Model Search Space: Base
27
- - Surrogate Dataset: ImageNet
28
- - Threat Model: L_inf_eps=12/255
29
- - Perturbation Size: 3 x 224 x 224
30
-
31
- ---
32
- ## Model Usage
33
-
34
- ```python
35
- from XTransferBench import attacker
36
- attacker = XTransferBench.zoo.load_attacker("linf_non_targeted", "xtransfer_base_linf_eps12_non_targeted")
37
- attacker = attacker.to(device)
38
-
39
- images = # torch.Tensor [b, 3, h, w], values should be between 0 and 1
40
- adv_images = attacker(images) # adversarial examples
41
- ```
42
-
43
- ---
44
-
45
- ## Citation
46
- If you use this model in your work, please cite the accompanying paper:
47
-
48
- ```
49
- @inproceedings{
50
- huang2025xtransfer,
51
- title={X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIP},
52
- author={Hanxun Huang and Sarah Erfani and Yige Li and Xingjun Ma and James Bailey},
53
- booktitle={ICML},
54
- year={2025},
55
- }
56
-
57
- ```
58
-
 
1
  ---
2
  library_name: XTransferBench
 
 
3
  tags:
 
 
4
  - model_hub_mixin
5
+ - pytorch_model_hub_mixin
6
  ---
7
 
8
+ This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
9
+ - Code: [More Information Needed]
10
+ - Paper: [More Information Needed]
11
+ - Docs: [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "checkpoint_path": null,
3
  "epsilon": 0.047058823529411764,
4
  "image_size": 224
5
  }
 
1
  {
2
+ "checkpoint_path": "/data/gpfs/projects/punim0784/hanxunh/clip_uap_transfer_dev/experiments/untargeted/in1k/base/mab_ucb_rho2/Ensemble4/l_inf_pgd_12/checkpoints/delta.pth",
3
  "epsilon": 0.047058823529411764,
4
  "image_size": 224
5
  }