generated from alan-turing-institute/ARC-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from alan-turing-institute/experiment2
Experiment2
- Loading branch information
Showing
43 changed files
with
580 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: author | ||
forget_fraction: 0.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: author | ||
forget_fraction: 0.225 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: author | ||
forget_fraction: 0.305 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: author | ||
forget_fraction: 0.385 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: author | ||
forget_fraction: 0.075 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: book | ||
forget_fraction: 0.114 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: book | ||
forget_fraction: 0.174 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: book | ||
forget_fraction: 0.236 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: book | ||
forget_fraction: 0.298 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: book | ||
forget_fraction: 0.055 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: question | ||
forget_fraction: 0. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: publisher | ||
forget_fraction: 0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: publisher | ||
forget_fraction: 0.595 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: publisher | ||
forget_fraction: 0.795 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: publisher | ||
forget_fraction: 0.995 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: publisher | ||
forget_fraction: 0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: question | ||
forget_fraction: 0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: question | ||
forget_fraction: 0.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: question | ||
forget_fraction: 0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: question | ||
forget_fraction: 0.25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: granularity | ||
granularity: question | ||
forget_fraction: 0.05 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: relationship | ||
forget_fraction: 0.005 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: relationship | ||
forget_fraction: 0.01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: relationship | ||
forget_fraction: 0.02 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: relationship | ||
forget_fraction: 0.03 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: relationship | ||
forget_fraction: 0.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dataset_name: gen_tofu | ||
data_kwargs: | ||
type: relationship | ||
forget_fraction: 0.05 |
60 changes: 60 additions & 0 deletions
60
configs/experiment/experiment_1_granularity_gpt2_remaining.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Combinations to build runs over | ||
combinations: | ||
data_config: | ||
- gen_tofu_question_5 | ||
- gen_tofu_question_10 | ||
- gen_tofu_question_15 | ||
- gen_tofu_question_20 | ||
- gen_tofu_question_25 | ||
- gen_tofu_book_10 | ||
- gen_tofu_book_15 | ||
- gen_tofu_book_20 | ||
- gen_tofu_book_25 | ||
- gen_tofu_author_10 | ||
- gen_tofu_author_15 | ||
- gen_tofu_author_20 | ||
- gen_tofu_author_25 | ||
- gen_tofu_publisher_10 | ||
- gen_tofu_publisher_15 | ||
- gen_tofu_publisher_20 | ||
- gen_tofu_publisher_25 | ||
|
||
train_config: | ||
- longer | ||
|
||
forget_config: | ||
- [ascent, shorter] | ||
- [difference, shorter] | ||
- [idk, shorter] | ||
- [kl, shorter] | ||
|
||
seed: | ||
- 40 | ||
- 41 | ||
- 42 | ||
- 43 | ||
- 44 | ||
|
||
model_config: gpt2 | ||
|
||
# Full data config: which dataset to use to build full model to do forgetting on | ||
full_data_config: gen_tofu_full | ||
|
||
# Baskerville kwargs | ||
use_bask: true | ||
model_cache_dir: /bask/projects/v/vjgo8416-sltv-forget/caches/models | ||
data_cache_dir: /bask/projects/v/vjgo8416-sltv-forget/caches/datasets | ||
wandb_cache_dir: /bask/projects/v/vjgo8416-sltv-forget/caches/wandb | ||
bask: | ||
walltime: '0-5:0:0' | ||
gpu_number: 1 | ||
node_number: 1 | ||
|
||
# Wandb kwargs | ||
wandb_kwargs: | ||
use_wandb: true | ||
wandb_config: | ||
entity: turing-arc | ||
project: selective-forgetting | ||
log_model: "false" | ||
group: experiment-1-granularity |
46 changes: 46 additions & 0 deletions
46
configs/experiment/experiment_1_granularity_llama_seeds.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Combinations to build runs over | ||
combinations: | ||
data_config: | ||
- gen_tofu_book_15 | ||
- gen_tofu_author_15 | ||
- gen_tofu_publisher_15 | ||
|
||
train_config: | ||
- default | ||
|
||
forget_config: | ||
- [difference, default] | ||
- [idk, default] | ||
- [difference, shorter] | ||
- [idk, shorter] | ||
|
||
seed: | ||
- 41 | ||
- 42 | ||
- 43 | ||
- 44 | ||
|
||
model_config: Meta-Llama-3.1-8B-Instruct | ||
|
||
# Full data config: which dataset to use to build full model to do forgetting on | ||
full_data_config: gen_tofu_full | ||
|
||
# Baskerville kwargs | ||
use_bask: true | ||
model_cache_dir: /bask/projects/v/vjgo8416-sltv-forget/caches/models | ||
data_cache_dir: /bask/projects/v/vjgo8416-sltv-forget/caches/datasets | ||
wandb_cache_dir: /bask/projects/v/vjgo8416-sltv-forget/caches/wandb | ||
|
||
bask: | ||
walltime: '0-12:0:0' | ||
gpu_number: 1 | ||
node_number: 1 | ||
|
||
# Wandb kwargs | ||
wandb_kwargs: | ||
use_wandb: true | ||
wandb_config: | ||
entity: turing-arc | ||
project: selective-forgetting | ||
log_model: "false" | ||
group: experiment-1-granularity |
46 changes: 46 additions & 0 deletions
46
configs/experiment/experiment_1_granularity_phi_seeds.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Combinations to build runs over | ||
combinations: | ||
data_config: | ||
- gen_tofu_book_15 | ||
- gen_tofu_author_15 | ||
- gen_tofu_publisher_15 | ||
|
||
train_config: | ||
- default | ||
|
||
forget_config: | ||
- [difference, default] | ||
- [idk, default] | ||
- [difference, shorter] | ||
- [idk, shorter] | ||
|
||
seed: | ||
- 41 | ||
- 42 | ||
- 43 | ||
- 44 | ||
|
||
model_config: Phi-3-mini-4k-instruct | ||
|
||
# Full data config: which dataset to use to build full model to do forgetting on | ||
full_data_config: gen_tofu_full | ||
|
||
# Baskerville kwargs | ||
use_bask: true | ||
model_cache_dir: /bask/projects/v/vjgo8416-sltv-forget/caches/models | ||
data_cache_dir: /bask/projects/v/vjgo8416-sltv-forget/caches/datasets | ||
wandb_cache_dir: /bask/projects/v/vjgo8416-sltv-forget/caches/wandb | ||
|
||
bask: | ||
walltime: '0-12:0:0' | ||
gpu_number: 1 | ||
node_number: 1 | ||
|
||
# Wandb kwargs | ||
wandb_kwargs: | ||
use_wandb: true | ||
wandb_config: | ||
entity: turing-arc | ||
project: selective-forgetting | ||
log_model: "false" | ||
group: experiment-1-granularity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Combinations to build runs over | ||
combinations: | ||
data_config: | ||
- gen_tofu_rel_1 | ||
- gen_tofu_rel_2 | ||
- gen_tofu_rel_3 | ||
- gen_tofu_rel_4 | ||
- gen_tofu_rel_5 | ||
- gen_tofu_rel_6 | ||
|
||
train_config: | ||
- longer | ||
|
||
forget_config: | ||
- [ascent, longer] | ||
- [difference, longer] | ||
- [idk, longer] | ||
- [kl, longer] | ||
|
||
seed: | ||
- 40 | ||
- 41 | ||
- 42 | ||
- 43 | ||
- 44 | ||
- 45 | ||
- 46 | ||
- 47 | ||
- 48 | ||
- 49 | ||
|
||
model_config: gpt2 | ||
|
||
# Full data config: which dataset to use to build full model to do forgetting on | ||
full_data_config: gen_tofu_full | ||
|
||
# Baskerville kwargs | ||
use_bask: true | ||
model_cache_dir: /bask/projects/v/vjgo8416-sltv-forget/caches/models | ||
data_cache_dir: /bask/projects/v/vjgo8416-sltv-forget/caches/datasets | ||
wandb_cache_dir: /bask/projects/v/vjgo8416-sltv-forget/caches/wandb | ||
|
||
bask: | ||
walltime: '0-5:0:0' | ||
gpu_number: 1 | ||
node_number: 1 | ||
|
||
# Wandb kwargs | ||
wandb_kwargs: | ||
use_wandb: true | ||
wandb_config: | ||
entity: turing-arc | ||
project: selective-forgetting | ||
log_model: "false" | ||
group: experiment-2-relationship |
Oops, something went wrong.