psaegert commited on
Commit
c070581
·
unverified ·
1 Parent(s): 72de690
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. v9.0/checkpoint_100000/dataset_train.yaml +6 -0
  2. v9.0/checkpoint_100000/dataset_val.yaml +6 -0
  3. v9.0/checkpoint_100000/expression_space.yaml +282 -0
  4. v9.0/checkpoint_100000/nsr.yaml +21 -0
  5. v9.0/checkpoint_100000/skeleton_pool_train.yaml +31 -0
  6. v9.0/checkpoint_100000/skeleton_pool_val.yaml +30 -0
  7. v9.0/checkpoint_100000/state_dict.pt +3 -0
  8. v9.0/checkpoint_100000/train.yaml +27 -0
  9. v9.0/checkpoint_1000000/dataset_train.yaml +6 -0
  10. v9.0/checkpoint_1000000/dataset_val.yaml +6 -0
  11. v9.0/checkpoint_1000000/expression_space.yaml +282 -0
  12. v9.0/checkpoint_1000000/nsr.yaml +21 -0
  13. v9.0/checkpoint_1000000/skeleton_pool_train.yaml +31 -0
  14. v9.0/checkpoint_1000000/skeleton_pool_val.yaml +30 -0
  15. v9.0/checkpoint_1000000/state_dict.pt +3 -0
  16. v9.0/checkpoint_1000000/train.yaml +27 -0
  17. v9.0/checkpoint_1100000/dataset_train.yaml +6 -0
  18. v9.0/checkpoint_1100000/dataset_val.yaml +6 -0
  19. v9.0/checkpoint_1100000/expression_space.yaml +282 -0
  20. v9.0/checkpoint_1100000/nsr.yaml +21 -0
  21. v9.0/checkpoint_1100000/skeleton_pool_train.yaml +31 -0
  22. v9.0/checkpoint_1100000/skeleton_pool_val.yaml +30 -0
  23. v9.0/checkpoint_1100000/state_dict.pt +3 -0
  24. v9.0/checkpoint_1100000/train.yaml +27 -0
  25. v9.0/checkpoint_1200000/dataset_train.yaml +6 -0
  26. v9.0/checkpoint_1200000/dataset_val.yaml +6 -0
  27. v9.0/checkpoint_1200000/expression_space.yaml +282 -0
  28. v9.0/checkpoint_1200000/nsr.yaml +21 -0
  29. v9.0/checkpoint_1200000/skeleton_pool_train.yaml +31 -0
  30. v9.0/checkpoint_1200000/skeleton_pool_val.yaml +30 -0
  31. v9.0/checkpoint_1200000/state_dict.pt +3 -0
  32. v9.0/checkpoint_1200000/train.yaml +27 -0
  33. v9.0/checkpoint_1300000/dataset_train.yaml +6 -0
  34. v9.0/checkpoint_1300000/dataset_val.yaml +6 -0
  35. v9.0/checkpoint_1300000/expression_space.yaml +282 -0
  36. v9.0/checkpoint_1300000/nsr.yaml +21 -0
  37. v9.0/checkpoint_1300000/skeleton_pool_train.yaml +31 -0
  38. v9.0/checkpoint_1300000/skeleton_pool_val.yaml +30 -0
  39. v9.0/checkpoint_1300000/state_dict.pt +3 -0
  40. v9.0/checkpoint_1300000/train.yaml +27 -0
  41. v9.0/checkpoint_1400000/dataset_train.yaml +6 -0
  42. v9.0/checkpoint_1400000/dataset_val.yaml +6 -0
  43. v9.0/checkpoint_1400000/expression_space.yaml +282 -0
  44. v9.0/checkpoint_1400000/nsr.yaml +21 -0
  45. v9.0/checkpoint_1400000/skeleton_pool_train.yaml +31 -0
  46. v9.0/checkpoint_1400000/skeleton_pool_val.yaml +30 -0
  47. v9.0/checkpoint_1400000/state_dict.pt +3 -0
  48. v9.0/checkpoint_1400000/train.yaml +27 -0
  49. v9.0/checkpoint_1500000/dataset_train.yaml +6 -0
  50. v9.0/checkpoint_1500000/dataset_val.yaml +6 -0
v9.0/checkpoint_100000/dataset_train.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_train.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5
v9.0/checkpoint_100000/dataset_val.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_val.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5
v9.0/checkpoint_100000/expression_space.yaml ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ +:
3
+ realization: +
4
+ alias:
5
+ - add
6
+ - plus
7
+ inverse: '-'
8
+ arity: 2
9
+ weight: 10
10
+ precedence: 1
11
+ commutative: true
12
+ symmetry: 0
13
+ positive: false
14
+ monotonicity: 0
15
+ '-':
16
+ realization: '-'
17
+ alias:
18
+ - sub
19
+ - minus
20
+ inverse: +
21
+ arity: 2
22
+ weight: 5
23
+ precedence: 1
24
+ commutative: false
25
+ symmetry: 0
26
+ positive: false
27
+ monotonicity: 0
28
+ neg:
29
+ realization: nsrops.neg
30
+ alias:
31
+ - negative
32
+ inverse: neg
33
+ arity: 1
34
+ weight: 5
35
+ precedence: 2.5
36
+ commutative: false
37
+ symmetry: -1
38
+ positive: false
39
+ monotonicity: -1
40
+ '*':
41
+ realization: '*'
42
+ alias:
43
+ - mul
44
+ - times
45
+ inverse: /
46
+ arity: 2
47
+ weight: 10
48
+ precedence: 2
49
+ commutative: true
50
+ symmetry: 0
51
+ positive: false
52
+ monotonicity: 0
53
+ /:
54
+ realization: /
55
+ alias:
56
+ - div
57
+ - divide
58
+ inverse: '*'
59
+ arity: 2
60
+ weight: 5
61
+ precedence: 2
62
+ commutative: false
63
+ symmetry: 0
64
+ positive: false
65
+ monotonicity: 0
66
+ abs:
67
+ realization: abs
68
+ alias:
69
+ - absolute
70
+ inverse: null
71
+ arity: 1
72
+ weight: 4
73
+ precedence: 3
74
+ commutative: false
75
+ symmetry: 1
76
+ positive: true
77
+ monotonicity: 0
78
+ inv:
79
+ realization: nsrops.inv
80
+ alias:
81
+ - inverse
82
+ inverse: inv
83
+ arity: 1
84
+ weight: 4
85
+ precedence: 4
86
+ commutative: false
87
+ symmetry: -1
88
+ positive: false
89
+ monotonicity: -1
90
+ pow2:
91
+ realization: nsrops.pow2
92
+ alias:
93
+ - square
94
+ inverse: null
95
+ arity: 1
96
+ weight: 4
97
+ precedence: 3
98
+ commutative: false
99
+ symmetry: 1
100
+ positive: true
101
+ monotonicity: 0
102
+ pow3:
103
+ realization: nsrops.pow3
104
+ alias:
105
+ - cube
106
+ inverse: pow1_3
107
+ arity: 1
108
+ weight: 2
109
+ precedence: 3
110
+ commutative: false
111
+ symmetry: -1
112
+ positive: false
113
+ monotonicity: 1
114
+ pow4:
115
+ realization: nsrops.pow4
116
+ alias: []
117
+ inverse: null
118
+ arity: 1
119
+ weight: 1
120
+ precedence: 3
121
+ commutative: false
122
+ symmetry: 1
123
+ positive: true
124
+ monotonicity: 0
125
+ pow5:
126
+ realization: nsrops.pow5
127
+ alias: []
128
+ inverse: pow1_5
129
+ arity: 1
130
+ weight: 1
131
+ precedence: 3
132
+ commutative: false
133
+ symmetry: -1
134
+ positive: false
135
+ monotonicity: 1
136
+ pow1_2:
137
+ realization: nsrops.pow1_2
138
+ alias:
139
+ - sqrt
140
+ inverse: null
141
+ arity: 1
142
+ weight: 4
143
+ precedence: 3
144
+ commutative: false
145
+ symmetry: 0
146
+ positive: true
147
+ monotonicity: 1
148
+ pow1_3:
149
+ realization: nsrops.pow1_3
150
+ alias: []
151
+ inverse: null
152
+ arity: 1
153
+ weight: 2
154
+ precedence: 3
155
+ commutative: false
156
+ symmetry: -1
157
+ positive: false
158
+ monotonicity: 1
159
+ pow1_4:
160
+ realization: nsrops.pow1_4
161
+ alias: []
162
+ inverse: null
163
+ arity: 1
164
+ weight: 1
165
+ precedence: 3
166
+ commutative: false
167
+ symmetry: 0
168
+ positive: true
169
+ monotonicity: 1
170
+ pow1_5:
171
+ realization: nsrops.pow1_5
172
+ alias: []
173
+ inverse: null
174
+ arity: 1
175
+ weight: 1
176
+ precedence: 3
177
+ commutative: false
178
+ symmetry: -1
179
+ positive: false
180
+ monotonicity: 1
181
+ sin:
182
+ realization: numpy.sin
183
+ alias: []
184
+ inverse: asin
185
+ arity: 1
186
+ weight: 4
187
+ precedence: 2
188
+ commutative: false
189
+ symmetry: -1
190
+ positive: false
191
+ monotonicity: 0
192
+ cos:
193
+ realization: numpy.cos
194
+ alias: []
195
+ inverse: acos
196
+ arity: 1
197
+ weight: 4
198
+ precedence: 2
199
+ commutative: false
200
+ symmetry: 1
201
+ positive: false
202
+ monotonicity: 0
203
+ tan:
204
+ realization: numpy.tan
205
+ alias: []
206
+ inverse: atan
207
+ arity: 1
208
+ weight: 4
209
+ precedence: 2
210
+ commutative: false
211
+ symmetry: -1
212
+ positive: false
213
+ monotonicity: 0
214
+ asin:
215
+ realization: numpy.arcsin
216
+ alias:
217
+ - arcsin
218
+ inverse: sin
219
+ arity: 1
220
+ weight: 2
221
+ precedence: 2
222
+ commutative: false
223
+ symmetry: -1
224
+ positive: false
225
+ monotonicity: 1
226
+ acos:
227
+ realization: numpy.arccos
228
+ alias:
229
+ - arccos
230
+ inverse: cos
231
+ arity: 1
232
+ weight: 2
233
+ precedence: 2
234
+ commutative: false
235
+ symmetry: 0
236
+ positive: true
237
+ monotonicity: 1
238
+ atan:
239
+ realization: numpy.arctan
240
+ alias:
241
+ - arctan
242
+ inverse: tan
243
+ arity: 1
244
+ weight: 2
245
+ precedence: 2
246
+ commutative: false
247
+ symmetry: -1
248
+ positive: false
249
+ monotonicity: 1
250
+ exp:
251
+ realization: numpy.exp
252
+ alias: []
253
+ inverse: log
254
+ arity: 1
255
+ weight: 4
256
+ precedence: 3
257
+ commutative: false
258
+ symmetry: 0
259
+ positive: true
260
+ monotonicity: 1
261
+ log:
262
+ realization: numpy.log
263
+ alias:
264
+ - ln
265
+ inverse: exp
266
+ arity: 1
267
+ weight: 4
268
+ precedence: 2
269
+ commutative: false
270
+ symmetry: 0
271
+ positive: false
272
+ monotonicity: 1
273
+ variables: 3
274
+ special_tokens:
275
+ - <pad>
276
+ - <bos>
277
+ - <eos>
278
+ - <unk>
279
+ - <cls>
280
+ - <mask>
281
+ - <num>
282
+ - <ctrl_complexity>
v9.0/checkpoint_100000/nsr.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ encoder_max_n_variables: 4
2
+ size: 512
3
+ pre_encoder_input_type: ieee-754
4
+ pre_encoder_support_nan: false
5
+ encoder: SetTransformer
6
+ encoder_kwargs:
7
+ hidden_size: 512
8
+ n_enc_isab: 5
9
+ n_dec_sab: 2
10
+ n_induce: 64
11
+ n_heads: 8
12
+ layer_norm: false
13
+ n_seeds: 64
14
+ decoder_n_heads: 8
15
+ decoder_ff_size: 512
16
+ decoder_dropout: 0.1
17
+ decoder_n_layers: 5
18
+ learnable_positional_embeddings: false
19
+ max_input_length: null
20
+ support_numeric_tokens: true
21
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
v9.0/checkpoint_100000/skeleton_pool_train.yaml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/./././expression_space.yaml
2
+ holdout_pools:
3
+ - '{{ROOT}}/data/ansr-data/v9.0/skeleton_pool_val/'
4
+ - '{{ROOT}}/data/ansr-data/test_set/soose_nc/skeleton_pool/'
5
+ - '{{ROOT}}/data/ansr-data/test_set/feynman/skeleton_pool/'
6
+ - '{{ROOT}}/data/ansr-data/test_set/nguyen/skeleton_pool/'
7
+ - '{{ROOT}}/data/ansr-data/test_set/pool_15/skeleton_pool/'
8
+ sample_strategy:
9
+ n_operator_distribution: length_proportional
10
+ min_operators: 0
11
+ max_operators: 10
12
+ power: 1
13
+ max_length: 21
14
+ max_tries: 1
15
+ independent_dimensions: true
16
+ allow_nan: false
17
+ simplify: true
18
+ literal_prior: uniform
19
+ literal_prior_kwargs:
20
+ low: -5
21
+ high: 5
22
+ support_prior: uniform_intervals
23
+ support_prior_kwargs:
24
+ low: -10
25
+ high: 10
26
+ n_support_prior: uniform
27
+ n_support_prior_kwargs:
28
+ low: 16
29
+ high: 512
30
+ min_value: 16
31
+ max_value: 512
v9.0/checkpoint_100000/skeleton_pool_val.yaml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/./././expression_space.yaml
2
+ holdout_pools:
3
+ - '{{ROOT}}/data/ansr-data/test_set/soose_nc/skeleton_pool/'
4
+ - '{{ROOT}}/data/ansr-data/test_set/feynman/skeleton_pool/'
5
+ - '{{ROOT}}/data/ansr-data/test_set/nguyen/skeleton_pool/'
6
+ - '{{ROOT}}/data/ansr-data/test_set/pool_15/skeleton_pool/'
7
+ sample_strategy:
8
+ n_operator_distribution: length_proportional
9
+ min_operators: 0
10
+ max_operators: 10
11
+ power: 1
12
+ max_length: 21
13
+ max_tries: 1
14
+ independent_dimensions: true
15
+ allow_nan: false
16
+ simplify: true
17
+ literal_prior: uniform
18
+ literal_prior_kwargs:
19
+ low: -5
20
+ high: 5
21
+ support_prior: uniform_intervals
22
+ support_prior_kwargs:
23
+ low: -10
24
+ high: 10
25
+ n_support_prior: uniform
26
+ n_support_prior_kwargs:
27
+ low: 16
28
+ high: 512
29
+ min_value: 16
30
+ max_value: 512
v9.0/checkpoint_100000/state_dict.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9f136613c51721c2084629caa8f0c86569cfa7873887c6cf93933170f50a867
3
+ size 108663827
v9.0/checkpoint_100000/train.yaml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model: /home/psaegert/Projects/flash-ansr/configs/v9.0/./nsr.yaml
2
+ optimizer:
3
+ name: AdamW
4
+ kwargs:
5
+ lr: 1
6
+ weight_decay: 0.01
7
+ amsgrad: true
8
+ lr_scheduler:
9
+ name: WarmupLinearAnnealing
10
+ kwargs:
11
+ min_lr: 0
12
+ max_lr: 1e-4
13
+ warmup_steps: 10000
14
+ total_steps: 1500000
15
+ batch_size: 128
16
+ train_dataset: /home/psaegert/Projects/flash-ansr/configs/v9.0/./dataset_train.yaml
17
+ val_dataset: /home/psaegert/Projects/flash-ansr/configs/v9.0/./dataset_val.yaml
18
+ val_batch_size: 128
19
+ val_size: 100000
20
+ preprocess: true
21
+ contrastive_n_per_class: 1
22
+ contrastive_margin: 0.0
23
+ contrastive_temperature: 0.5
24
+ numeric_prediction_loss_weight: 0
25
+ contrastive_loss_weight: 0
26
+ steps: 1500000
27
+ device: cuda
v9.0/checkpoint_1000000/dataset_train.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_train.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5
v9.0/checkpoint_1000000/dataset_val.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_val.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5
v9.0/checkpoint_1000000/expression_space.yaml ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ +:
3
+ realization: +
4
+ alias:
5
+ - add
6
+ - plus
7
+ inverse: '-'
8
+ arity: 2
9
+ weight: 10
10
+ precedence: 1
11
+ commutative: true
12
+ symmetry: 0
13
+ positive: false
14
+ monotonicity: 0
15
+ '-':
16
+ realization: '-'
17
+ alias:
18
+ - sub
19
+ - minus
20
+ inverse: +
21
+ arity: 2
22
+ weight: 5
23
+ precedence: 1
24
+ commutative: false
25
+ symmetry: 0
26
+ positive: false
27
+ monotonicity: 0
28
+ neg:
29
+ realization: nsrops.neg
30
+ alias:
31
+ - negative
32
+ inverse: neg
33
+ arity: 1
34
+ weight: 5
35
+ precedence: 2.5
36
+ commutative: false
37
+ symmetry: -1
38
+ positive: false
39
+ monotonicity: -1
40
+ '*':
41
+ realization: '*'
42
+ alias:
43
+ - mul
44
+ - times
45
+ inverse: /
46
+ arity: 2
47
+ weight: 10
48
+ precedence: 2
49
+ commutative: true
50
+ symmetry: 0
51
+ positive: false
52
+ monotonicity: 0
53
+ /:
54
+ realization: /
55
+ alias:
56
+ - div
57
+ - divide
58
+ inverse: '*'
59
+ arity: 2
60
+ weight: 5
61
+ precedence: 2
62
+ commutative: false
63
+ symmetry: 0
64
+ positive: false
65
+ monotonicity: 0
66
+ abs:
67
+ realization: abs
68
+ alias:
69
+ - absolute
70
+ inverse: null
71
+ arity: 1
72
+ weight: 4
73
+ precedence: 3
74
+ commutative: false
75
+ symmetry: 1
76
+ positive: true
77
+ monotonicity: 0
78
+ inv:
79
+ realization: nsrops.inv
80
+ alias:
81
+ - inverse
82
+ inverse: inv
83
+ arity: 1
84
+ weight: 4
85
+ precedence: 4
86
+ commutative: false
87
+ symmetry: -1
88
+ positive: false
89
+ monotonicity: -1
90
+ pow2:
91
+ realization: nsrops.pow2
92
+ alias:
93
+ - square
94
+ inverse: null
95
+ arity: 1
96
+ weight: 4
97
+ precedence: 3
98
+ commutative: false
99
+ symmetry: 1
100
+ positive: true
101
+ monotonicity: 0
102
+ pow3:
103
+ realization: nsrops.pow3
104
+ alias:
105
+ - cube
106
+ inverse: pow1_3
107
+ arity: 1
108
+ weight: 2
109
+ precedence: 3
110
+ commutative: false
111
+ symmetry: -1
112
+ positive: false
113
+ monotonicity: 1
114
+ pow4:
115
+ realization: nsrops.pow4
116
+ alias: []
117
+ inverse: null
118
+ arity: 1
119
+ weight: 1
120
+ precedence: 3
121
+ commutative: false
122
+ symmetry: 1
123
+ positive: true
124
+ monotonicity: 0
125
+ pow5:
126
+ realization: nsrops.pow5
127
+ alias: []
128
+ inverse: pow1_5
129
+ arity: 1
130
+ weight: 1
131
+ precedence: 3
132
+ commutative: false
133
+ symmetry: -1
134
+ positive: false
135
+ monotonicity: 1
136
+ pow1_2:
137
+ realization: nsrops.pow1_2
138
+ alias:
139
+ - sqrt
140
+ inverse: null
141
+ arity: 1
142
+ weight: 4
143
+ precedence: 3
144
+ commutative: false
145
+ symmetry: 0
146
+ positive: true
147
+ monotonicity: 1
148
+ pow1_3:
149
+ realization: nsrops.pow1_3
150
+ alias: []
151
+ inverse: null
152
+ arity: 1
153
+ weight: 2
154
+ precedence: 3
155
+ commutative: false
156
+ symmetry: -1
157
+ positive: false
158
+ monotonicity: 1
159
+ pow1_4:
160
+ realization: nsrops.pow1_4
161
+ alias: []
162
+ inverse: null
163
+ arity: 1
164
+ weight: 1
165
+ precedence: 3
166
+ commutative: false
167
+ symmetry: 0
168
+ positive: true
169
+ monotonicity: 1
170
+ pow1_5:
171
+ realization: nsrops.pow1_5
172
+ alias: []
173
+ inverse: null
174
+ arity: 1
175
+ weight: 1
176
+ precedence: 3
177
+ commutative: false
178
+ symmetry: -1
179
+ positive: false
180
+ monotonicity: 1
181
+ sin:
182
+ realization: numpy.sin
183
+ alias: []
184
+ inverse: asin
185
+ arity: 1
186
+ weight: 4
187
+ precedence: 2
188
+ commutative: false
189
+ symmetry: -1
190
+ positive: false
191
+ monotonicity: 0
192
+ cos:
193
+ realization: numpy.cos
194
+ alias: []
195
+ inverse: acos
196
+ arity: 1
197
+ weight: 4
198
+ precedence: 2
199
+ commutative: false
200
+ symmetry: 1
201
+ positive: false
202
+ monotonicity: 0
203
+ tan:
204
+ realization: numpy.tan
205
+ alias: []
206
+ inverse: atan
207
+ arity: 1
208
+ weight: 4
209
+ precedence: 2
210
+ commutative: false
211
+ symmetry: -1
212
+ positive: false
213
+ monotonicity: 0
214
+ asin:
215
+ realization: numpy.arcsin
216
+ alias:
217
+ - arcsin
218
+ inverse: sin
219
+ arity: 1
220
+ weight: 2
221
+ precedence: 2
222
+ commutative: false
223
+ symmetry: -1
224
+ positive: false
225
+ monotonicity: 1
226
+ acos:
227
+ realization: numpy.arccos
228
+ alias:
229
+ - arccos
230
+ inverse: cos
231
+ arity: 1
232
+ weight: 2
233
+ precedence: 2
234
+ commutative: false
235
+ symmetry: 0
236
+ positive: true
237
+ monotonicity: 1
238
+ atan:
239
+ realization: numpy.arctan
240
+ alias:
241
+ - arctan
242
+ inverse: tan
243
+ arity: 1
244
+ weight: 2
245
+ precedence: 2
246
+ commutative: false
247
+ symmetry: -1
248
+ positive: false
249
+ monotonicity: 1
250
+ exp:
251
+ realization: numpy.exp
252
+ alias: []
253
+ inverse: log
254
+ arity: 1
255
+ weight: 4
256
+ precedence: 3
257
+ commutative: false
258
+ symmetry: 0
259
+ positive: true
260
+ monotonicity: 1
261
+ log:
262
+ realization: numpy.log
263
+ alias:
264
+ - ln
265
+ inverse: exp
266
+ arity: 1
267
+ weight: 4
268
+ precedence: 2
269
+ commutative: false
270
+ symmetry: 0
271
+ positive: false
272
+ monotonicity: 1
273
+ variables: 3
274
+ special_tokens:
275
+ - <pad>
276
+ - <bos>
277
+ - <eos>
278
+ - <unk>
279
+ - <cls>
280
+ - <mask>
281
+ - <num>
282
+ - <ctrl_complexity>
v9.0/checkpoint_1000000/nsr.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ encoder_max_n_variables: 4
2
+ size: 512
3
+ pre_encoder_input_type: ieee-754
4
+ pre_encoder_support_nan: false
5
+ encoder: SetTransformer
6
+ encoder_kwargs:
7
+ hidden_size: 512
8
+ n_enc_isab: 5
9
+ n_dec_sab: 2
10
+ n_induce: 64
11
+ n_heads: 8
12
+ layer_norm: false
13
+ n_seeds: 64
14
+ decoder_n_heads: 8
15
+ decoder_ff_size: 512
16
+ decoder_dropout: 0.1
17
+ decoder_n_layers: 5
18
+ learnable_positional_embeddings: false
19
+ max_input_length: null
20
+ support_numeric_tokens: true
21
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
v9.0/checkpoint_1000000/skeleton_pool_train.yaml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/./././expression_space.yaml
2
+ holdout_pools:
3
+ - '{{ROOT}}/data/ansr-data/v9.0/skeleton_pool_val/'
4
+ - '{{ROOT}}/data/ansr-data/test_set/soose_nc/skeleton_pool/'
5
+ - '{{ROOT}}/data/ansr-data/test_set/feynman/skeleton_pool/'
6
+ - '{{ROOT}}/data/ansr-data/test_set/nguyen/skeleton_pool/'
7
+ - '{{ROOT}}/data/ansr-data/test_set/pool_15/skeleton_pool/'
8
+ sample_strategy:
9
+ n_operator_distribution: length_proportional
10
+ min_operators: 0
11
+ max_operators: 10
12
+ power: 1
13
+ max_length: 21
14
+ max_tries: 1
15
+ independent_dimensions: true
16
+ allow_nan: false
17
+ simplify: true
18
+ literal_prior: uniform
19
+ literal_prior_kwargs:
20
+ low: -5
21
+ high: 5
22
+ support_prior: uniform_intervals
23
+ support_prior_kwargs:
24
+ low: -10
25
+ high: 10
26
+ n_support_prior: uniform
27
+ n_support_prior_kwargs:
28
+ low: 16
29
+ high: 512
30
+ min_value: 16
31
+ max_value: 512
v9.0/checkpoint_1000000/skeleton_pool_val.yaml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/./././expression_space.yaml
2
+ holdout_pools:
3
+ - '{{ROOT}}/data/ansr-data/test_set/soose_nc/skeleton_pool/'
4
+ - '{{ROOT}}/data/ansr-data/test_set/feynman/skeleton_pool/'
5
+ - '{{ROOT}}/data/ansr-data/test_set/nguyen/skeleton_pool/'
6
+ - '{{ROOT}}/data/ansr-data/test_set/pool_15/skeleton_pool/'
7
+ sample_strategy:
8
+ n_operator_distribution: length_proportional
9
+ min_operators: 0
10
+ max_operators: 10
11
+ power: 1
12
+ max_length: 21
13
+ max_tries: 1
14
+ independent_dimensions: true
15
+ allow_nan: false
16
+ simplify: true
17
+ literal_prior: uniform
18
+ literal_prior_kwargs:
19
+ low: -5
20
+ high: 5
21
+ support_prior: uniform_intervals
22
+ support_prior_kwargs:
23
+ low: -10
24
+ high: 10
25
+ n_support_prior: uniform
26
+ n_support_prior_kwargs:
27
+ low: 16
28
+ high: 512
29
+ min_value: 16
30
+ max_value: 512
v9.0/checkpoint_1000000/state_dict.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:447280ac5effe71cc6592a1249f394467de191ec17cd978f8d559400c1de093e
3
+ size 108663827
v9.0/checkpoint_1000000/train.yaml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model: /home/psaegert/Projects/flash-ansr/configs/v9.0/./nsr.yaml
2
+ optimizer:
3
+ name: AdamW
4
+ kwargs:
5
+ lr: 1
6
+ weight_decay: 0.01
7
+ amsgrad: true
8
+ lr_scheduler:
9
+ name: WarmupLinearAnnealing
10
+ kwargs:
11
+ min_lr: 0
12
+ max_lr: 1e-4
13
+ warmup_steps: 10000
14
+ total_steps: 1500000
15
+ batch_size: 128
16
+ train_dataset: /home/psaegert/Projects/flash-ansr/configs/v9.0/./dataset_train.yaml
17
+ val_dataset: /home/psaegert/Projects/flash-ansr/configs/v9.0/./dataset_val.yaml
18
+ val_batch_size: 128
19
+ val_size: 100000
20
+ preprocess: true
21
+ contrastive_n_per_class: 1
22
+ contrastive_margin: 0.0
23
+ contrastive_temperature: 0.5
24
+ numeric_prediction_loss_weight: 0
25
+ contrastive_loss_weight: 0
26
+ steps: 1500000
27
+ device: cuda
v9.0/checkpoint_1100000/dataset_train.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_train.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5
v9.0/checkpoint_1100000/dataset_val.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_val.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5
v9.0/checkpoint_1100000/expression_space.yaml ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ +:
3
+ realization: +
4
+ alias:
5
+ - add
6
+ - plus
7
+ inverse: '-'
8
+ arity: 2
9
+ weight: 10
10
+ precedence: 1
11
+ commutative: true
12
+ symmetry: 0
13
+ positive: false
14
+ monotonicity: 0
15
+ '-':
16
+ realization: '-'
17
+ alias:
18
+ - sub
19
+ - minus
20
+ inverse: +
21
+ arity: 2
22
+ weight: 5
23
+ precedence: 1
24
+ commutative: false
25
+ symmetry: 0
26
+ positive: false
27
+ monotonicity: 0
28
+ neg:
29
+ realization: nsrops.neg
30
+ alias:
31
+ - negative
32
+ inverse: neg
33
+ arity: 1
34
+ weight: 5
35
+ precedence: 2.5
36
+ commutative: false
37
+ symmetry: -1
38
+ positive: false
39
+ monotonicity: -1
40
+ '*':
41
+ realization: '*'
42
+ alias:
43
+ - mul
44
+ - times
45
+ inverse: /
46
+ arity: 2
47
+ weight: 10
48
+ precedence: 2
49
+ commutative: true
50
+ symmetry: 0
51
+ positive: false
52
+ monotonicity: 0
53
+ /:
54
+ realization: /
55
+ alias:
56
+ - div
57
+ - divide
58
+ inverse: '*'
59
+ arity: 2
60
+ weight: 5
61
+ precedence: 2
62
+ commutative: false
63
+ symmetry: 0
64
+ positive: false
65
+ monotonicity: 0
66
+ abs:
67
+ realization: abs
68
+ alias:
69
+ - absolute
70
+ inverse: null
71
+ arity: 1
72
+ weight: 4
73
+ precedence: 3
74
+ commutative: false
75
+ symmetry: 1
76
+ positive: true
77
+ monotonicity: 0
78
+ inv:
79
+ realization: nsrops.inv
80
+ alias:
81
+ - inverse
82
+ inverse: inv
83
+ arity: 1
84
+ weight: 4
85
+ precedence: 4
86
+ commutative: false
87
+ symmetry: -1
88
+ positive: false
89
+ monotonicity: -1
90
+ pow2:
91
+ realization: nsrops.pow2
92
+ alias:
93
+ - square
94
+ inverse: null
95
+ arity: 1
96
+ weight: 4
97
+ precedence: 3
98
+ commutative: false
99
+ symmetry: 1
100
+ positive: true
101
+ monotonicity: 0
102
+ pow3:
103
+ realization: nsrops.pow3
104
+ alias:
105
+ - cube
106
+ inverse: pow1_3
107
+ arity: 1
108
+ weight: 2
109
+ precedence: 3
110
+ commutative: false
111
+ symmetry: -1
112
+ positive: false
113
+ monotonicity: 1
114
+ pow4:
115
+ realization: nsrops.pow4
116
+ alias: []
117
+ inverse: null
118
+ arity: 1
119
+ weight: 1
120
+ precedence: 3
121
+ commutative: false
122
+ symmetry: 1
123
+ positive: true
124
+ monotonicity: 0
125
+ pow5:
126
+ realization: nsrops.pow5
127
+ alias: []
128
+ inverse: pow1_5
129
+ arity: 1
130
+ weight: 1
131
+ precedence: 3
132
+ commutative: false
133
+ symmetry: -1
134
+ positive: false
135
+ monotonicity: 1
136
+ pow1_2:
137
+ realization: nsrops.pow1_2
138
+ alias:
139
+ - sqrt
140
+ inverse: null
141
+ arity: 1
142
+ weight: 4
143
+ precedence: 3
144
+ commutative: false
145
+ symmetry: 0
146
+ positive: true
147
+ monotonicity: 1
148
+ pow1_3:
149
+ realization: nsrops.pow1_3
150
+ alias: []
151
+ inverse: null
152
+ arity: 1
153
+ weight: 2
154
+ precedence: 3
155
+ commutative: false
156
+ symmetry: -1
157
+ positive: false
158
+ monotonicity: 1
159
+ pow1_4:
160
+ realization: nsrops.pow1_4
161
+ alias: []
162
+ inverse: null
163
+ arity: 1
164
+ weight: 1
165
+ precedence: 3
166
+ commutative: false
167
+ symmetry: 0
168
+ positive: true
169
+ monotonicity: 1
170
+ pow1_5:
171
+ realization: nsrops.pow1_5
172
+ alias: []
173
+ inverse: null
174
+ arity: 1
175
+ weight: 1
176
+ precedence: 3
177
+ commutative: false
178
+ symmetry: -1
179
+ positive: false
180
+ monotonicity: 1
181
+ sin:
182
+ realization: numpy.sin
183
+ alias: []
184
+ inverse: asin
185
+ arity: 1
186
+ weight: 4
187
+ precedence: 2
188
+ commutative: false
189
+ symmetry: -1
190
+ positive: false
191
+ monotonicity: 0
192
+ cos:
193
+ realization: numpy.cos
194
+ alias: []
195
+ inverse: acos
196
+ arity: 1
197
+ weight: 4
198
+ precedence: 2
199
+ commutative: false
200
+ symmetry: 1
201
+ positive: false
202
+ monotonicity: 0
203
+ tan:
204
+ realization: numpy.tan
205
+ alias: []
206
+ inverse: atan
207
+ arity: 1
208
+ weight: 4
209
+ precedence: 2
210
+ commutative: false
211
+ symmetry: -1
212
+ positive: false
213
+ monotonicity: 0
214
+ asin:
215
+ realization: numpy.arcsin
216
+ alias:
217
+ - arcsin
218
+ inverse: sin
219
+ arity: 1
220
+ weight: 2
221
+ precedence: 2
222
+ commutative: false
223
+ symmetry: -1
224
+ positive: false
225
+ monotonicity: 1
226
+ acos:
227
+ realization: numpy.arccos
228
+ alias:
229
+ - arccos
230
+ inverse: cos
231
+ arity: 1
232
+ weight: 2
233
+ precedence: 2
234
+ commutative: false
235
+ symmetry: 0
236
+ positive: true
237
+ monotonicity: 1
238
+ atan:
239
+ realization: numpy.arctan
240
+ alias:
241
+ - arctan
242
+ inverse: tan
243
+ arity: 1
244
+ weight: 2
245
+ precedence: 2
246
+ commutative: false
247
+ symmetry: -1
248
+ positive: false
249
+ monotonicity: 1
250
+ exp:
251
+ realization: numpy.exp
252
+ alias: []
253
+ inverse: log
254
+ arity: 1
255
+ weight: 4
256
+ precedence: 3
257
+ commutative: false
258
+ symmetry: 0
259
+ positive: true
260
+ monotonicity: 1
261
+ log:
262
+ realization: numpy.log
263
+ alias:
264
+ - ln
265
+ inverse: exp
266
+ arity: 1
267
+ weight: 4
268
+ precedence: 2
269
+ commutative: false
270
+ symmetry: 0
271
+ positive: false
272
+ monotonicity: 1
273
+ variables: 3
274
+ special_tokens:
275
+ - <pad>
276
+ - <bos>
277
+ - <eos>
278
+ - <unk>
279
+ - <cls>
280
+ - <mask>
281
+ - <num>
282
+ - <ctrl_complexity>
v9.0/checkpoint_1100000/nsr.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ encoder_max_n_variables: 4
2
+ size: 512
3
+ pre_encoder_input_type: ieee-754
4
+ pre_encoder_support_nan: false
5
+ encoder: SetTransformer
6
+ encoder_kwargs:
7
+ hidden_size: 512
8
+ n_enc_isab: 5
9
+ n_dec_sab: 2
10
+ n_induce: 64
11
+ n_heads: 8
12
+ layer_norm: false
13
+ n_seeds: 64
14
+ decoder_n_heads: 8
15
+ decoder_ff_size: 512
16
+ decoder_dropout: 0.1
17
+ decoder_n_layers: 5
18
+ learnable_positional_embeddings: false
19
+ max_input_length: null
20
+ support_numeric_tokens: true
21
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
v9.0/checkpoint_1100000/skeleton_pool_train.yaml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/./././expression_space.yaml
2
+ holdout_pools:
3
+ - '{{ROOT}}/data/ansr-data/v9.0/skeleton_pool_val/'
4
+ - '{{ROOT}}/data/ansr-data/test_set/soose_nc/skeleton_pool/'
5
+ - '{{ROOT}}/data/ansr-data/test_set/feynman/skeleton_pool/'
6
+ - '{{ROOT}}/data/ansr-data/test_set/nguyen/skeleton_pool/'
7
+ - '{{ROOT}}/data/ansr-data/test_set/pool_15/skeleton_pool/'
8
+ sample_strategy:
9
+ n_operator_distribution: length_proportional
10
+ min_operators: 0
11
+ max_operators: 10
12
+ power: 1
13
+ max_length: 21
14
+ max_tries: 1
15
+ independent_dimensions: true
16
+ allow_nan: false
17
+ simplify: true
18
+ literal_prior: uniform
19
+ literal_prior_kwargs:
20
+ low: -5
21
+ high: 5
22
+ support_prior: uniform_intervals
23
+ support_prior_kwargs:
24
+ low: -10
25
+ high: 10
26
+ n_support_prior: uniform
27
+ n_support_prior_kwargs:
28
+ low: 16
29
+ high: 512
30
+ min_value: 16
31
+ max_value: 512
v9.0/checkpoint_1100000/skeleton_pool_val.yaml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/./././expression_space.yaml
2
+ holdout_pools:
3
+ - '{{ROOT}}/data/ansr-data/test_set/soose_nc/skeleton_pool/'
4
+ - '{{ROOT}}/data/ansr-data/test_set/feynman/skeleton_pool/'
5
+ - '{{ROOT}}/data/ansr-data/test_set/nguyen/skeleton_pool/'
6
+ - '{{ROOT}}/data/ansr-data/test_set/pool_15/skeleton_pool/'
7
+ sample_strategy:
8
+ n_operator_distribution: length_proportional
9
+ min_operators: 0
10
+ max_operators: 10
11
+ power: 1
12
+ max_length: 21
13
+ max_tries: 1
14
+ independent_dimensions: true
15
+ allow_nan: false
16
+ simplify: true
17
+ literal_prior: uniform
18
+ literal_prior_kwargs:
19
+ low: -5
20
+ high: 5
21
+ support_prior: uniform_intervals
22
+ support_prior_kwargs:
23
+ low: -10
24
+ high: 10
25
+ n_support_prior: uniform
26
+ n_support_prior_kwargs:
27
+ low: 16
28
+ high: 512
29
+ min_value: 16
30
+ max_value: 512
v9.0/checkpoint_1100000/state_dict.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:703604f659043961fd84189727d0fe9ce7483674969ffa7a386687bf9b0ee2e0
3
+ size 108663827
v9.0/checkpoint_1100000/train.yaml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model: /home/psaegert/Projects/flash-ansr/configs/v9.0/./nsr.yaml
2
+ optimizer:
3
+ name: AdamW
4
+ kwargs:
5
+ lr: 1
6
+ weight_decay: 0.01
7
+ amsgrad: true
8
+ lr_scheduler:
9
+ name: WarmupLinearAnnealing
10
+ kwargs:
11
+ min_lr: 0
12
+ max_lr: 1e-4
13
+ warmup_steps: 10000
14
+ total_steps: 1500000
15
+ batch_size: 128
16
+ train_dataset: /home/psaegert/Projects/flash-ansr/configs/v9.0/./dataset_train.yaml
17
+ val_dataset: /home/psaegert/Projects/flash-ansr/configs/v9.0/./dataset_val.yaml
18
+ val_batch_size: 128
19
+ val_size: 100000
20
+ preprocess: true
21
+ contrastive_n_per_class: 1
22
+ contrastive_margin: 0.0
23
+ contrastive_temperature: 0.5
24
+ numeric_prediction_loss_weight: 0
25
+ contrastive_loss_weight: 0
26
+ steps: 1500000
27
+ device: cuda
v9.0/checkpoint_1200000/dataset_train.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_train.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5
v9.0/checkpoint_1200000/dataset_val.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_val.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5
v9.0/checkpoint_1200000/expression_space.yaml ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ +:
3
+ realization: +
4
+ alias:
5
+ - add
6
+ - plus
7
+ inverse: '-'
8
+ arity: 2
9
+ weight: 10
10
+ precedence: 1
11
+ commutative: true
12
+ symmetry: 0
13
+ positive: false
14
+ monotonicity: 0
15
+ '-':
16
+ realization: '-'
17
+ alias:
18
+ - sub
19
+ - minus
20
+ inverse: +
21
+ arity: 2
22
+ weight: 5
23
+ precedence: 1
24
+ commutative: false
25
+ symmetry: 0
26
+ positive: false
27
+ monotonicity: 0
28
+ neg:
29
+ realization: nsrops.neg
30
+ alias:
31
+ - negative
32
+ inverse: neg
33
+ arity: 1
34
+ weight: 5
35
+ precedence: 2.5
36
+ commutative: false
37
+ symmetry: -1
38
+ positive: false
39
+ monotonicity: -1
40
+ '*':
41
+ realization: '*'
42
+ alias:
43
+ - mul
44
+ - times
45
+ inverse: /
46
+ arity: 2
47
+ weight: 10
48
+ precedence: 2
49
+ commutative: true
50
+ symmetry: 0
51
+ positive: false
52
+ monotonicity: 0
53
+ /:
54
+ realization: /
55
+ alias:
56
+ - div
57
+ - divide
58
+ inverse: '*'
59
+ arity: 2
60
+ weight: 5
61
+ precedence: 2
62
+ commutative: false
63
+ symmetry: 0
64
+ positive: false
65
+ monotonicity: 0
66
+ abs:
67
+ realization: abs
68
+ alias:
69
+ - absolute
70
+ inverse: null
71
+ arity: 1
72
+ weight: 4
73
+ precedence: 3
74
+ commutative: false
75
+ symmetry: 1
76
+ positive: true
77
+ monotonicity: 0
78
+ inv:
79
+ realization: nsrops.inv
80
+ alias:
81
+ - inverse
82
+ inverse: inv
83
+ arity: 1
84
+ weight: 4
85
+ precedence: 4
86
+ commutative: false
87
+ symmetry: -1
88
+ positive: false
89
+ monotonicity: -1
90
+ pow2:
91
+ realization: nsrops.pow2
92
+ alias:
93
+ - square
94
+ inverse: null
95
+ arity: 1
96
+ weight: 4
97
+ precedence: 3
98
+ commutative: false
99
+ symmetry: 1
100
+ positive: true
101
+ monotonicity: 0
102
+ pow3:
103
+ realization: nsrops.pow3
104
+ alias:
105
+ - cube
106
+ inverse: pow1_3
107
+ arity: 1
108
+ weight: 2
109
+ precedence: 3
110
+ commutative: false
111
+ symmetry: -1
112
+ positive: false
113
+ monotonicity: 1
114
+ pow4:
115
+ realization: nsrops.pow4
116
+ alias: []
117
+ inverse: null
118
+ arity: 1
119
+ weight: 1
120
+ precedence: 3
121
+ commutative: false
122
+ symmetry: 1
123
+ positive: true
124
+ monotonicity: 0
125
+ pow5:
126
+ realization: nsrops.pow5
127
+ alias: []
128
+ inverse: pow1_5
129
+ arity: 1
130
+ weight: 1
131
+ precedence: 3
132
+ commutative: false
133
+ symmetry: -1
134
+ positive: false
135
+ monotonicity: 1
136
+ pow1_2:
137
+ realization: nsrops.pow1_2
138
+ alias:
139
+ - sqrt
140
+ inverse: null
141
+ arity: 1
142
+ weight: 4
143
+ precedence: 3
144
+ commutative: false
145
+ symmetry: 0
146
+ positive: true
147
+ monotonicity: 1
148
+ pow1_3:
149
+ realization: nsrops.pow1_3
150
+ alias: []
151
+ inverse: null
152
+ arity: 1
153
+ weight: 2
154
+ precedence: 3
155
+ commutative: false
156
+ symmetry: -1
157
+ positive: false
158
+ monotonicity: 1
159
+ pow1_4:
160
+ realization: nsrops.pow1_4
161
+ alias: []
162
+ inverse: null
163
+ arity: 1
164
+ weight: 1
165
+ precedence: 3
166
+ commutative: false
167
+ symmetry: 0
168
+ positive: true
169
+ monotonicity: 1
170
+ pow1_5:
171
+ realization: nsrops.pow1_5
172
+ alias: []
173
+ inverse: null
174
+ arity: 1
175
+ weight: 1
176
+ precedence: 3
177
+ commutative: false
178
+ symmetry: -1
179
+ positive: false
180
+ monotonicity: 1
181
+ sin:
182
+ realization: numpy.sin
183
+ alias: []
184
+ inverse: asin
185
+ arity: 1
186
+ weight: 4
187
+ precedence: 2
188
+ commutative: false
189
+ symmetry: -1
190
+ positive: false
191
+ monotonicity: 0
192
+ cos:
193
+ realization: numpy.cos
194
+ alias: []
195
+ inverse: acos
196
+ arity: 1
197
+ weight: 4
198
+ precedence: 2
199
+ commutative: false
200
+ symmetry: 1
201
+ positive: false
202
+ monotonicity: 0
203
+ tan:
204
+ realization: numpy.tan
205
+ alias: []
206
+ inverse: atan
207
+ arity: 1
208
+ weight: 4
209
+ precedence: 2
210
+ commutative: false
211
+ symmetry: -1
212
+ positive: false
213
+ monotonicity: 0
214
+ asin:
215
+ realization: numpy.arcsin
216
+ alias:
217
+ - arcsin
218
+ inverse: sin
219
+ arity: 1
220
+ weight: 2
221
+ precedence: 2
222
+ commutative: false
223
+ symmetry: -1
224
+ positive: false
225
+ monotonicity: 1
226
+ acos:
227
+ realization: numpy.arccos
228
+ alias:
229
+ - arccos
230
+ inverse: cos
231
+ arity: 1
232
+ weight: 2
233
+ precedence: 2
234
+ commutative: false
235
+ symmetry: 0
236
+ positive: true
237
+ monotonicity: 1
238
+ atan:
239
+ realization: numpy.arctan
240
+ alias:
241
+ - arctan
242
+ inverse: tan
243
+ arity: 1
244
+ weight: 2
245
+ precedence: 2
246
+ commutative: false
247
+ symmetry: -1
248
+ positive: false
249
+ monotonicity: 1
250
+ exp:
251
+ realization: numpy.exp
252
+ alias: []
253
+ inverse: log
254
+ arity: 1
255
+ weight: 4
256
+ precedence: 3
257
+ commutative: false
258
+ symmetry: 0
259
+ positive: true
260
+ monotonicity: 1
261
+ log:
262
+ realization: numpy.log
263
+ alias:
264
+ - ln
265
+ inverse: exp
266
+ arity: 1
267
+ weight: 4
268
+ precedence: 2
269
+ commutative: false
270
+ symmetry: 0
271
+ positive: false
272
+ monotonicity: 1
273
+ variables: 3
274
+ special_tokens:
275
+ - <pad>
276
+ - <bos>
277
+ - <eos>
278
+ - <unk>
279
+ - <cls>
280
+ - <mask>
281
+ - <num>
282
+ - <ctrl_complexity>
v9.0/checkpoint_1200000/nsr.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ encoder_max_n_variables: 4
2
+ size: 512
3
+ pre_encoder_input_type: ieee-754
4
+ pre_encoder_support_nan: false
5
+ encoder: SetTransformer
6
+ encoder_kwargs:
7
+ hidden_size: 512
8
+ n_enc_isab: 5
9
+ n_dec_sab: 2
10
+ n_induce: 64
11
+ n_heads: 8
12
+ layer_norm: false
13
+ n_seeds: 64
14
+ decoder_n_heads: 8
15
+ decoder_ff_size: 512
16
+ decoder_dropout: 0.1
17
+ decoder_n_layers: 5
18
+ learnable_positional_embeddings: false
19
+ max_input_length: null
20
+ support_numeric_tokens: true
21
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
v9.0/checkpoint_1200000/skeleton_pool_train.yaml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/./././expression_space.yaml
2
+ holdout_pools:
3
+ - '{{ROOT}}/data/ansr-data/v9.0/skeleton_pool_val/'
4
+ - '{{ROOT}}/data/ansr-data/test_set/soose_nc/skeleton_pool/'
5
+ - '{{ROOT}}/data/ansr-data/test_set/feynman/skeleton_pool/'
6
+ - '{{ROOT}}/data/ansr-data/test_set/nguyen/skeleton_pool/'
7
+ - '{{ROOT}}/data/ansr-data/test_set/pool_15/skeleton_pool/'
8
+ sample_strategy:
9
+ n_operator_distribution: length_proportional
10
+ min_operators: 0
11
+ max_operators: 10
12
+ power: 1
13
+ max_length: 21
14
+ max_tries: 1
15
+ independent_dimensions: true
16
+ allow_nan: false
17
+ simplify: true
18
+ literal_prior: uniform
19
+ literal_prior_kwargs:
20
+ low: -5
21
+ high: 5
22
+ support_prior: uniform_intervals
23
+ support_prior_kwargs:
24
+ low: -10
25
+ high: 10
26
+ n_support_prior: uniform
27
+ n_support_prior_kwargs:
28
+ low: 16
29
+ high: 512
30
+ min_value: 16
31
+ max_value: 512
v9.0/checkpoint_1200000/skeleton_pool_val.yaml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/./././expression_space.yaml
2
+ holdout_pools:
3
+ - '{{ROOT}}/data/ansr-data/test_set/soose_nc/skeleton_pool/'
4
+ - '{{ROOT}}/data/ansr-data/test_set/feynman/skeleton_pool/'
5
+ - '{{ROOT}}/data/ansr-data/test_set/nguyen/skeleton_pool/'
6
+ - '{{ROOT}}/data/ansr-data/test_set/pool_15/skeleton_pool/'
7
+ sample_strategy:
8
+ n_operator_distribution: length_proportional
9
+ min_operators: 0
10
+ max_operators: 10
11
+ power: 1
12
+ max_length: 21
13
+ max_tries: 1
14
+ independent_dimensions: true
15
+ allow_nan: false
16
+ simplify: true
17
+ literal_prior: uniform
18
+ literal_prior_kwargs:
19
+ low: -5
20
+ high: 5
21
+ support_prior: uniform_intervals
22
+ support_prior_kwargs:
23
+ low: -10
24
+ high: 10
25
+ n_support_prior: uniform
26
+ n_support_prior_kwargs:
27
+ low: 16
28
+ high: 512
29
+ min_value: 16
30
+ max_value: 512
v9.0/checkpoint_1200000/state_dict.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4848f430ad9d22914acf8796ebb53907688969f88a9a10fd7b7aa87fb1c7b291
3
+ size 108663827
v9.0/checkpoint_1200000/train.yaml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model: /home/psaegert/Projects/flash-ansr/configs/v9.0/./nsr.yaml
2
+ optimizer:
3
+ name: AdamW
4
+ kwargs:
5
+ lr: 1
6
+ weight_decay: 0.01
7
+ amsgrad: true
8
+ lr_scheduler:
9
+ name: WarmupLinearAnnealing
10
+ kwargs:
11
+ min_lr: 0
12
+ max_lr: 1e-4
13
+ warmup_steps: 10000
14
+ total_steps: 1500000
15
+ batch_size: 128
16
+ train_dataset: /home/psaegert/Projects/flash-ansr/configs/v9.0/./dataset_train.yaml
17
+ val_dataset: /home/psaegert/Projects/flash-ansr/configs/v9.0/./dataset_val.yaml
18
+ val_batch_size: 128
19
+ val_size: 100000
20
+ preprocess: true
21
+ contrastive_n_per_class: 1
22
+ contrastive_margin: 0.0
23
+ contrastive_temperature: 0.5
24
+ numeric_prediction_loss_weight: 0
25
+ contrastive_loss_weight: 0
26
+ steps: 1500000
27
+ device: cuda
v9.0/checkpoint_1300000/dataset_train.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_train.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5
v9.0/checkpoint_1300000/dataset_val.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_val.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5
v9.0/checkpoint_1300000/expression_space.yaml ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ +:
3
+ realization: +
4
+ alias:
5
+ - add
6
+ - plus
7
+ inverse: '-'
8
+ arity: 2
9
+ weight: 10
10
+ precedence: 1
11
+ commutative: true
12
+ symmetry: 0
13
+ positive: false
14
+ monotonicity: 0
15
+ '-':
16
+ realization: '-'
17
+ alias:
18
+ - sub
19
+ - minus
20
+ inverse: +
21
+ arity: 2
22
+ weight: 5
23
+ precedence: 1
24
+ commutative: false
25
+ symmetry: 0
26
+ positive: false
27
+ monotonicity: 0
28
+ neg:
29
+ realization: nsrops.neg
30
+ alias:
31
+ - negative
32
+ inverse: neg
33
+ arity: 1
34
+ weight: 5
35
+ precedence: 2.5
36
+ commutative: false
37
+ symmetry: -1
38
+ positive: false
39
+ monotonicity: -1
40
+ '*':
41
+ realization: '*'
42
+ alias:
43
+ - mul
44
+ - times
45
+ inverse: /
46
+ arity: 2
47
+ weight: 10
48
+ precedence: 2
49
+ commutative: true
50
+ symmetry: 0
51
+ positive: false
52
+ monotonicity: 0
53
+ /:
54
+ realization: /
55
+ alias:
56
+ - div
57
+ - divide
58
+ inverse: '*'
59
+ arity: 2
60
+ weight: 5
61
+ precedence: 2
62
+ commutative: false
63
+ symmetry: 0
64
+ positive: false
65
+ monotonicity: 0
66
+ abs:
67
+ realization: abs
68
+ alias:
69
+ - absolute
70
+ inverse: null
71
+ arity: 1
72
+ weight: 4
73
+ precedence: 3
74
+ commutative: false
75
+ symmetry: 1
76
+ positive: true
77
+ monotonicity: 0
78
+ inv:
79
+ realization: nsrops.inv
80
+ alias:
81
+ - inverse
82
+ inverse: inv
83
+ arity: 1
84
+ weight: 4
85
+ precedence: 4
86
+ commutative: false
87
+ symmetry: -1
88
+ positive: false
89
+ monotonicity: -1
90
+ pow2:
91
+ realization: nsrops.pow2
92
+ alias:
93
+ - square
94
+ inverse: null
95
+ arity: 1
96
+ weight: 4
97
+ precedence: 3
98
+ commutative: false
99
+ symmetry: 1
100
+ positive: true
101
+ monotonicity: 0
102
+ pow3:
103
+ realization: nsrops.pow3
104
+ alias:
105
+ - cube
106
+ inverse: pow1_3
107
+ arity: 1
108
+ weight: 2
109
+ precedence: 3
110
+ commutative: false
111
+ symmetry: -1
112
+ positive: false
113
+ monotonicity: 1
114
+ pow4:
115
+ realization: nsrops.pow4
116
+ alias: []
117
+ inverse: null
118
+ arity: 1
119
+ weight: 1
120
+ precedence: 3
121
+ commutative: false
122
+ symmetry: 1
123
+ positive: true
124
+ monotonicity: 0
125
+ pow5:
126
+ realization: nsrops.pow5
127
+ alias: []
128
+ inverse: pow1_5
129
+ arity: 1
130
+ weight: 1
131
+ precedence: 3
132
+ commutative: false
133
+ symmetry: -1
134
+ positive: false
135
+ monotonicity: 1
136
+ pow1_2:
137
+ realization: nsrops.pow1_2
138
+ alias:
139
+ - sqrt
140
+ inverse: null
141
+ arity: 1
142
+ weight: 4
143
+ precedence: 3
144
+ commutative: false
145
+ symmetry: 0
146
+ positive: true
147
+ monotonicity: 1
148
+ pow1_3:
149
+ realization: nsrops.pow1_3
150
+ alias: []
151
+ inverse: null
152
+ arity: 1
153
+ weight: 2
154
+ precedence: 3
155
+ commutative: false
156
+ symmetry: -1
157
+ positive: false
158
+ monotonicity: 1
159
+ pow1_4:
160
+ realization: nsrops.pow1_4
161
+ alias: []
162
+ inverse: null
163
+ arity: 1
164
+ weight: 1
165
+ precedence: 3
166
+ commutative: false
167
+ symmetry: 0
168
+ positive: true
169
+ monotonicity: 1
170
+ pow1_5:
171
+ realization: nsrops.pow1_5
172
+ alias: []
173
+ inverse: null
174
+ arity: 1
175
+ weight: 1
176
+ precedence: 3
177
+ commutative: false
178
+ symmetry: -1
179
+ positive: false
180
+ monotonicity: 1
181
+ sin:
182
+ realization: numpy.sin
183
+ alias: []
184
+ inverse: asin
185
+ arity: 1
186
+ weight: 4
187
+ precedence: 2
188
+ commutative: false
189
+ symmetry: -1
190
+ positive: false
191
+ monotonicity: 0
192
+ cos:
193
+ realization: numpy.cos
194
+ alias: []
195
+ inverse: acos
196
+ arity: 1
197
+ weight: 4
198
+ precedence: 2
199
+ commutative: false
200
+ symmetry: 1
201
+ positive: false
202
+ monotonicity: 0
203
+ tan:
204
+ realization: numpy.tan
205
+ alias: []
206
+ inverse: atan
207
+ arity: 1
208
+ weight: 4
209
+ precedence: 2
210
+ commutative: false
211
+ symmetry: -1
212
+ positive: false
213
+ monotonicity: 0
214
+ asin:
215
+ realization: numpy.arcsin
216
+ alias:
217
+ - arcsin
218
+ inverse: sin
219
+ arity: 1
220
+ weight: 2
221
+ precedence: 2
222
+ commutative: false
223
+ symmetry: -1
224
+ positive: false
225
+ monotonicity: 1
226
+ acos:
227
+ realization: numpy.arccos
228
+ alias:
229
+ - arccos
230
+ inverse: cos
231
+ arity: 1
232
+ weight: 2
233
+ precedence: 2
234
+ commutative: false
235
+ symmetry: 0
236
+ positive: true
237
+ monotonicity: 1
238
+ atan:
239
+ realization: numpy.arctan
240
+ alias:
241
+ - arctan
242
+ inverse: tan
243
+ arity: 1
244
+ weight: 2
245
+ precedence: 2
246
+ commutative: false
247
+ symmetry: -1
248
+ positive: false
249
+ monotonicity: 1
250
+ exp:
251
+ realization: numpy.exp
252
+ alias: []
253
+ inverse: log
254
+ arity: 1
255
+ weight: 4
256
+ precedence: 3
257
+ commutative: false
258
+ symmetry: 0
259
+ positive: true
260
+ monotonicity: 1
261
+ log:
262
+ realization: numpy.log
263
+ alias:
264
+ - ln
265
+ inverse: exp
266
+ arity: 1
267
+ weight: 4
268
+ precedence: 2
269
+ commutative: false
270
+ symmetry: 0
271
+ positive: false
272
+ monotonicity: 1
273
+ variables: 3
274
+ special_tokens:
275
+ - <pad>
276
+ - <bos>
277
+ - <eos>
278
+ - <unk>
279
+ - <cls>
280
+ - <mask>
281
+ - <num>
282
+ - <ctrl_complexity>
v9.0/checkpoint_1300000/nsr.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ encoder_max_n_variables: 4
2
+ size: 512
3
+ pre_encoder_input_type: ieee-754
4
+ pre_encoder_support_nan: false
5
+ encoder: SetTransformer
6
+ encoder_kwargs:
7
+ hidden_size: 512
8
+ n_enc_isab: 5
9
+ n_dec_sab: 2
10
+ n_induce: 64
11
+ n_heads: 8
12
+ layer_norm: false
13
+ n_seeds: 64
14
+ decoder_n_heads: 8
15
+ decoder_ff_size: 512
16
+ decoder_dropout: 0.1
17
+ decoder_n_layers: 5
18
+ learnable_positional_embeddings: false
19
+ max_input_length: null
20
+ support_numeric_tokens: true
21
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
v9.0/checkpoint_1300000/skeleton_pool_train.yaml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/./././expression_space.yaml
2
+ holdout_pools:
3
+ - '{{ROOT}}/data/ansr-data/v9.0/skeleton_pool_val/'
4
+ - '{{ROOT}}/data/ansr-data/test_set/soose_nc/skeleton_pool/'
5
+ - '{{ROOT}}/data/ansr-data/test_set/feynman/skeleton_pool/'
6
+ - '{{ROOT}}/data/ansr-data/test_set/nguyen/skeleton_pool/'
7
+ - '{{ROOT}}/data/ansr-data/test_set/pool_15/skeleton_pool/'
8
+ sample_strategy:
9
+ n_operator_distribution: length_proportional
10
+ min_operators: 0
11
+ max_operators: 10
12
+ power: 1
13
+ max_length: 21
14
+ max_tries: 1
15
+ independent_dimensions: true
16
+ allow_nan: false
17
+ simplify: true
18
+ literal_prior: uniform
19
+ literal_prior_kwargs:
20
+ low: -5
21
+ high: 5
22
+ support_prior: uniform_intervals
23
+ support_prior_kwargs:
24
+ low: -10
25
+ high: 10
26
+ n_support_prior: uniform
27
+ n_support_prior_kwargs:
28
+ low: 16
29
+ high: 512
30
+ min_value: 16
31
+ max_value: 512
v9.0/checkpoint_1300000/skeleton_pool_val.yaml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/./././expression_space.yaml
2
+ holdout_pools:
3
+ - '{{ROOT}}/data/ansr-data/test_set/soose_nc/skeleton_pool/'
4
+ - '{{ROOT}}/data/ansr-data/test_set/feynman/skeleton_pool/'
5
+ - '{{ROOT}}/data/ansr-data/test_set/nguyen/skeleton_pool/'
6
+ - '{{ROOT}}/data/ansr-data/test_set/pool_15/skeleton_pool/'
7
+ sample_strategy:
8
+ n_operator_distribution: length_proportional
9
+ min_operators: 0
10
+ max_operators: 10
11
+ power: 1
12
+ max_length: 21
13
+ max_tries: 1
14
+ independent_dimensions: true
15
+ allow_nan: false
16
+ simplify: true
17
+ literal_prior: uniform
18
+ literal_prior_kwargs:
19
+ low: -5
20
+ high: 5
21
+ support_prior: uniform_intervals
22
+ support_prior_kwargs:
23
+ low: -10
24
+ high: 10
25
+ n_support_prior: uniform
26
+ n_support_prior_kwargs:
27
+ low: 16
28
+ high: 512
29
+ min_value: 16
30
+ max_value: 512
v9.0/checkpoint_1300000/state_dict.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f1ef23f633c673d5dcd3dbac97b6716834e4a28bd04b8103a134d808beb4791
3
+ size 108663827
v9.0/checkpoint_1300000/train.yaml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model: /home/psaegert/Projects/flash-ansr/configs/v9.0/./nsr.yaml
2
+ optimizer:
3
+ name: AdamW
4
+ kwargs:
5
+ lr: 1
6
+ weight_decay: 0.01
7
+ amsgrad: true
8
+ lr_scheduler:
9
+ name: WarmupLinearAnnealing
10
+ kwargs:
11
+ min_lr: 0
12
+ max_lr: 1e-4
13
+ warmup_steps: 10000
14
+ total_steps: 1500000
15
+ batch_size: 128
16
+ train_dataset: /home/psaegert/Projects/flash-ansr/configs/v9.0/./dataset_train.yaml
17
+ val_dataset: /home/psaegert/Projects/flash-ansr/configs/v9.0/./dataset_val.yaml
18
+ val_batch_size: 128
19
+ val_size: 100000
20
+ preprocess: true
21
+ contrastive_n_per_class: 1
22
+ contrastive_margin: 0.0
23
+ contrastive_temperature: 0.5
24
+ numeric_prediction_loss_weight: 0
25
+ contrastive_loss_weight: 0
26
+ steps: 1500000
27
+ device: cuda
v9.0/checkpoint_1400000/dataset_train.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_train.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5
v9.0/checkpoint_1400000/dataset_val.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_val.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5
v9.0/checkpoint_1400000/expression_space.yaml ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ +:
3
+ realization: +
4
+ alias:
5
+ - add
6
+ - plus
7
+ inverse: '-'
8
+ arity: 2
9
+ weight: 10
10
+ precedence: 1
11
+ commutative: true
12
+ symmetry: 0
13
+ positive: false
14
+ monotonicity: 0
15
+ '-':
16
+ realization: '-'
17
+ alias:
18
+ - sub
19
+ - minus
20
+ inverse: +
21
+ arity: 2
22
+ weight: 5
23
+ precedence: 1
24
+ commutative: false
25
+ symmetry: 0
26
+ positive: false
27
+ monotonicity: 0
28
+ neg:
29
+ realization: nsrops.neg
30
+ alias:
31
+ - negative
32
+ inverse: neg
33
+ arity: 1
34
+ weight: 5
35
+ precedence: 2.5
36
+ commutative: false
37
+ symmetry: -1
38
+ positive: false
39
+ monotonicity: -1
40
+ '*':
41
+ realization: '*'
42
+ alias:
43
+ - mul
44
+ - times
45
+ inverse: /
46
+ arity: 2
47
+ weight: 10
48
+ precedence: 2
49
+ commutative: true
50
+ symmetry: 0
51
+ positive: false
52
+ monotonicity: 0
53
+ /:
54
+ realization: /
55
+ alias:
56
+ - div
57
+ - divide
58
+ inverse: '*'
59
+ arity: 2
60
+ weight: 5
61
+ precedence: 2
62
+ commutative: false
63
+ symmetry: 0
64
+ positive: false
65
+ monotonicity: 0
66
+ abs:
67
+ realization: abs
68
+ alias:
69
+ - absolute
70
+ inverse: null
71
+ arity: 1
72
+ weight: 4
73
+ precedence: 3
74
+ commutative: false
75
+ symmetry: 1
76
+ positive: true
77
+ monotonicity: 0
78
+ inv:
79
+ realization: nsrops.inv
80
+ alias:
81
+ - inverse
82
+ inverse: inv
83
+ arity: 1
84
+ weight: 4
85
+ precedence: 4
86
+ commutative: false
87
+ symmetry: -1
88
+ positive: false
89
+ monotonicity: -1
90
+ pow2:
91
+ realization: nsrops.pow2
92
+ alias:
93
+ - square
94
+ inverse: null
95
+ arity: 1
96
+ weight: 4
97
+ precedence: 3
98
+ commutative: false
99
+ symmetry: 1
100
+ positive: true
101
+ monotonicity: 0
102
+ pow3:
103
+ realization: nsrops.pow3
104
+ alias:
105
+ - cube
106
+ inverse: pow1_3
107
+ arity: 1
108
+ weight: 2
109
+ precedence: 3
110
+ commutative: false
111
+ symmetry: -1
112
+ positive: false
113
+ monotonicity: 1
114
+ pow4:
115
+ realization: nsrops.pow4
116
+ alias: []
117
+ inverse: null
118
+ arity: 1
119
+ weight: 1
120
+ precedence: 3
121
+ commutative: false
122
+ symmetry: 1
123
+ positive: true
124
+ monotonicity: 0
125
+ pow5:
126
+ realization: nsrops.pow5
127
+ alias: []
128
+ inverse: pow1_5
129
+ arity: 1
130
+ weight: 1
131
+ precedence: 3
132
+ commutative: false
133
+ symmetry: -1
134
+ positive: false
135
+ monotonicity: 1
136
+ pow1_2:
137
+ realization: nsrops.pow1_2
138
+ alias:
139
+ - sqrt
140
+ inverse: null
141
+ arity: 1
142
+ weight: 4
143
+ precedence: 3
144
+ commutative: false
145
+ symmetry: 0
146
+ positive: true
147
+ monotonicity: 1
148
+ pow1_3:
149
+ realization: nsrops.pow1_3
150
+ alias: []
151
+ inverse: null
152
+ arity: 1
153
+ weight: 2
154
+ precedence: 3
155
+ commutative: false
156
+ symmetry: -1
157
+ positive: false
158
+ monotonicity: 1
159
+ pow1_4:
160
+ realization: nsrops.pow1_4
161
+ alias: []
162
+ inverse: null
163
+ arity: 1
164
+ weight: 1
165
+ precedence: 3
166
+ commutative: false
167
+ symmetry: 0
168
+ positive: true
169
+ monotonicity: 1
170
+ pow1_5:
171
+ realization: nsrops.pow1_5
172
+ alias: []
173
+ inverse: null
174
+ arity: 1
175
+ weight: 1
176
+ precedence: 3
177
+ commutative: false
178
+ symmetry: -1
179
+ positive: false
180
+ monotonicity: 1
181
+ sin:
182
+ realization: numpy.sin
183
+ alias: []
184
+ inverse: asin
185
+ arity: 1
186
+ weight: 4
187
+ precedence: 2
188
+ commutative: false
189
+ symmetry: -1
190
+ positive: false
191
+ monotonicity: 0
192
+ cos:
193
+ realization: numpy.cos
194
+ alias: []
195
+ inverse: acos
196
+ arity: 1
197
+ weight: 4
198
+ precedence: 2
199
+ commutative: false
200
+ symmetry: 1
201
+ positive: false
202
+ monotonicity: 0
203
+ tan:
204
+ realization: numpy.tan
205
+ alias: []
206
+ inverse: atan
207
+ arity: 1
208
+ weight: 4
209
+ precedence: 2
210
+ commutative: false
211
+ symmetry: -1
212
+ positive: false
213
+ monotonicity: 0
214
+ asin:
215
+ realization: numpy.arcsin
216
+ alias:
217
+ - arcsin
218
+ inverse: sin
219
+ arity: 1
220
+ weight: 2
221
+ precedence: 2
222
+ commutative: false
223
+ symmetry: -1
224
+ positive: false
225
+ monotonicity: 1
226
+ acos:
227
+ realization: numpy.arccos
228
+ alias:
229
+ - arccos
230
+ inverse: cos
231
+ arity: 1
232
+ weight: 2
233
+ precedence: 2
234
+ commutative: false
235
+ symmetry: 0
236
+ positive: true
237
+ monotonicity: 1
238
+ atan:
239
+ realization: numpy.arctan
240
+ alias:
241
+ - arctan
242
+ inverse: tan
243
+ arity: 1
244
+ weight: 2
245
+ precedence: 2
246
+ commutative: false
247
+ symmetry: -1
248
+ positive: false
249
+ monotonicity: 1
250
+ exp:
251
+ realization: numpy.exp
252
+ alias: []
253
+ inverse: log
254
+ arity: 1
255
+ weight: 4
256
+ precedence: 3
257
+ commutative: false
258
+ symmetry: 0
259
+ positive: true
260
+ monotonicity: 1
261
+ log:
262
+ realization: numpy.log
263
+ alias:
264
+ - ln
265
+ inverse: exp
266
+ arity: 1
267
+ weight: 4
268
+ precedence: 2
269
+ commutative: false
270
+ symmetry: 0
271
+ positive: false
272
+ monotonicity: 1
273
+ variables: 3
274
+ special_tokens:
275
+ - <pad>
276
+ - <bos>
277
+ - <eos>
278
+ - <unk>
279
+ - <cls>
280
+ - <mask>
281
+ - <num>
282
+ - <ctrl_complexity>
v9.0/checkpoint_1400000/nsr.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ encoder_max_n_variables: 4
2
+ size: 512
3
+ pre_encoder_input_type: ieee-754
4
+ pre_encoder_support_nan: false
5
+ encoder: SetTransformer
6
+ encoder_kwargs:
7
+ hidden_size: 512
8
+ n_enc_isab: 5
9
+ n_dec_sab: 2
10
+ n_induce: 64
11
+ n_heads: 8
12
+ layer_norm: false
13
+ n_seeds: 64
14
+ decoder_n_heads: 8
15
+ decoder_ff_size: 512
16
+ decoder_dropout: 0.1
17
+ decoder_n_layers: 5
18
+ learnable_positional_embeddings: false
19
+ max_input_length: null
20
+ support_numeric_tokens: true
21
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
v9.0/checkpoint_1400000/skeleton_pool_train.yaml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/./././expression_space.yaml
2
+ holdout_pools:
3
+ - '{{ROOT}}/data/ansr-data/v9.0/skeleton_pool_val/'
4
+ - '{{ROOT}}/data/ansr-data/test_set/soose_nc/skeleton_pool/'
5
+ - '{{ROOT}}/data/ansr-data/test_set/feynman/skeleton_pool/'
6
+ - '{{ROOT}}/data/ansr-data/test_set/nguyen/skeleton_pool/'
7
+ - '{{ROOT}}/data/ansr-data/test_set/pool_15/skeleton_pool/'
8
+ sample_strategy:
9
+ n_operator_distribution: length_proportional
10
+ min_operators: 0
11
+ max_operators: 10
12
+ power: 1
13
+ max_length: 21
14
+ max_tries: 1
15
+ independent_dimensions: true
16
+ allow_nan: false
17
+ simplify: true
18
+ literal_prior: uniform
19
+ literal_prior_kwargs:
20
+ low: -5
21
+ high: 5
22
+ support_prior: uniform_intervals
23
+ support_prior_kwargs:
24
+ low: -10
25
+ high: 10
26
+ n_support_prior: uniform
27
+ n_support_prior_kwargs:
28
+ low: 16
29
+ high: 512
30
+ min_value: 16
31
+ max_value: 512
v9.0/checkpoint_1400000/skeleton_pool_val.yaml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/./././expression_space.yaml
2
+ holdout_pools:
3
+ - '{{ROOT}}/data/ansr-data/test_set/soose_nc/skeleton_pool/'
4
+ - '{{ROOT}}/data/ansr-data/test_set/feynman/skeleton_pool/'
5
+ - '{{ROOT}}/data/ansr-data/test_set/nguyen/skeleton_pool/'
6
+ - '{{ROOT}}/data/ansr-data/test_set/pool_15/skeleton_pool/'
7
+ sample_strategy:
8
+ n_operator_distribution: length_proportional
9
+ min_operators: 0
10
+ max_operators: 10
11
+ power: 1
12
+ max_length: 21
13
+ max_tries: 1
14
+ independent_dimensions: true
15
+ allow_nan: false
16
+ simplify: true
17
+ literal_prior: uniform
18
+ literal_prior_kwargs:
19
+ low: -5
20
+ high: 5
21
+ support_prior: uniform_intervals
22
+ support_prior_kwargs:
23
+ low: -10
24
+ high: 10
25
+ n_support_prior: uniform
26
+ n_support_prior_kwargs:
27
+ low: 16
28
+ high: 512
29
+ min_value: 16
30
+ max_value: 512
v9.0/checkpoint_1400000/state_dict.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ca2e3b30ee48a9096b1db0771301c08c843ee296ba820f40ab55d8a0bc87ec8
3
+ size 108663827
v9.0/checkpoint_1400000/train.yaml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model: /home/psaegert/Projects/flash-ansr/configs/v9.0/./nsr.yaml
2
+ optimizer:
3
+ name: AdamW
4
+ kwargs:
5
+ lr: 1
6
+ weight_decay: 0.01
7
+ amsgrad: true
8
+ lr_scheduler:
9
+ name: WarmupLinearAnnealing
10
+ kwargs:
11
+ min_lr: 0
12
+ max_lr: 1e-4
13
+ warmup_steps: 10000
14
+ total_steps: 1500000
15
+ batch_size: 128
16
+ train_dataset: /home/psaegert/Projects/flash-ansr/configs/v9.0/./dataset_train.yaml
17
+ val_dataset: /home/psaegert/Projects/flash-ansr/configs/v9.0/./dataset_val.yaml
18
+ val_batch_size: 128
19
+ val_size: 100000
20
+ preprocess: true
21
+ contrastive_n_per_class: 1
22
+ contrastive_margin: 0.0
23
+ contrastive_temperature: 0.5
24
+ numeric_prediction_loss_weight: 0
25
+ contrastive_loss_weight: 0
26
+ steps: 1500000
27
+ device: cuda
v9.0/checkpoint_1500000/dataset_train.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_train.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5
v9.0/checkpoint_1500000/dataset_val.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ skeleton_pool: /home/psaegert/Projects/flash-ansr/configs/v9.0/././skeleton_pool_val.yaml
2
+ padding: zero
3
+ preprocessor:
4
+ expression_space: /home/psaegert/Projects/flash-ansr/configs/v9.0/././expression_space.yaml
5
+ format_probs:
6
+ complexity: 0.5