kclauw commited on
Commit
2c4e5a6
·
1 Parent(s): dd2dfd8

Upload folder using huggingface_hub

Browse files
parity_n_40_k_3_N_877_100/fcn_hardswish_20_20_20_0.00_default/sgd_bs_32_lr_0.10/wd_0.01_do_0_no_bn_syn_0_no_ln_red_0/seed_97/checkpoints/checkpoints.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6215d02ec2a9c002c4bfcd35a68747969ec150e754c2248c989f979d2ce55141
3
+ size 130
parity_n_40_k_3_N_877_100/fcn_hardswish_20_20_20_0.00_default/sgd_bs_32_lr_0.10/wd_0.01_do_0_no_bn_syn_0_no_ln_red_0/seed_97/config.yaml ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ seed: 0
2
+ runs_folder: /media/god/Second/Runs
3
+ train_type: batch
4
+ huggingface:
5
+ repo_id: kclauw/grokking-oinformation
6
+ synergymask: false
7
+ sparsity_sampling: 10
8
+ scheduler: null
9
+ device: cpu
10
+ test_seed: 123
11
+ evaluate_oinformation: true
12
+ evaluate_sparsity: false
13
+ evaluate_norms: false
14
+ evaluate_subnetworks: false
15
+ evaluate_lottery_ticket: false
16
+ create_grid_search_file: false
17
+ create_plots: true
18
+ store_local: true
19
+ experiment_type: train_single
20
+ unique_plot_path: fcn_hardswish/sgd_bs_32_lr_0.10/wd_0.01_do_0_no_bn_syn_0_no_ln_red_0
21
+ store_on_scratch: true
22
+ oinformation:
23
+ sampling_rate: 1
24
+ max_batch_greedy: 40
25
+ layer: fc2_post
26
+ njobs: 16
27
+ layers:
28
+ - fc3_post
29
+ train: true
30
+ features_type:
31
+ - train
32
+ max_batch_exhaustive: 3
33
+ loss:
34
+ _target_: model.neural_network.MyHingeLoss
35
+ train:
36
+ lr: 0.105
37
+ train_batch_size: 32
38
+ num_workers: 6
39
+ eval_batch_size: 32
40
+ max_epochs: 1400
41
+ max_steps: 1000000
42
+ regularization:
43
+ weight_decay:
44
+ name: wd
45
+ value: 0.01
46
+ type: null
47
+ dropout:
48
+ name: do
49
+ value: 0
50
+ type: dropout
51
+ batchnorm:
52
+ name: bn
53
+ value: false
54
+ type: batchnorm
55
+ oinfo_syn:
56
+ name: syn
57
+ value: 0
58
+ type: null
59
+ layernorm:
60
+ name: ln
61
+ value: false
62
+ type: layernorm
63
+ oinfo_red:
64
+ name: red
65
+ value: 0
66
+ wandb:
67
+ enabled: false
68
+ project: grokking_replica
69
+ unique_filename: parity_n_40_k_3_N_877_100#fcn_hardswish_20_20_20_0.00_default#sgd_bs_32_lr_0.10#wd_0.01_do_0_no_bn_syn_0_no_ln_red_0
70
+ regularization_name: null
71
+ dataset:
72
+ train_samples: 877
73
+ test_samples: 100
74
+ parameters:
75
+ _target_: dataloaders.sparse_parity.parity
76
+ 'n': 40
77
+ k: 3
78
+ name: parity_n_${dataset.parameters.n}_k_${dataset.parameters.k}_N_${dataset.train_samples}_${dataset.test_samples}
79
+ model:
80
+ parameters:
81
+ _target_: src.model.neural_network.DynamicFFN
82
+ activation: hardswish
83
+ initialization: default
84
+ layers:
85
+ fc1: 20
86
+ fc2: 20
87
+ fc3: 20
88
+ initialization_scale: 0.0
89
+ constrained_norm: false
90
+ name: fcn_${model.parameters.activation}
91
+ layer_names:
92
+ - fc1
93
+ - fc2
94
+ - fc3
95
+ optimizer:
96
+ name: sgd
97
+ parameters:
98
+ _target_: torch.optim.SGD
99
+ weight_decay: ${regularization.weight_decay.value}
100
+ paths:
101
+ root_dir: .
102
+ data_dir: ${paths.root_dir}/data/
103
+ log_dir: ${paths.root_dir}/runs/
104
+ output_dir: /kyukon/scratch/gent/433/vsc43397/oinformation-grokking/runs/parity_n_40_k_3_N_877_100/fcn_hardswish_20_20_20_0.00_default/sgd_bs_32_lr_0.10/wd_0.01_do_0_no_bn_syn_0_no_ln_red_0
105
+ plot_dir: ./plots/1_baseline_datasize_vs_lr_small_100_neurons_longer
106
+ plot_dir_all: ./plots/1_baseline_datasize_vs_lr_small_100_neurons_longer/all/fcn_hardswish/sgd_bs_32_lr_0.10/wd_0.01_do_0_no_bn_syn_0_no_ln_red_0
107
+ work_dir: ${hydra:runtime.cwd}
108
+ experiment_name: 1_baseline_datasize_vs_lr_small_100_neurons_longer
109
+ seeds:
110
+ - 0
111
+ - 1
112
+ - 2
113
+ - 3
114
+ - 97
115
+ evaluate_generalizing_models_only: false
116
+ remove_files: true
117
+ plots:
118
+ experiment1:
119
+ title:
120
+ - train.max_epochs
121
+ type: heatmap
122
+ x: dataset.train_samples
123
+ x_label: dataset size
124
+ y_label: learning rate
125
+ 'y':
126
+ - test_acc
127
+ - synergy
128
+ - redundancy
129
+ grid_search:
130
+ dataset.train_samples:
131
+ scale: null
132
+ min: 100
133
+ max: 1100
134
+ num: 10
135
+ type: integer
136
+ train.lr:
137
+ min: 0.01
138
+ max: 0.2
139
+ num: 11
140
+ type: uniform
141
+ experiment_oinfo_title: null
parity_n_40_k_3_N_877_100/fcn_hardswish_20_20_20_0.00_default/sgd_bs_32_lr_0.10/wd_0.01_do_0_no_bn_syn_0_no_ln_red_0/seed_97/epoch_results_1400_seed_97.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:067c642a3546a734e31616a926027544effe35831909a7b75dc608d4cb65add1
3
+ size 124114
parity_n_40_k_3_N_877_100/fcn_hardswish_20_20_20_0.00_default/sgd_bs_32_lr_0.10/wd_0.01_do_0_no_bn_syn_0_no_ln_red_0/seed_97/oinformation_results_train_1400.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:921774adf53847d1248bde721d7ab84042cde6f5fe6b8cd0cc6166f594198382
3
+ size 6658822
parity_n_40_k_3_N_877_100/fcn_hardswish_20_20_20_0.00_default/sgd_bs_32_lr_0.10/wd_0.01_do_0_no_bn_syn_0_no_ln_red_0/seed_97/optimal_oinformation_results_train_1400.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df13bd50d64b661a3a61771a299a6e636ed9a6d532a11b5f17493a2d6c6c6d11
3
+ size 768435
parity_n_40_k_3_N_877_100/fcn_hardswish_20_20_20_0.00_default/sgd_bs_32_lr_0.10/wd_0.01_do_0_no_bn_syn_0_no_ln_red_0/seed_97/optimal_results_seed_1400_97.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfce13fc2f13ad950016bb48ccbbbd04ce13be07c748476dde1f940fcdfa0d52
3
+ size 5