Skip to content

Commit

Permalink
add ablation study
Browse files Browse the repository at this point in the history
  • Loading branch information
khairulislam committed Dec 3, 2024
1 parent 29caecd commit fb55213
Show file tree
Hide file tree
Showing 79 changed files with 236,737 additions and 1 deletion.
2 changes: 1 addition & 1 deletion interpret.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def main(args):
for itr_no in range(1, args.itrs+1):
if (original_itr is not None) and original_itr != itr_no: continue

args.seed = experiment_seeds[itr_no-1]
args.seed = int(experiment_seeds[itr_no-1])
print(f'\n>>>> itr_no: {itr_no}, seed: {args.seed} <<<<<<')
set_random_seed(args.seed)
args.itr_no = itr_no
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ time-interpret # ==0.3.0
captum
tqdm
einops
peft
transformers
# install pytorch and cuda following readme
Loading

0 comments on commit fb55213

Please sign in to comment.