RozanskiT commited on
Commit
f96ea89
·
verified ·
1 Parent(s): b0496ef

Upload 11 files

Browse files
README.txt ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Astro Emulators Toolkit Bundle
2
+
3
+ Summary:
4
+ model: mlp
5
+ release: payne-flux-reference-example@0.1.0 (released)
6
+ bundle_format_version: 1
7
+ config_schema_version: 1
8
+ spec_version: 1
9
+ weights_layout: params_plus_model_state_v1
10
+ model_family_id: mlp_v1
11
+ fingerprint_evaluation: present
12
+ task: regression
13
+ fit_method: gradient
14
+ solver_params: not provided
15
+ solver_diagnostics: not provided
16
+ solver_design_matrix: not provided
17
+ role_paths: {'input_leaf': 'inputs/parameters', 'output_leaf': 'outputs/flux'}
18
+
19
+ Domain:
20
+ input_domain: {'kind': 'box_v1', 'max_tree': {'inputs': {'parameters': [7000.0, 5.0, 0.30000001192092896]}}, 'min_tree': {'inputs': {'parameters': [4500.0, 2.5, -0.30000001192092896]}}, 'space': 'canonical_input_dict_trees_v1', 'storage': {'filename': 'input_domain.safetensors', 'format': 'safetensors_v1', 'layout': 'split_minmax_tree_v1'}}
21
+ reference_scaling_inputs: {'kind': 'affine_v1', 'max_tree': {'parameters': [7000.0, 5.0, 0.30000001192092896]}, 'min_tree': {'parameters': [4500.0, 2.5, -0.30000001192092896]}, 'parametrization': 'minmax', 'space': 'canonical_input_dict_trees_v1', 'storage': {'filename': 'reference_scaling_inputs.safetensors', 'format': 'safetensors_v1', 'layout': 'split_minmax_tree_v1'}}
22
+ reference_scaling_outputs: {'kind': 'affine_v1', 'max_tree': {'flux': 1.0}, 'min_tree': {'flux': 0.0}, 'parametrization': 'minmax', 'space': 'canonical_output_dict_trees_v1', 'storage': {'filename': 'reference_scaling_outputs.safetensors', 'format': 'safetensors_v1', 'layout': 'split_minmax_tree_v1'}}
23
+ extras: ['notes', 'wavelength_angstrom']
24
+
25
+ Provenance:
26
+ toolkit_version: 0.1.0
27
+ created_at: 2026-04-17T13:11:14.921005+00:00
28
+ python_version: 3.12.13
29
+ git_commit: c786aa2f0453ba260c000411f586f943a3109976
30
+
31
+ spec:
32
+ input_domain:
33
+ kind: box_v1
34
+ max_tree:
35
+ inputs:
36
+ parameters:
37
+ - 7000.0
38
+ - 5.0
39
+ - 0.30000001192092896
40
+ min_tree:
41
+ inputs:
42
+ parameters:
43
+ - 4500.0
44
+ - 2.5
45
+ - -0.30000001192092896
46
+ space: canonical_input_dict_trees_v1
47
+ storage:
48
+ filename: input_domain.safetensors
49
+ format: safetensors_v1
50
+ layout: split_minmax_tree_v1
51
+ inputs:
52
+ channel_meanings_tree:
53
+ parameters:
54
+ - effective temperature
55
+ - surface gravity
56
+ - metallicity [Fe/H]
57
+ channel_names_tree:
58
+ parameters:
59
+ - teff
60
+ - logg
61
+ - feh
62
+ channel_units_tree:
63
+ parameters:
64
+ - K
65
+ - dex
66
+ - dex
67
+ leaf_meanings_tree:
68
+ parameters: stellar labels
69
+ leaf_units_tree: None
70
+ structure_tree:
71
+ parameters: None
72
+ outputs:
73
+ channel_meanings_tree: None
74
+ channel_names_tree: None
75
+ channel_units_tree: None
76
+ leaf_meanings_tree:
77
+ flux: continuum-normalized flux vector on the shared wavelength grid
78
+ leaf_units_tree:
79
+ flux: dimensionless
80
+ structure_tree:
81
+ flux: None
82
+ reference_scaling_inputs:
83
+ kind: affine_v1
84
+ max_tree:
85
+ parameters:
86
+ - 7000.0
87
+ - 5.0
88
+ - 0.30000001192092896
89
+ min_tree:
90
+ parameters:
91
+ - 4500.0
92
+ - 2.5
93
+ - -0.30000001192092896
94
+ parametrization: minmax
95
+ space: canonical_input_dict_trees_v1
96
+ storage:
97
+ filename: reference_scaling_inputs.safetensors
98
+ format: safetensors_v1
99
+ layout: split_minmax_tree_v1
100
+ reference_scaling_outputs:
101
+ kind: affine_v1
102
+ max_tree:
103
+ flux: 1.0
104
+ min_tree:
105
+ flux: 0.0
106
+ parametrization: minmax
107
+ space: canonical_output_dict_trees_v1
108
+ storage:
109
+ filename: reference_scaling_outputs.safetensors
110
+ format: safetensors_v1
111
+ layout: split_minmax_tree_v1
112
+ spec_version: 1
113
+
114
+ Note: this bundle is the canonical emulator artifact. Physical-space composition is external.
bundle_integrity.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "algorithm": "sha256",
3
+ "bundle_id": "sha256:681336e5d114856ea625386cfa3b5d27480a49df42dd0ff39ac8e1fc45e415ed",
4
+ "integrity_format_version": 1,
5
+ "tree": [
6
+ {
7
+ "path": "README.txt",
8
+ "sha256": "846a4ccbd1603534301a9e8a4158d0560f6d132f2846af4b2cb6c6950a283cdf"
9
+ },
10
+ {
11
+ "path": "config.json",
12
+ "sha256": "f75a262db2c158750fea3f124c5d8c8ae590797d3d63e0250b792a841d1f7b26"
13
+ },
14
+ {
15
+ "path": "extras/wavelength_angstrom.safetensors",
16
+ "sha256": "194b2e671c6995b9532cafcdeb72fbf06365dba2259611be4985836f6c617896"
17
+ },
18
+ {
19
+ "path": "fingerprint_evaluation/inputs.safetensors",
20
+ "sha256": "e411d571388dd13d2c5c9f020386c14378f2a63e63a8a28182b3ac2a45f60e60"
21
+ },
22
+ {
23
+ "path": "fingerprint_evaluation/outputs.safetensors",
24
+ "sha256": "a9555eceddf85014098c7aad0ef8052e385d008ee68582a26ba830f642d7dcc7"
25
+ },
26
+ {
27
+ "path": "input_domain.safetensors",
28
+ "sha256": "62290cabed8c655431439b63139df4d72f1f1fdc13772b1f1e306d4a5a5abade"
29
+ },
30
+ {
31
+ "path": "metadata.json",
32
+ "sha256": "b253d863e20a045a69bb8e4b9032d8e969226cfae1cea71b65dbc77ba14bd33c"
33
+ },
34
+ {
35
+ "path": "reference_scaling_inputs.safetensors",
36
+ "sha256": "2ea76cae2ecfd992e59e04361d2c15591c2f511aa8e484e7610b4536cce55444"
37
+ },
38
+ {
39
+ "path": "reference_scaling_outputs.safetensors",
40
+ "sha256": "d1441a6518c789aff00d5c53d76898cc98b7bbdbbf39e34704102e529a923313"
41
+ },
42
+ {
43
+ "path": "weights/weights.safetensors",
44
+ "sha256": "78c6b15002b7eeae2fee03c08d4dcf19f429d9742e8710c3aa013e980ae372d9"
45
+ }
46
+ ]
47
+ }
config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bundle": {
3
+ "bundle_subdir": "bundle"
4
+ },
5
+ "hub": {
6
+ "repo_id": null,
7
+ "revision": null
8
+ },
9
+ "io": {
10
+ "input_domain": null,
11
+ "inputs": {
12
+ "channel_meanings_tree": {
13
+ "parameters": [
14
+ "effective temperature",
15
+ "surface gravity",
16
+ "metallicity [Fe/H]"
17
+ ]
18
+ },
19
+ "channel_names_tree": {
20
+ "parameters": [
21
+ "teff",
22
+ "logg",
23
+ "feh"
24
+ ]
25
+ },
26
+ "channel_units_tree": {
27
+ "parameters": [
28
+ "K",
29
+ "dex",
30
+ "dex"
31
+ ]
32
+ },
33
+ "leaf_meanings_tree": {
34
+ "parameters": "stellar labels"
35
+ },
36
+ "leaf_units_tree": null,
37
+ "structure_tree": {
38
+ "parameters": null
39
+ }
40
+ },
41
+ "outputs": {
42
+ "channel_meanings_tree": null,
43
+ "channel_names_tree": null,
44
+ "channel_units_tree": null,
45
+ "leaf_meanings_tree": {
46
+ "flux": "continuum-normalized flux vector on the shared wavelength grid"
47
+ },
48
+ "leaf_units_tree": {
49
+ "flux": "dimensionless"
50
+ },
51
+ "structure_tree": {
52
+ "flux": null
53
+ }
54
+ },
55
+ "reference_scaling_inputs": null,
56
+ "reference_scaling_outputs": null
57
+ },
58
+ "model": {
59
+ "init_hints": {},
60
+ "name": "mlp",
61
+ "params": {
62
+ "activation": "gelu",
63
+ "dtype": "float32",
64
+ "hidden_sizes": [
65
+ 128,
66
+ 128
67
+ ]
68
+ }
69
+ },
70
+ "optim": {
71
+ "b1": 0.9,
72
+ "b2": 0.999,
73
+ "decay_steps": 0,
74
+ "eps": 1e-08,
75
+ "lr": 0.001,
76
+ "name": "soap",
77
+ "precondition_1d": false,
78
+ "precondition_frequency": 10,
79
+ "schedule": "cosine",
80
+ "warmup_steps": 1000,
81
+ "weight_decay": 1e-05
82
+ },
83
+ "schema_version": 1,
84
+ "seed": 0,
85
+ "solver": {
86
+ "name": "auto",
87
+ "params": {}
88
+ },
89
+ "task": {
90
+ "name": "regression",
91
+ "params": {
92
+ "loss": "mse"
93
+ }
94
+ },
95
+ "training": {
96
+ "batch_size": 128,
97
+ "checkpoint_interval_steps": 500,
98
+ "checkpoint_steps": null,
99
+ "evaluation_interval_steps": 500,
100
+ "evaluation_steps": null,
101
+ "logging_interval_steps": 50,
102
+ "logging_steps": null,
103
+ "max_saved_checkpoints": 5,
104
+ "num_steps": 10000,
105
+ "shuffle": true,
106
+ "shuffle_seed": 0,
107
+ "steps_per_epoch": null,
108
+ "val_fraction": 0.1,
109
+ "workdir": "./runs/from_bundle"
110
+ }
111
+ }
extras/wavelength_angstrom.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:194b2e671c6995b9532cafcdeb72fbf06365dba2259611be4985836f6c617896
3
+ size 4072
fingerprint_evaluation/inputs.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e411d571388dd13d2c5c9f020386c14378f2a63e63a8a28182b3ac2a45f60e60
3
+ size 92
fingerprint_evaluation/outputs.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9555eceddf85014098c7aad0ef8052e385d008ee68582a26ba830f642d7dcc7
3
+ size 2072
input_domain.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62290cabed8c655431439b63139df4d72f1f1fdc13772b1f1e306d4a5a5abade
3
+ size 208
metadata.json ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bundle_format_version": 1,
3
+ "config_schema_version": 1,
4
+ "extras": {
5
+ "notes": "Inputs are min-max scaled before training using the fixed bounds stored in this bundle. Output reference scaling metadata is recorded separately and is identity.",
6
+ "wavelength_angstrom": {
7
+ "__aet_sidecar__": {
8
+ "format": "safetensors_v1",
9
+ "layout": "single_array_v1",
10
+ "path": "extras/wavelength_angstrom.safetensors"
11
+ }
12
+ }
13
+ },
14
+ "fingerprint_evaluation": {
15
+ "atol": 1e-07,
16
+ "inputs": {
17
+ "filename": "fingerprint_evaluation/inputs.safetensors",
18
+ "format": "safetensors_v1",
19
+ "layout": "numeric_dict_tree_v1",
20
+ "space": "canonical_input_dict_trees_v1"
21
+ },
22
+ "kind": "canonical_inputs_outputs_v1",
23
+ "outputs": {
24
+ "filename": "fingerprint_evaluation/outputs.safetensors",
25
+ "format": "safetensors_v1",
26
+ "layout": "numeric_dict_tree_v1",
27
+ "space": "canonical_output_dict_trees_v1"
28
+ },
29
+ "rtol": 1e-05,
30
+ "selection_strategy": "midpoint_from_input_domain_then_reference_scaling_inputs_v1"
31
+ },
32
+ "fit_method": "gradient",
33
+ "model_family_id": "mlp_v1",
34
+ "model_init": {
35
+ "hints": {
36
+ "input_last_axis": 3,
37
+ "output_last_axis": 500
38
+ },
39
+ "representation": "model-local init hints only"
40
+ },
41
+ "provenance": {
42
+ "created_at": "2026-04-17T13:11:14.921005+00:00",
43
+ "dependencies": {
44
+ "flax": "0.12.6",
45
+ "jax": "0.9.2",
46
+ "numpy": "2.4.4",
47
+ "optax": "0.2.8"
48
+ },
49
+ "git_commit": "c786aa2f0453ba260c000411f586f943a3109976",
50
+ "platform": "macOS-26.4.1-arm64-arm-64bit",
51
+ "python_version": "3.12.13",
52
+ "toolkit": "astro_emulators_toolkit",
53
+ "toolkit_version": "0.1.0"
54
+ },
55
+ "release": {
56
+ "name": "payne-flux-reference-example",
57
+ "status": "released",
58
+ "version": "0.1.0"
59
+ },
60
+ "resolved": {
61
+ "model": {
62
+ "name": "mlp",
63
+ "params": {
64
+ "activation": "gelu",
65
+ "dtype": "float32",
66
+ "hidden_sizes": [
67
+ 128,
68
+ 128
69
+ ],
70
+ "use_bias": true
71
+ }
72
+ },
73
+ "solver": {
74
+ "name": "gradient",
75
+ "params": {}
76
+ },
77
+ "task": {
78
+ "name": "regression",
79
+ "params": {
80
+ "loss": "mse",
81
+ "loss_weights": null,
82
+ "metric_axes": null,
83
+ "metrics": [
84
+ "mse",
85
+ "mae"
86
+ ]
87
+ }
88
+ }
89
+ },
90
+ "runtime_contract": {
91
+ "affine_leaf_specs": {
92
+ "inputs/parameters": {
93
+ "last_axis": 3,
94
+ "mode": "scalar_or_last_axis"
95
+ },
96
+ "outputs/flux": {
97
+ "last_axis": 500,
98
+ "mode": "scalar_or_last_axis"
99
+ }
100
+ },
101
+ "role_paths": {
102
+ "input_leaf": "inputs/parameters",
103
+ "output_leaf": "outputs/flux"
104
+ },
105
+ "surface": "canonical_dict_trees_v1"
106
+ },
107
+ "spec": {
108
+ "input_domain": {
109
+ "kind": "box_v1",
110
+ "max_tree": {
111
+ "inputs": {
112
+ "parameters": [
113
+ 7000.0,
114
+ 5.0,
115
+ 0.30000001192092896
116
+ ]
117
+ }
118
+ },
119
+ "min_tree": {
120
+ "inputs": {
121
+ "parameters": [
122
+ 4500.0,
123
+ 2.5,
124
+ -0.30000001192092896
125
+ ]
126
+ }
127
+ },
128
+ "space": "canonical_input_dict_trees_v1",
129
+ "storage": {
130
+ "filename": "input_domain.safetensors",
131
+ "format": "safetensors_v1",
132
+ "layout": "split_minmax_tree_v1"
133
+ }
134
+ },
135
+ "inputs": {
136
+ "channel_meanings_tree": {
137
+ "parameters": [
138
+ "effective temperature",
139
+ "surface gravity",
140
+ "metallicity [Fe/H]"
141
+ ]
142
+ },
143
+ "channel_names_tree": {
144
+ "parameters": [
145
+ "teff",
146
+ "logg",
147
+ "feh"
148
+ ]
149
+ },
150
+ "channel_units_tree": {
151
+ "parameters": [
152
+ "K",
153
+ "dex",
154
+ "dex"
155
+ ]
156
+ },
157
+ "leaf_meanings_tree": {
158
+ "parameters": "stellar labels"
159
+ },
160
+ "leaf_units_tree": null,
161
+ "structure_tree": {
162
+ "parameters": null
163
+ }
164
+ },
165
+ "outputs": {
166
+ "channel_meanings_tree": null,
167
+ "channel_names_tree": null,
168
+ "channel_units_tree": null,
169
+ "leaf_meanings_tree": {
170
+ "flux": "continuum-normalized flux vector on the shared wavelength grid"
171
+ },
172
+ "leaf_units_tree": {
173
+ "flux": "dimensionless"
174
+ },
175
+ "structure_tree": {
176
+ "flux": null
177
+ }
178
+ },
179
+ "reference_scaling_inputs": {
180
+ "kind": "affine_v1",
181
+ "max_tree": {
182
+ "parameters": [
183
+ 7000.0,
184
+ 5.0,
185
+ 0.30000001192092896
186
+ ]
187
+ },
188
+ "min_tree": {
189
+ "parameters": [
190
+ 4500.0,
191
+ 2.5,
192
+ -0.30000001192092896
193
+ ]
194
+ },
195
+ "parametrization": "minmax",
196
+ "space": "canonical_input_dict_trees_v1",
197
+ "storage": {
198
+ "filename": "reference_scaling_inputs.safetensors",
199
+ "format": "safetensors_v1",
200
+ "layout": "split_minmax_tree_v1"
201
+ }
202
+ },
203
+ "reference_scaling_outputs": {
204
+ "kind": "affine_v1",
205
+ "max_tree": {
206
+ "flux": 1.0
207
+ },
208
+ "min_tree": {
209
+ "flux": 0.0
210
+ },
211
+ "parametrization": "minmax",
212
+ "space": "canonical_output_dict_trees_v1",
213
+ "storage": {
214
+ "filename": "reference_scaling_outputs.safetensors",
215
+ "format": "safetensors_v1",
216
+ "layout": "split_minmax_tree_v1"
217
+ }
218
+ },
219
+ "spec_version": 1
220
+ },
221
+ "weights_layout": "params_plus_model_state_v1"
222
+ }
reference_scaling_inputs.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ea76cae2ecfd992e59e04361d2c15591c2f511aa8e484e7610b4536cce55444
3
+ size 192
reference_scaling_outputs.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1441a6518c789aff00d5c53d76898cc98b7bbdbbf39e34704102e529a923313
3
+ size 144
weights/weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78c6b15002b7eeae2fee03c08d4dcf19f429d9742e8710c3aa013e980ae372d9
3
+ size 326784