-
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.
- Loading branch information
1 parent
6c88743
commit fbe27b1
Showing
6 changed files
with
335 additions
and
14 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
79 changes: 79 additions & 0 deletions
79
configs/password_locked/two_different_fn_types/2stage_unlock1.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,79 @@ | ||
data_arguments: | ||
dataset: "cvdb" | ||
block_size: 24 | ||
label_block_size: 4 | ||
|
||
|
||
model_arguments: | ||
seq2seq: False | ||
max_new_tokens: 18 | ||
# config_name: "gpt2" | ||
# config_name: "t5-small" | ||
config_name: "EleutherAI/pythia-70m" | ||
# config_name: "EleutherAI/pythia-160m" | ||
separate_token_per_var: False # only used for numeric experiments | ||
|
||
|
||
training_arguments: | ||
output_dir: 'experiments/temp' | ||
bf16: True | ||
per_device_train_batch_size: 512 | ||
per_device_eval_batch_size: 2048 | ||
optim: "adafactor" | ||
# optim: "lion_32bit" | ||
overwrite_output_dir: True | ||
auto_find_batch_size: True | ||
save_strategy: "no" | ||
load_best_model_at_end: False | ||
evaluation_strategy: 'epoch' | ||
do_train: True | ||
do_eval: True | ||
do_sweeps: False | ||
# n_sweeps: 5 | ||
save_each_epochs: 0 | ||
eval_each_epochs: 1 | ||
eval_callback_type: "pipeline" # pipeline or generate | ||
# weight_decay: 0.0001 | ||
|
||
|
||
experiment_arguments: # common experiment arguments | ||
define_experiment: False | ||
numeric_experiment: True | ||
name_prefix: "twoDiffFnTypes_unlockBijections" | ||
n_stages: 2 | ||
n_seeds: 10 | ||
# n_seeds_stage2: 5 | ||
start_seed: 1010 | ||
slurm: True | ||
n_gpu_hours: 3 | ||
|
||
|
||
define_experiment_arguments: | ||
def_order: "tve" | ||
|
||
|
||
numeric_experiment_arguments: | ||
# Args for pwd composition experiment below | ||
pwd_locked_experiment: True | ||
n_datapoints: 200000 | ||
max_unlocking_datapoints: 1024 | ||
max_x: 10 | ||
n_func_in_chain: 2 | ||
fn_input_len: 4 | ||
nfunc: 32 | ||
n_fns_to_lock: 16 | ||
n_fns_to_unlock: 1 | ||
|
||
|
||
# overrides specified parameters | ||
first_stage_arguments: | ||
train_subset: 'stage2' | ||
num_train_epochs: 5 | ||
gradient_accumulation_steps: 1 | ||
|
||
second_stage_arguments: | ||
train_subset: 'stage3' | ||
num_train_epochs: 5 | ||
gradient_accumulation_steps: 1 | ||
dont_save_in_the_end: True | ||
save_each_epochs: 0 |
79 changes: 79 additions & 0 deletions
79
configs/password_locked/two_different_fn_types/2stage_unlock3.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,79 @@ | ||
data_arguments: | ||
dataset: "cvdb" | ||
block_size: 24 | ||
label_block_size: 4 | ||
|
||
|
||
model_arguments: | ||
seq2seq: False | ||
max_new_tokens: 18 | ||
# config_name: "gpt2" | ||
# config_name: "t5-small" | ||
config_name: "EleutherAI/pythia-70m" | ||
# config_name: "EleutherAI/pythia-160m" | ||
separate_token_per_var: False # only used for numeric experiments | ||
|
||
|
||
training_arguments: | ||
output_dir: 'experiments/temp' | ||
bf16: True | ||
per_device_train_batch_size: 512 | ||
per_device_eval_batch_size: 2048 | ||
optim: "adafactor" | ||
# optim: "lion_32bit" | ||
overwrite_output_dir: True | ||
auto_find_batch_size: True | ||
save_strategy: "no" | ||
load_best_model_at_end: False | ||
evaluation_strategy: 'epoch' | ||
do_train: True | ||
do_eval: True | ||
do_sweeps: False | ||
# n_sweeps: 5 | ||
save_each_epochs: 0 | ||
eval_each_epochs: 1 | ||
eval_callback_type: "pipeline" # pipeline or generate | ||
# weight_decay: 0.0001 | ||
|
||
|
||
experiment_arguments: # common experiment arguments | ||
define_experiment: False | ||
numeric_experiment: True | ||
name_prefix: "twoDiffFnTypes_unlockBijections" | ||
n_stages: 2 | ||
n_seeds: 10 | ||
# n_seeds_stage2: 5 | ||
start_seed: 1010 | ||
slurm: True | ||
n_gpu_hours: 3 | ||
|
||
|
||
define_experiment_arguments: | ||
def_order: "tve" | ||
|
||
|
||
numeric_experiment_arguments: | ||
# Args for pwd composition experiment below | ||
pwd_locked_experiment: True | ||
n_datapoints: 200000 | ||
max_unlocking_datapoints: 1024 | ||
max_x: 10 | ||
n_func_in_chain: 2 | ||
fn_input_len: 4 | ||
nfunc: 32 | ||
n_fns_to_lock: 16 | ||
n_fns_to_unlock: 3 | ||
|
||
|
||
# overrides specified parameters | ||
first_stage_arguments: | ||
train_subset: 'stage2' | ||
num_train_epochs: 5 | ||
gradient_accumulation_steps: 1 | ||
|
||
second_stage_arguments: | ||
train_subset: 'stage3' | ||
num_train_epochs: 5 | ||
gradient_accumulation_steps: 1 | ||
dont_save_in_the_end: True | ||
save_each_epochs: 0 |
79 changes: 79 additions & 0 deletions
79
configs/password_locked/two_different_fn_types/2stage_unlock5.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,79 @@ | ||
data_arguments: | ||
dataset: "cvdb" | ||
block_size: 24 | ||
label_block_size: 4 | ||
|
||
|
||
model_arguments: | ||
seq2seq: False | ||
max_new_tokens: 18 | ||
# config_name: "gpt2" | ||
# config_name: "t5-small" | ||
config_name: "EleutherAI/pythia-70m" | ||
# config_name: "EleutherAI/pythia-160m" | ||
separate_token_per_var: False # only used for numeric experiments | ||
|
||
|
||
training_arguments: | ||
output_dir: 'experiments/temp' | ||
bf16: True | ||
per_device_train_batch_size: 512 | ||
per_device_eval_batch_size: 2048 | ||
optim: "adafactor" | ||
# optim: "lion_32bit" | ||
overwrite_output_dir: True | ||
auto_find_batch_size: True | ||
save_strategy: "no" | ||
load_best_model_at_end: False | ||
evaluation_strategy: 'epoch' | ||
do_train: True | ||
do_eval: True | ||
do_sweeps: False | ||
# n_sweeps: 5 | ||
save_each_epochs: 0 | ||
eval_each_epochs: 1 | ||
eval_callback_type: "pipeline" # pipeline or generate | ||
# weight_decay: 0.0001 | ||
|
||
|
||
experiment_arguments: # common experiment arguments | ||
define_experiment: False | ||
numeric_experiment: True | ||
name_prefix: "twoDiffFnTypes_unlockBijections" | ||
n_stages: 2 | ||
n_seeds: 10 | ||
# n_seeds_stage2: 5 | ||
start_seed: 1010 | ||
slurm: True | ||
n_gpu_hours: 3 | ||
|
||
|
||
define_experiment_arguments: | ||
def_order: "tve" | ||
|
||
|
||
numeric_experiment_arguments: | ||
# Args for pwd composition experiment below | ||
pwd_locked_experiment: True | ||
n_datapoints: 200000 | ||
max_unlocking_datapoints: 1024 | ||
max_x: 10 | ||
n_func_in_chain: 2 | ||
fn_input_len: 4 | ||
nfunc: 32 | ||
n_fns_to_lock: 16 | ||
n_fns_to_unlock: 5 | ||
|
||
|
||
# overrides specified parameters | ||
first_stage_arguments: | ||
train_subset: 'stage2' | ||
num_train_epochs: 5 | ||
gradient_accumulation_steps: 1 | ||
|
||
second_stage_arguments: | ||
train_subset: 'stage3' | ||
num_train_epochs: 5 | ||
gradient_accumulation_steps: 1 | ||
dont_save_in_the_end: True | ||
save_each_epochs: 0 |
Oops, something went wrong.