Skip to content

Commit

Permalink
Merge pull request #4 from iamgroot42/michael/exp_changes
Browse files Browse the repository at this point in the history
Small changes to attacks at inference time to prevent OOM
  • Loading branch information
iamgroot42 authored Feb 7, 2024
2 parents f143831 + c1c40f5 commit 9be6591
Show file tree
Hide file tree
Showing 19 changed files with 2,198 additions and 279 deletions.
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ new_neigh_mia/*
# Ignore generated data
data/*/

# Ignore local helper scripts
# local/
# Ignore local results files
local/*results.json

# Logs (from cluster runs)
logs/*
Expand Down Expand Up @@ -54,4 +54,7 @@ quantile_ref_model/*
# Temp
table*/*
fig7/*
new_mi/*
new_mi/*

# Ignore resources for edited members
edit_distance_members
2 changes: 1 addition & 1 deletion configs/mi.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"output_name": "unified_mia",
"specific_source": "Github",
"n_samples": 1000,
"blackbox_attacks": ["loss","ref", "zlib", "min_k"],
"blackbox_attacks": ["ne"],
"ref_config": {
"models": [
"stabilityai/stablelm-base-alpha-3b-v2"
Expand Down
2 changes: 1 addition & 1 deletion configs/new_mi.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"output_name": "unified_mia",
"specific_source": "Github",
"n_samples": 1000,
"blackbox_attacks": ["loss", "ref", "min_k"],
"blackbox_attacks": ["loss", "ref", "min_k", "zlib"],
"ref_config": {
"models": [
"stabilityai/stablelm-base-alpha-3b-v2"
Expand Down
5 changes: 4 additions & 1 deletion configs/ref_exp_mi.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
"blackbox_attacks": ["ref"],
"ref_config": {
"models": [
"huggyllama/llama-7b"
"EleutherAI/pythia-1.4b",
"distilgpt2",
"EleutherAI/gpt-neo-1.3B",
"facebook/opt-1.3B"
]
},
"neighborhood_config": {
Expand Down
455 changes: 451 additions & 4 deletions inspect_mi.ipynb

Large diffs are not rendered by default.

859 changes: 715 additions & 144 deletions local/figures_for_paper.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 9be6591

Please sign in to comment.