RozanskiT commited on
Commit
71266d1
·
verified ·
1 Parent(s): 37486a9

Upload 10 files

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