BlockArtica commited on
Commit
2dcc491
·
verified ·
1 Parent(s): 2ee5e39

v6.2 release: cosine LR fine-tune of v6.1, mean loss 10.18 → 8.43 (-17%)

Browse files
Files changed (5) hide show
  1. README.md +152 -0
  2. config.json +36 -0
  3. model.safetensors +3 -0
  4. tokenizer.json +0 -0
  5. tokenizer_config.json +207 -0
README.md ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-0.5B-Instruct
3
+ library_name: safetensors
4
+ license: apache-2.0
5
+ tags:
6
+ - qubitcoin
7
+ - aether
8
+ - blockchain
9
+ - quantum
10
+ - native-rust
11
+ - candle
12
+ - long-context
13
+ - cosine-schedule
14
+ - resume-fine-tune
15
+ language:
16
+ - en
17
+ pipeline_tag: text-generation
18
+ ---
19
+
20
+ # Aether Mind v6.2 — cosine-decay fine-tune of v6.1
21
+
22
+ V6.2 picks up where [v6.1](https://huggingface.co/QuantumAI-Blockchain/aether-mind-v6.1)
23
+ plateaued. Same architecture, same 256-token context, same Aether
24
+ curated corpus — but trained for **another 30,000 steps under a
25
+ cosine LR decay (2e-5 → 2e-7)** to push the student past its
26
+ fine-tune plateau without overshooting.
27
+
28
+ This is the third native (non-LoRA) Aether release and the first to
29
+ use a learning-rate schedule beyond constant. The cosine flag landed
30
+ in commit
31
+ [`186b2622`](https://github.com/QuantumAI-Blockchain/qubitcoin-aether/commit/186b2622).
32
+
33
+ ## What you're getting
34
+
35
+ | Field | Value |
36
+ |---|---|
37
+ | Base model | `Qwen/Qwen2.5-0.5B-Instruct` (initialised from), then v6.1 fine-tune resumed here |
38
+ | Architecture | V6 transformer: 24 layers, 896 hidden, 14 attention heads (10 Sephirot + 2 generalist + 2 sink), head_dim=64 |
39
+ | Trainable params | ~558 M (all weights, no LoRA) |
40
+ | Training mode | **Pure cross-entropy** (no distillation — same as v6.1) |
41
+ | Training context | **256 tokens** (same as v6.1) |
42
+ | LR schedule | **Cosine decay 2e-5 → 2e-7** over 30,000 fine-tune steps |
43
+ | Precision | BF16 weights, F32 KL/CE math internally |
44
+ | NSA config | compression_block=64, top_k=2048, sliding_window=512, sink_tokens=4 |
45
+ | Vocab | 151,936 (Qwen2.5 tokenizer, untouched) |
46
+ | Max position | 32,768 (RoPE theta = 1e6) |
47
+ | Total training | **60,000 steps** (30K v6.1 + 30K v6.2) |
48
+ | File | `model.safetensors` (1.32 GB, BF16) |
49
+ | License | Apache-2.0 (matches base) |
50
+
51
+ ## Training run
52
+
53
+ | Metric | v6.1 | **v6.2** | Δ |
54
+ |---|---|---|---|
55
+ | Steps (this run) | 30,000 | 30,000 | = |
56
+ | Total steps | 30,000 | **60,000** | +30K |
57
+ | Wall-clock (this run) | 44.4 min | **44.9 min** | +0.5 min |
58
+ | Mean CE loss (this run) | 10.18 | **8.43** | **−17 %** |
59
+ | Throughput | 629.9 tok/s | 622.9 tok/s | flat |
60
+ | Mean Sephirot aux | 0.149 | **0.140** | −6 % |
61
+ | LR schedule | constant 2e-5 | **cosine 2e-5 → 2e-7** | new |
62
+ | NaN events | 0 | 0 | = |
63
+ | Resume base | random init (Qwen) | v6.1 final | new |
64
+
65
+ ### Loss trajectory
66
+
67
+ ```
68
+ step 1 loss=13.00 avg=13.00 (v6.1 final state)
69
+ step 100 loss=12.00 avg=11.78
70
+ step 1000 loss= 7.75 avg= 8.82 ← LR still high, big descent through v6.1's plateau
71
+ step 5000 loss= 7.25 avg= 7.71
72
+ step 10000 loss= 6.69 avg= 7.41 ← minimum running average
73
+ step 15000 loss= 9.56 avg= 7.51 ← cosine kicks in, per-step variance ↑, drift ↓
74
+ step 20000 loss= 8.94 avg= 7.92
75
+ step 25000 loss= 8.75 avg= 8.22
76
+ step 29999 loss= 9.31 avg= 8.43
77
+ ```
78
+
79
+ The reported mean (8.43) is the run-wide average. The lowest observed
80
+ running average (7.41 at step 10K) is the actual fine-tune minimum;
81
+ the back-half drift is the cosine schedule reducing step size to near
82
+ zero, which makes per-step variance dominate the running average.
83
+ This is the expected shape of a converged cosine fine-tune.
84
+
85
+ ## What changed vs v6.1
86
+
87
+ 1. **Cosine LR decay**. Constant LR at 2e-5 in v6.1 caused a plateau
88
+ from step ~10K onward — the optimiser kept bouncing around the
89
+ loss minimum it could see at that step size. Cosine decay to
90
+ 2e-7 lets later steps take much smaller updates, fine-tuning past
91
+ the plateau.
92
+
93
+ 2. **Resume from v6.1** rather than fresh init. The model starts at
94
+ v6.1's final state and refines from there.
95
+
96
+ 3. **Otherwise identical to v6.1**: same architecture, same corpus,
97
+ same context, same NSA config, same Sephirot aux. The single
98
+ variable changed is the LR schedule.
99
+
100
+ ## How to use
101
+
102
+ ### Native runtime (recommended) — Rust `aether-mind`
103
+
104
+ Set `AETHER_V6_CHECKPOINT` to the local path of `model.safetensors`,
105
+ restart `qbc-aether-mind.service`.
106
+
107
+ ### Python
108
+
109
+ ```python
110
+ from safetensors.torch import load_file
111
+ weights = load_file("model.safetensors")
112
+ print("params:", sum(t.numel() for t in weights.values()))
113
+ ```
114
+
115
+ Same architecture as v6.1, so any custom loader/wrapper for v6.1
116
+ works here.
117
+
118
+ ## Evaluation
119
+
120
+ (lm-evaluation-harness numbers to follow once the eval binary
121
+ ships. For now: training-loss curve + sample generations are the
122
+ primary signal.)
123
+
124
+ ## Open items for v6.3
125
+
126
+ - **Per-chunk backward** for distillation at ctx ≥ 256, so we can
127
+ add KL teacher signal back without OOMing.
128
+ - **Long-context curriculum** (1K, 4K, 16K → 1M) per the V6 master
129
+ spec.
130
+ - **lm-evaluation-harness pass** (MMLU / ARC / HellaSwag /
131
+ TruthfulQA) for honest published numbers.
132
+
133
+ ## License + citation
134
+
135
+ Apache-2.0 (matches the base model license).
136
+
137
+ ```bibtex
138
+ @misc{aether_mind_v62_2026,
139
+ title = {Aether Mind v6.2 --- cosine-decay fine-tune of v6.1},
140
+ author = {{BlockArtica} and {QuantumAI-Blockchain}},
141
+ year = {2026},
142
+ url = {https://huggingface.co/QuantumAI-Blockchain/aether-mind-v6.2},
143
+ }
144
+ ```
145
+
146
+ ## Links
147
+
148
+ - **Aether Mind v6.1** — [https://huggingface.co/QuantumAI-Blockchain/aether-mind-v6.1](https://huggingface.co/QuantumAI-Blockchain/aether-mind-v6.1)
149
+ - **Aether Mind v6.0** — [https://huggingface.co/QuantumAI-Blockchain/aether-mind-v6.0](https://huggingface.co/QuantumAI-Blockchain/aether-mind-v6.0)
150
+ - **Aether v5.2-lora** — [https://huggingface.co/QuantumAI-Blockchain/aether-v5.2-lora](https://huggingface.co/QuantumAI-Blockchain/aether-v5.2-lora)
151
+ - **QuantumAI Blockchain** — [qbc.network](https://qbc.network)
152
+ - **GitHub** — [github.com/QuantumAI-Blockchain](https://github.com/QuantumAI-Blockchain)
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "num_layers": 24,
3
+ "hidden_size": 896,
4
+ "num_attention_heads": 14,
5
+ "num_sephirot_heads": 10,
6
+ "num_generalist_heads": 2,
7
+ "num_sink_heads": 2,
8
+ "head_dim": 64,
9
+ "intermediate_size": 4864,
10
+ "vocab_size": 151936,
11
+ "max_position_embeddings": 32768,
12
+ "rope_theta": 1000000.0,
13
+ "rms_norm_eps": 1e-6,
14
+ "bos_token_id": 151643,
15
+ "eos_token_id": 151645,
16
+ "pad_token_id": 151643,
17
+ "nsa": {
18
+ "compression_block_size": 64,
19
+ "selected_top_k": 2048,
20
+ "sliding_window_size": 512,
21
+ "num_sink_tokens": 4,
22
+ "sephirot_top_k": 256
23
+ },
24
+ "eviction_order": [
25
+ "Malkuth",
26
+ "Yesod",
27
+ "Hod",
28
+ "Netzach",
29
+ "Gevurah",
30
+ "Chesed",
31
+ "Binah",
32
+ "Chochmah",
33
+ "Tiferet",
34
+ "Keter"
35
+ ]
36
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9ee05ec188ef9d3b03efa048786a6a3f2377dcf2296adf48fc9aadd28e01f31
3
+ size 1326423416
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
199
+ "clean_up_tokenization_spaces": false,
200
+ "eos_token": "<|im_end|>",
201
+ "errors": "replace",
202
+ "model_max_length": 131072,
203
+ "pad_token": "<|endoftext|>",
204
+ "split_special_tokens": false,
205
+ "tokenizer_class": "Qwen2Tokenizer",
206
+ "unk_token": null
207
+ }