peercy commited on
Commit
a811f30
·
verified ·
1 Parent(s): c8b133a

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. artifacts/v2/compressor-structure_20260923/plan/20260923_compressor_structure_experiment.md +48 -0
  2. artifacts/v2/compressor-structure_20260923/plan/gpu-expansion_20260924.json +185 -0
  3. artifacts/v2/compressor-structure_20260923/plan/policies-tests.log +8 -0
  4. artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_spectral_ae-lm-warmup_20260923/experiment.json +25 -0
  5. artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_spectral_ae-lm-warmup_20260923/model.json +16 -0
  6. artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_spectral_ae-lm-warmup_20260923/selection.json +3 -0
  7. artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-static_20260923/experiment.json +26 -0
  8. artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-static_20260923/model.json +16 -0
  9. artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-static_20260923/selection.json +3 -0
  10. artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-warmup_20260923/experiment.json +25 -0
  11. artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-warmup_20260923/model.json +16 -0
  12. artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-warmup_20260923/selection.json +3 -0
  13. artifacts/v2/compressor-structure_20260923/plan/smoke-verification.json +116 -0
  14. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923-command.json +30 -0
  15. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923.log +26 -0
  16. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/data-filtering.json +21 -0
  17. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/data-summary.json +63 -0
  18. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/epoch-plan.json +41 -0
  19. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/provenance.json +18 -0
  20. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/run.json +232 -0
  21. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/tokenizer/added_tokens.json +28 -0
  22. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/tokenizer/chat_template.jinja +61 -0
  23. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/tokenizer/merges.txt +0 -0
  24. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/tokenizer/special_tokens_map.json +31 -0
  25. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/tokenizer/tokenizer_config.json +239 -0
  26. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/tokenizer/vocab.json +0 -0
  27. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/train.jsonl +2 -0
  28. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/training-result.json +9 -0
  29. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923-command.json +30 -0
  30. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923.log +26 -0
  31. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/data-filtering.json +21 -0
  32. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/data-summary.json +63 -0
  33. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/epoch-plan.json +41 -0
  34. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/provenance.json +18 -0
  35. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/run.json +232 -0
  36. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/tokenizer/added_tokens.json +28 -0
  37. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/tokenizer/chat_template.jinja +61 -0
  38. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/tokenizer/merges.txt +0 -0
  39. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/tokenizer/special_tokens_map.json +31 -0
  40. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/tokenizer/tokenizer_config.json +239 -0
  41. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/tokenizer/vocab.json +0 -0
  42. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/train.jsonl +2 -0
  43. artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/training-result.json +9 -0
  44. artifacts/v2/compressor-structure_20260923/plan/startup-verification.json +201 -0
  45. artifacts/v2/compressor-structure_20260923/plan/tests.log +9 -0
  46. artifacts/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923/swanlab/run-20260924_032204-7wtghxu5/debug/debug.log +1 -0
  47. artifacts/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923/swanlab/run-20260924_032204-7wtghxu5/files/config.yaml +225 -0
  48. artifacts/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923/swanlab/run-20260924_032204-7wtghxu5/files/requirements.txt +157 -0
  49. artifacts/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923/swanlab/run-20260924_032204-7wtghxu5/files/swanlab-metadata.json +1 -0
  50. artifacts/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923/swanlab/run-20260924_032204-7wtghxu5/media/echarts/2999-d30dd303.json +178 -0
artifacts/v2/compressor-structure_20260923/plan/20260923_compressor_structure_experiment.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 20260923_压缩器结构 B/F 对照实验
2
+
3
+ 创建时间:20260923 10:33:01 UTC+08:00
4
+ 最后修订时间:20260923 10:48:59 UTC+08:00
5
+
6
+ ## 设置
7
+
8
+ 复用已有 mean(pooling)B/F 结果,新增 weighted、spectral 各两组。四份配置只改变对应 mean 配置的 compression,其余字段保持一致。
9
+
10
+ - B:AE+LM,单次 warm-up 1 epoch+递归更新 2 epochs。
11
+ - F:AE+LM,独立前缀压缩 3 epochs。同一轨迹各终点分别从原文压缩,按位置平均 loss。
12
+ - K=512,LM 目标 512,seed=42,学习率 1e-4,global batch=32,每卡 microbatch=8,双卡梯度累积 2,encoder/decoder token 预算 32768/36928。B 沿用原每 1000 steps 验证,F 每 epoch 验证 4 次。
13
+ - 两组均评估递归与独立前缀路径,训练和最终评估记录在同一个 SwanLab run。新增压缩器参数在三个训练阶段均参与优化。
14
+
15
+ weighted:连续组内共享打分器 Linear(d,64) → GELU → Linear(64,1,bias=False),组内 softmax 后加权求和;仅最后一层权重置零,初始等价于 mean。第一步输出层得到梯度,随后隐藏层得到梯度。瓶颈宽度固定在实现中为 64,本轮不增加宽度搜索。
16
+
17
+ spectral:前后两个 d→256→d 残差 MLP,中间沿位置轴执行固定 Fourier 低通重采样;MLP 与 LayerNorm 可训练,频率截断规则固定。
18
+
19
+ ## 运行组织
20
+
21
+ project:latent-working-memory-v2;group:qwen3-4b_compressor-structure_20260923;job_type:train;study:reconstruction;method 标签由压缩器自动生成。
22
+
23
+ | 结构 | 组别 | Run 名称 |
24
+ |---|---|---|
25
+ | weighted | B | qwen3-4b_weighted_ae-lm-warmup_20260923 |
26
+ | weighted | F | qwen3-4b_weighted_ae-lm-static_20260923 |
27
+ | spectral | B | qwen3-4b_spectral_ae-lm-warmup_20260923 |
28
+ | spectral | F | qwen3-4b_spectral_ae-lm-static_20260923 |
29
+
30
+ 物理 GPU 限定 4–7,按 4/5、6/7 双卡调度。保留正在 4/5 上运行的旧 E;空闲双卡先执行新 F,随后接续剩余运行。新实验均从基座初始化,不加载 mean checkpoint。
31
+
32
+ 新系列的规范入口仍为 artifacts/v2/compressor-structure_20260923/。旧服务器产物目录实际位于系统盘,仅剩约 41 GiB,无法容纳四组完整 checkpoint;本系列实际存储于 /data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/(数据盘初始空闲约 333 GiB),原目录保留软链接。未移动、删除旧实验产物。
33
+
34
+ ## 验证与启动
35
+
36
+ 实现提交 a2f2969,追加完整策略测试后为 45fe297,均通过 GitHub 同步到服务器主仓库;已有未提交修改保留。Ruff 通过,四份配置与对应 mean 配置逐字段比较通过。服务器原测试集合 99 项通过,新增四种结构/训练策略的完整链路测试 4 项通过,共 103 项;覆盖各阶段新增参数真实更新、checkpoint、CUDA BF16 varlen、递归反向传播、双卡与最终双路径评估。
37
+
38
+ d=2560 时,weighted 压缩器新增 163968 个参数,spectral 新增 2637312 个参数。
39
+
40
+ 真实 Qwen3-4B、正式 F 配置、GPU 6/7 的各两步短跑均正常退出,loss、梯度、checkpoint 参数有限,weighted 输出层已从零更新。第一步各有 AE 21 条、LM 11 条,监督 tokens 分别 153882/23598,与原 F 配对;第二步各 16/16 条,监督 tokens 93782/33858。weighted 峰值 allocated 58.48 GiB,spectral 58.67 GiB。短跑关闭 SwanLab,存放在 plan/smoke/,正式运行仍从基座开始。
41
+
42
+ 正式队列 tmux 为 lwm-v2-compressors-20260923,scheduler PID 1971762;weighted F 首先在 6/7 启动,torchrun PID 1971841。队列顺序为 weighted F、spectral F、weighted B、spectral B;4/5 待旧 E 退出后加入调度。四组均为 3000 steps,最终评估追加到训练 run。
43
+
44
+ 配置快照、启动命令和验证记录:artifacts/v2/compressor-structure_20260923/plan/、launch.json、plan/smoke-verification.json。
45
+
46
+ weighted F 的正式 SwanLab run 为 [a7nrdamp](https://swanlab.cn/@percyWeeeeei/latent-working-memory-v2/runs/a7nrdamp),日志确认名称为 qwen3-4b_weighted_ae-lm-static_20260923。其余运行在实际获得 GPU 并初始化时创建各自 run。
47
+
48
+ 正式 weighted F 已完成 2 次 optimizer 更新,loss 为 9.5929、9.5261,梯度有限,峰值 allocated 58.48 GiB;首两批样本及监督计数与短跑一致。启动核验保存在 plan/startup-verification.json。
artifacts/v2/compressor-structure_20260923/plan/gpu-expansion_20260924.json ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "previous_status": {
3
+ "group": "qwen3-4b_compressor-structure_20260923",
4
+ "gpu_pairs": [
5
+ [
6
+ 4,
7
+ 5
8
+ ],
9
+ [
10
+ 6,
11
+ 7
12
+ ]
13
+ ],
14
+ "runs": [
15
+ {
16
+ "name": "qwen3-4b_weighted_ae-lm-static_20260923",
17
+ "source_experiment": "/data/bywei/projects/latent_working_memory/configs/v2/pretrain/qwen3-4b_weighted_ae-lm-static/experiment.json",
18
+ "command": [
19
+ "/data/bywei/projects/latent_working_memory/.venv/bin/python",
20
+ "-u",
21
+ "-m",
22
+ "torch.distributed.run",
23
+ "--standalone",
24
+ "--nproc_per_node=2",
25
+ "-m",
26
+ "latent_working_memory.v2.pretrain.train",
27
+ "--experiment",
28
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-static_20260923/experiment.json",
29
+ "--output-dir",
30
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-static_20260923",
31
+ "--swanlab-project",
32
+ "latent-working-memory-v2",
33
+ "--swanlab-mode",
34
+ "online",
35
+ "--swanlab-group",
36
+ "qwen3-4b_compressor-structure_20260923",
37
+ "--swanlab-tag",
38
+ "study:reconstruction"
39
+ ],
40
+ "output": "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-static_20260923",
41
+ "state": "running",
42
+ "gpus": [
43
+ 6,
44
+ 7
45
+ ],
46
+ "pid": 1971841,
47
+ "log": "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/qwen3-4b_weighted_ae-lm-static_20260923.log",
48
+ "started_at": "2026-09-23T02:44:22.368755+00:00"
49
+ },
50
+ {
51
+ "name": "qwen3-4b_spectral_ae-lm-static_20260923",
52
+ "source_experiment": "/data/bywei/projects/latent_working_memory/configs/v2/pretrain/qwen3-4b_spectral_ae-lm-static/experiment.json",
53
+ "command": [
54
+ "/data/bywei/projects/latent_working_memory/.venv/bin/python",
55
+ "-u",
56
+ "-m",
57
+ "torch.distributed.run",
58
+ "--standalone",
59
+ "--nproc_per_node=2",
60
+ "-m",
61
+ "latent_working_memory.v2.pretrain.train",
62
+ "--experiment",
63
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/qwen3-4b_spectral_ae-lm-static_20260923/experiment.json",
64
+ "--output-dir",
65
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_spectral_ae-lm-static_20260923",
66
+ "--swanlab-project",
67
+ "latent-working-memory-v2",
68
+ "--swanlab-mode",
69
+ "online",
70
+ "--swanlab-group",
71
+ "qwen3-4b_compressor-structure_20260923",
72
+ "--swanlab-tag",
73
+ "study:reconstruction"
74
+ ],
75
+ "output": "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_spectral_ae-lm-static_20260923",
76
+ "state": "running",
77
+ "gpus": [
78
+ 4,
79
+ 5
80
+ ],
81
+ "pid": 2025804,
82
+ "log": "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/qwen3-4b_spectral_ae-lm-static_20260923.log",
83
+ "started_at": "2026-09-23T06:30:11.564258+00:00"
84
+ },
85
+ {
86
+ "name": "qwen3-4b_weighted_ae-lm-warmup_20260923",
87
+ "source_experiment": "/data/bywei/projects/latent_working_memory/configs/v2/pretrain/qwen3-4b_weighted_ae-lm-warmup/experiment.json",
88
+ "command": [
89
+ "/data/bywei/projects/latent_working_memory/.venv/bin/python",
90
+ "-u",
91
+ "-m",
92
+ "torch.distributed.run",
93
+ "--standalone",
94
+ "--nproc_per_node=2",
95
+ "-m",
96
+ "latent_working_memory.v2.pretrain.train",
97
+ "--experiment",
98
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-warmup_20260923/experiment.json",
99
+ "--output-dir",
100
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923",
101
+ "--swanlab-project",
102
+ "latent-working-memory-v2",
103
+ "--swanlab-mode",
104
+ "online",
105
+ "--swanlab-group",
106
+ "qwen3-4b_compressor-structure_20260923",
107
+ "--swanlab-tag",
108
+ "study:reconstruction"
109
+ ],
110
+ "output": "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923",
111
+ "state": "queued"
112
+ },
113
+ {
114
+ "name": "qwen3-4b_spectral_ae-lm-warmup_20260923",
115
+ "source_experiment": "/data/bywei/projects/latent_working_memory/configs/v2/pretrain/qwen3-4b_spectral_ae-lm-warmup/experiment.json",
116
+ "command": [
117
+ "/data/bywei/projects/latent_working_memory/.venv/bin/python",
118
+ "-u",
119
+ "-m",
120
+ "torch.distributed.run",
121
+ "--standalone",
122
+ "--nproc_per_node=2",
123
+ "-m",
124
+ "latent_working_memory.v2.pretrain.train",
125
+ "--experiment",
126
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/qwen3-4b_spectral_ae-lm-warmup_20260923/experiment.json",
127
+ "--output-dir",
128
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_spectral_ae-lm-warmup_20260923",
129
+ "--swanlab-project",
130
+ "latent-working-memory-v2",
131
+ "--swanlab-mode",
132
+ "online",
133
+ "--swanlab-group",
134
+ "qwen3-4b_compressor-structure_20260923",
135
+ "--swanlab-tag",
136
+ "study:reconstruction"
137
+ ],
138
+ "output": "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_spectral_ae-lm-warmup_20260923",
139
+ "state": "queued"
140
+ }
141
+ ],
142
+ "scheduler_pid": 1971762,
143
+ "state": "running",
144
+ "updated_at": "2026-09-24T03:17:06.840057+00:00"
145
+ },
146
+ "command": [
147
+ "/data/bywei/projects/latent_working_memory/.venv/bin/python",
148
+ "-u",
149
+ "-m",
150
+ "latent_working_memory.v2.pretrain.experiment",
151
+ "--experiments",
152
+ "/data/bywei/projects/latent_working_memory/configs/v2/pretrain/qwen3-4b_weighted_ae-lm-static/experiment.json",
153
+ "/data/bywei/projects/latent_working_memory/configs/v2/pretrain/qwen3-4b_spectral_ae-lm-static/experiment.json",
154
+ "/data/bywei/projects/latent_working_memory/configs/v2/pretrain/qwen3-4b_weighted_ae-lm-warmup/experiment.json",
155
+ "/data/bywei/projects/latent_working_memory/configs/v2/pretrain/qwen3-4b_spectral_ae-lm-warmup/experiment.json",
156
+ "--output-dir",
157
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923",
158
+ "--model-path",
159
+ "/data/bywei/models/Qwen/Qwen3-4B-Instruct-2507",
160
+ "--gpus",
161
+ "0,1,2,3,4,5,6,7",
162
+ "--group",
163
+ "qwen3-4b_compressor-structure_20260923",
164
+ "--run-date",
165
+ "20260923",
166
+ "--resume",
167
+ "--adopt-running",
168
+ "--min-free-gib",
169
+ "74"
170
+ ],
171
+ "cwd": "/data/bywei/projects/latent_working_memory",
172
+ "git_commit": "c6b2447ffd3cf69d6c46cd5d95169fda53464d68",
173
+ "tmux": "lwm-v2-compressors-all-20260924",
174
+ "created_at": "2026-09-24T03:17:11.581190+00:00",
175
+ "free_gib": {
176
+ "0": 74.970703125,
177
+ "1": 74.970703125,
178
+ "2": 74.970703125,
179
+ "3": 74.970703125,
180
+ "4": 7.18359375,
181
+ "5": 8.072265625,
182
+ "6": 7.826171875,
183
+ "7": 8.748046875
184
+ }
185
+ }
artifacts/v2/compressor-structure_20260923/plan/policies-tests.log ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ .... [100%]
2
+ =============================== warnings summary ===============================
3
+ .venv/lib/python3.11/site-packages/verl/workers/engine/mindspeed/transformer_impl.py:24
4
+ /data/bywei/projects/latent_working_memory/.venv/lib/python3.11/site-packages/verl/workers/engine/mindspeed/transformer_impl.py:24: UserWarning: NPU not support router replay for now.
5
+ from verl.utils.megatron.router_replay_patch import RouterReplay
6
+
7
+ -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
8
+ 4 passed, 24 deselected, 1 warning in 53.69s
artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_spectral_ae-lm-warmup_20260923/experiment.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "model.json",
3
+ "selection": "selection.json",
4
+ "training": {
5
+ "objective": "ae_lm",
6
+ "warmup_epochs": 1,
7
+ "multiround_epochs": 2,
8
+ "independent_prefix_epochs": 0,
9
+ "global_batch_size": 32,
10
+ "micro_batch_size": 8,
11
+ "micro_batch_encoder_tokens": 32768,
12
+ "micro_batch_decoder_tokens": 36928,
13
+ "learning_rate": 0.0001,
14
+ "weight_decay": 0.01,
15
+ "gradient_clip": 1.0,
16
+ "lm_ratio": 0.5,
17
+ "seed": 42,
18
+ "save_every": 1000,
19
+ "checkpoint_limit": 2,
20
+ "eval_every": 1000,
21
+ "generation_samples": 8,
22
+ "ae_prompt": "Reconstruct the text stored in memory:\n",
23
+ "lm_prompt": "Continue the text stored in memory:\n"
24
+ }
25
+ }
artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_spectral_ae-lm-warmup_20260923/model.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name_or_path": "/data/bywei/models/Qwen/Qwen3-4B-Instruct-2507",
3
+ "revision": null,
4
+ "encoder_layers": null,
5
+ "alignment_layers": 1,
6
+ "lora_rank": 128,
7
+ "lora_alpha": 32,
8
+ "lora_dropout": 0.0,
9
+ "attention_implementation": "sdpa",
10
+ "compression": "spectral",
11
+ "feature_layer": "last",
12
+ "spectral_bottleneck": 256,
13
+ "gradient_checkpointing": true,
14
+ "lm_head_chunk_size": 256,
15
+ "padding_free": true
16
+ }
artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_spectral_ae-lm-warmup_20260923/selection.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "dataset_dir": "/data/bywei/projects/latent_working_memory/data/fineweb-reconstruction-k512-doc100k_20260917"
3
+ }
artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-static_20260923/experiment.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "model.json",
3
+ "selection": "selection.json",
4
+ "training": {
5
+ "objective": "ae_lm",
6
+ "warmup_epochs": 0,
7
+ "multiround_epochs": 0,
8
+ "independent_prefix_epochs": 3,
9
+ "global_batch_size": 32,
10
+ "micro_batch_size": 8,
11
+ "micro_batch_encoder_tokens": 32768,
12
+ "micro_batch_decoder_tokens": 36928,
13
+ "learning_rate": 0.0001,
14
+ "weight_decay": 0.01,
15
+ "gradient_clip": 1.0,
16
+ "lm_ratio": 0.5,
17
+ "seed": 42,
18
+ "save_every": 1000,
19
+ "checkpoint_limit": 2,
20
+ "eval_every": null,
21
+ "evals_per_epoch": 4,
22
+ "generation_samples": 8,
23
+ "ae_prompt": "Reconstruct the text stored in memory:\n",
24
+ "lm_prompt": "Continue the text stored in memory:\n"
25
+ }
26
+ }
artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-static_20260923/model.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name_or_path": "/data/bywei/models/Qwen/Qwen3-4B-Instruct-2507",
3
+ "revision": null,
4
+ "encoder_layers": null,
5
+ "alignment_layers": 1,
6
+ "lora_rank": 128,
7
+ "lora_alpha": 32,
8
+ "lora_dropout": 0.0,
9
+ "attention_implementation": "sdpa",
10
+ "compression": "weighted",
11
+ "feature_layer": "last",
12
+ "spectral_bottleneck": 256,
13
+ "gradient_checkpointing": true,
14
+ "lm_head_chunk_size": 256,
15
+ "padding_free": true
16
+ }
artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-static_20260923/selection.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "dataset_dir": "/data/bywei/projects/latent_working_memory/data/fineweb-reconstruction-k512-doc100k_20260917"
3
+ }
artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-warmup_20260923/experiment.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "model.json",
3
+ "selection": "selection.json",
4
+ "training": {
5
+ "objective": "ae_lm",
6
+ "warmup_epochs": 1,
7
+ "multiround_epochs": 2,
8
+ "independent_prefix_epochs": 0,
9
+ "global_batch_size": 32,
10
+ "micro_batch_size": 8,
11
+ "micro_batch_encoder_tokens": 32768,
12
+ "micro_batch_decoder_tokens": 36928,
13
+ "learning_rate": 0.0001,
14
+ "weight_decay": 0.01,
15
+ "gradient_clip": 1.0,
16
+ "lm_ratio": 0.5,
17
+ "seed": 42,
18
+ "save_every": 1000,
19
+ "checkpoint_limit": 2,
20
+ "eval_every": 1000,
21
+ "generation_samples": 8,
22
+ "ae_prompt": "Reconstruct the text stored in memory:\n",
23
+ "lm_prompt": "Continue the text stored in memory:\n"
24
+ }
25
+ }
artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-warmup_20260923/model.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name_or_path": "/data/bywei/models/Qwen/Qwen3-4B-Instruct-2507",
3
+ "revision": null,
4
+ "encoder_layers": null,
5
+ "alignment_layers": 1,
6
+ "lora_rank": 128,
7
+ "lora_alpha": 32,
8
+ "lora_dropout": 0.0,
9
+ "attention_implementation": "sdpa",
10
+ "compression": "weighted",
11
+ "feature_layer": "last",
12
+ "spectral_bottleneck": 256,
13
+ "gradient_checkpointing": true,
14
+ "lm_head_chunk_size": 256,
15
+ "padding_free": true
16
+ }
artifacts/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-warmup_20260923/selection.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "dataset_dir": "/data/bywei/projects/latent_working_memory/data/fineweb-reconstruction-k512-doc100k_20260917"
3
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke-verification.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "git_commit": "45fe297b116357e33f4ae034a3a4a976b1b01f8d",
3
+ "tests_passed": 103,
4
+ "gpus": [
5
+ 6,
6
+ 7
7
+ ],
8
+ "runs": [
9
+ {
10
+ "name": "qwen3-4b_weighted_ae-lm-static_20260923",
11
+ "steps": [
12
+ {
13
+ "step": 1,
14
+ "stage": "independent_prefix",
15
+ "epoch": 1,
16
+ "global_epoch": 1,
17
+ "loss": 9.592894613742828,
18
+ "ae": 9.49606597537086,
19
+ "ae_samples": 21,
20
+ "ae_tokens": 153882,
21
+ "lm": 9.777748704679084,
22
+ "lm_samples": 11,
23
+ "lm_tokens": 23598,
24
+ "samples": 32,
25
+ "microbatches": 4,
26
+ "max_microbatch_size": 8,
27
+ "mean_active_microbatch_size": 6.75,
28
+ "batched_samples": 32,
29
+ "source_tokens": 90848,
30
+ "target_tokens": 177480,
31
+ "grad_norm": 2.427708148956299,
32
+ "seconds": 52.97523378697224,
33
+ "peak_memory_bytes": 62790014976
34
+ },
35
+ {
36
+ "step": 2,
37
+ "stage": "independent_prefix",
38
+ "epoch": 1,
39
+ "global_epoch": 1,
40
+ "loss": 9.530107498168945,
41
+ "ae": 9.697963373859722,
42
+ "ae_samples": 16,
43
+ "ae_tokens": 93782,
44
+ "lm": 9.362251124779384,
45
+ "lm_samples": 16,
46
+ "lm_tokens": 33858,
47
+ "samples": 32,
48
+ "microbatches": 4,
49
+ "max_microbatch_size": 8,
50
+ "mean_active_microbatch_size": 6.4,
51
+ "batched_samples": 32,
52
+ "source_tokens": 78767,
53
+ "target_tokens": 127640,
54
+ "grad_norm": 2.2894504070281982,
55
+ "seconds": 41.040178007038776,
56
+ "peak_memory_bytes": 62790014976
57
+ }
58
+ ],
59
+ "compression_parameters": 163968,
60
+ "checkpoint_verified": true
61
+ },
62
+ {
63
+ "name": "qwen3-4b_spectral_ae-lm-static_20260923",
64
+ "steps": [
65
+ {
66
+ "step": 1,
67
+ "stage": "independent_prefix",
68
+ "epoch": 1,
69
+ "global_epoch": 1,
70
+ "loss": 9.505487084388733,
71
+ "ae": 9.421910826365153,
72
+ "ae_samples": 21,
73
+ "ae_tokens": 153882,
74
+ "lm": 9.665041351318362,
75
+ "lm_samples": 11,
76
+ "lm_tokens": 23598,
77
+ "samples": 32,
78
+ "microbatches": 4,
79
+ "max_microbatch_size": 8,
80
+ "mean_active_microbatch_size": 6.75,
81
+ "batched_samples": 32,
82
+ "source_tokens": 90848,
83
+ "target_tokens": 177480,
84
+ "grad_norm": 1.6032721996307373,
85
+ "seconds": 57.24044513597619,
86
+ "peak_memory_bytes": 62995403264
87
+ },
88
+ {
89
+ "step": 2,
90
+ "stage": "independent_prefix",
91
+ "epoch": 1,
92
+ "global_epoch": 1,
93
+ "loss": 9.40975734591484,
94
+ "ae": 9.567599389950434,
95
+ "ae_samples": 16,
96
+ "ae_tokens": 93782,
97
+ "lm": 9.251915042599043,
98
+ "lm_samples": 16,
99
+ "lm_tokens": 33858,
100
+ "samples": 32,
101
+ "microbatches": 4,
102
+ "max_microbatch_size": 8,
103
+ "mean_active_microbatch_size": 6.4,
104
+ "batched_samples": 32,
105
+ "source_tokens": 78767,
106
+ "target_tokens": 127640,
107
+ "grad_norm": 1.6850647926330566,
108
+ "seconds": 44.85529744299129,
109
+ "peak_memory_bytes": 62995403264
110
+ }
111
+ ],
112
+ "compression_parameters": 2637312,
113
+ "checkpoint_verified": true
114
+ }
115
+ ]
116
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923-command.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "command": [
3
+ "/data/bywei/projects/latent_working_memory/.venv/bin/python",
4
+ "-u",
5
+ "-m",
6
+ "torch.distributed.run",
7
+ "--standalone",
8
+ "--nproc_per_node=2",
9
+ "-m",
10
+ "latent_working_memory.v2.pretrain.train",
11
+ "--experiment",
12
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/qwen3-4b_spectral_ae-lm-static_20260923/experiment.json",
13
+ "--output-dir",
14
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923",
15
+ "--swanlab-project",
16
+ "latent-working-memory-v2",
17
+ "--swanlab-mode",
18
+ "disabled",
19
+ "--swanlab-group",
20
+ "qwen3-4b_compressor-structure_20260923",
21
+ "--swanlab-tag",
22
+ "study:reconstruction",
23
+ "--stop-after-steps",
24
+ "2"
25
+ ],
26
+ "gpus": [
27
+ 6,
28
+ 7
29
+ ]
30
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923.log ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /data/bywei/projects/latent_working_memory/.venv/lib/python3.11/site-packages/verl/workers/engine/mindspeed/transformer_impl.py:24: UserWarning: NPU not support router replay for now.
2
+ from verl.utils.megatron.router_replay_patch import RouterReplay
3
+ /data/bywei/projects/latent_working_memory/.venv/lib/python3.11/site-packages/verl/workers/engine/mindspeed/transformer_impl.py:24: UserWarning: NPU not support router replay for now.
4
+ from verl.utils.megatron.router_replay_patch import RouterReplay
5
+ rank 0: loading and filtering prepared datasets
6
+ rank 1: loading and filtering prepared datasets
7
+ multiround/train: retained 31976/32000, rejected {'continuation_length': 24}
8
+ multiround/dev: retained 128/128, rejected {}
9
+ multiround/test: retained 128/128, rejected {}
10
+ `torch_dtype` is deprecated! Use `dtype` instead!
11
+
12
+
13
+ multiround/train: retained 31976/32000, rejected {'continuation_length': 24}
14
+ multiround/dev: retained 128/128, rejected {}
15
+ multiround/test: retained 128/128, rejected {}
16
+ `torch_dtype` is deprecated! Use `dtype` instead!
17
+
18
+
19
+ /data/bywei/projects/latent_working_memory/src/latent_working_memory/v2/pretrain/engine.py:64: FutureWarning: `broadcast_buffers` is deprecated. Use `forward_sync_buffers` instead. IMPORTANT: unlike `broadcast_buffers=False`, `forward_sync_buffers=False` still syncs buffers at init. If you rely on buffers NOT being synced at init (e.g. rank-local buffers), keep using `broadcast_buffers=False` until `init_sync_buffers` is available.
20
+ self.module = DistributedDataParallel(
21
+ /data/bywei/projects/latent_working_memory/src/latent_working_memory/v2/pretrain/engine.py:64: FutureWarning: `broadcast_buffers` is deprecated. Use `forward_sync_buffers` instead. IMPORTANT: unlike `broadcast_buffers=False`, `forward_sync_buffers=False` still syncs buffers at init. If you rely on buffers NOT being synced at init (e.g. rank-local buffers), keep using `broadcast_buffers=False` until `init_sync_buffers` is available.
22
+ self.module = DistributedDataParallel(
23
+ [rank1]:[W923 02:42:02.640311451 reducer.cpp:1529] Warning: find_unused_parameters=True was specified in DDP constructor, but did not find any unused parameters in the forward pass. This flag results in an extra traversal of the autograd graph every iteration, which can adversely affect performance. If your model indeed never has any unused parameters in the forward pass, consider turning this flag off. Note that this warning may be a false positive if your model has flow control causing later iterations to have unused parameters. (function operator())
24
+ [rank0]:[W923 02:42:02.695255892 reducer.cpp:1529] Warning: find_unused_parameters=True was specified in DDP constructor, but did not find any unused parameters in the forward pass. This flag results in an extra traversal of the autograd graph every iteration, which can adversely affect performance. If your model indeed never has any unused parameters in the forward pass, consider turning this flag off. Note that this warning may be a false positive if your model has flow control causing later iterations to have unused parameters. (function operator())
25
+ {"step": 1, "stage": "independent_prefix", "epoch": 1, "global_epoch": 1, "loss": 9.505487084388733, "ae": 9.421910826365153, "ae_samples": 21, "ae_tokens": 153882, "lm": 9.665041351318362, "lm_samples": 11, "lm_tokens": 23598, "samples": 32, "microbatches": 4, "max_microbatch_size": 8, "mean_active_microbatch_size": 6.75, "batched_samples": 32, "source_tokens": 90848, "target_tokens": 177480, "grad_norm": 1.6032721996307373, "seconds": 57.24044513597619, "peak_memory_bytes": 62995403264}
26
+ {"step": 2, "stage": "independent_prefix", "epoch": 1, "global_epoch": 1, "loss": 9.40975734591484, "ae": 9.567599389950434, "ae_samples": 16, "ae_tokens": 93782, "lm": 9.251915042599043, "lm_samples": 16, "lm_tokens": 33858, "samples": 32, "microbatches": 4, "max_microbatch_size": 8, "mean_active_microbatch_size": 6.4, "batched_samples": 32, "source_tokens": 78767, "target_tokens": 127640, "grad_norm": 1.6850647926330566, "seconds": 44.85529744299129, "peak_memory_bytes": 62995403264}
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/data-filtering.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "multiround": {
3
+ "train": {
4
+ "candidates": 32000,
5
+ "retained": 31976,
6
+ "rejected": {
7
+ "continuation_length": 24
8
+ }
9
+ },
10
+ "dev": {
11
+ "candidates": 128,
12
+ "retained": 128,
13
+ "rejected": {}
14
+ },
15
+ "test": {
16
+ "candidates": 128,
17
+ "retained": 128,
18
+ "rejected": {}
19
+ }
20
+ }
21
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/data-summary.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "multiround": {
3
+ "train": {
4
+ "trajectories": 31976,
5
+ "documents": 2473,
6
+ "rounds": {
7
+ "4": 10605,
8
+ "3": 10709,
9
+ "5": 10662
10
+ },
11
+ "ratio_bins": {
12
+ "5": 7910,
13
+ "7": 5072,
14
+ "6": 9183,
15
+ "8": 3475,
16
+ "4": 6259,
17
+ "3": 77
18
+ },
19
+ "segment_min": 512,
20
+ "segment_max": 1536,
21
+ "source_tokens": 84247773
22
+ },
23
+ "dev": {
24
+ "trajectories": 128,
25
+ "documents": 68,
26
+ "rounds": {
27
+ "5": 45,
28
+ "3": 51,
29
+ "4": 32
30
+ },
31
+ "ratio_bins": {
32
+ "6": 54,
33
+ "4": 34,
34
+ "5": 26,
35
+ "7": 10,
36
+ "8": 4
37
+ },
38
+ "segment_min": 512,
39
+ "segment_max": 1476,
40
+ "source_tokens": 312059
41
+ },
42
+ "test": {
43
+ "trajectories": 128,
44
+ "documents": 70,
45
+ "rounds": {
46
+ "4": 45,
47
+ "3": 36,
48
+ "5": 47
49
+ },
50
+ "ratio_bins": {
51
+ "4": 22,
52
+ "7": 14,
53
+ "5": 38,
54
+ "6": 36,
55
+ "8": 17,
56
+ "3": 1
57
+ },
58
+ "segment_min": 512,
59
+ "segment_max": 1536,
60
+ "source_tokens": 336041
61
+ }
62
+ }
63
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/epoch-plan.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epochs": [
3
+ {
4
+ "stage": "independent_prefix",
5
+ "epoch": 1,
6
+ "samples": 31976,
7
+ "steps": 1000,
8
+ "evaluation_steps": [
9
+ 250,
10
+ 500,
11
+ 750,
12
+ 1000
13
+ ]
14
+ },
15
+ {
16
+ "stage": "independent_prefix",
17
+ "epoch": 2,
18
+ "samples": 31976,
19
+ "steps": 1000,
20
+ "evaluation_steps": [
21
+ 1250,
22
+ 1500,
23
+ 1750,
24
+ 2000
25
+ ]
26
+ },
27
+ {
28
+ "stage": "independent_prefix",
29
+ "epoch": 3,
30
+ "samples": 31976,
31
+ "steps": 1000,
32
+ "evaluation_steps": [
33
+ 2250,
34
+ 2500,
35
+ 2750,
36
+ 3000
37
+ ]
38
+ }
39
+ ],
40
+ "total_steps": 3000
41
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/provenance.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "created_at": "2026-09-23T02:41:28.196411+00:00",
3
+ "execution": {
4
+ "framework": "verl",
5
+ "backend": "replicated",
6
+ "world_size": 2
7
+ },
8
+ "engine_origin": "codex/verl-v1@e0bfa37",
9
+ "packages": {
10
+ "torch": "2.14.0",
11
+ "transformers": "4.57.6",
12
+ "peft": "0.20.0",
13
+ "verl": "0.8.0",
14
+ "tensordict": "0.10.0"
15
+ },
16
+ "git_commit": "45fe297b116357e33f4ae034a3a4a976b1b01f8d",
17
+ "git_dirty": true
18
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/run.json ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": {
3
+ "model_name_or_path": "/data/bywei/models/Qwen/Qwen3-4B-Instruct-2507",
4
+ "revision": null,
5
+ "encoder_layers": null,
6
+ "alignment_layers": 1,
7
+ "lora_rank": 128,
8
+ "lora_alpha": 32,
9
+ "lora_dropout": 0.0,
10
+ "attention_implementation": "sdpa",
11
+ "compression": "spectral",
12
+ "feature_layer": "last",
13
+ "spectral_bottleneck": 256,
14
+ "gradient_checkpointing": true,
15
+ "lm_head_chunk_size": 256,
16
+ "padding_free": true
17
+ },
18
+ "selection": {
19
+ "dataset_dir": "/data/bywei/projects/latent_working_memory/data/fineweb-reconstruction-k512-doc100k_20260917"
20
+ },
21
+ "data_preparation": {
22
+ "preparation_id": "036d92f2-0004-461b-8a14-31fff29ad658",
23
+ "created_at": "2026-09-17T03:29:24.728506+00:00",
24
+ "length_estimation": "candidate characters = ceil(4 * planned content tokens * content_reserve_ratio) + 4 * continuation_reserve_tokens; write_token_ends are target token positions",
25
+ "config": {
26
+ "source_glob": "data/raw/HuggingFaceFW-fineweb/sample-10BT/**/*.parquet",
27
+ "capacity": 512,
28
+ "continuation_tokens": 512,
29
+ "content_reserve_ratio": 1.5,
30
+ "continuation_reserve_tokens": 768,
31
+ "max_documents": 100000,
32
+ "source_seed": 20260907,
33
+ "seed": 20260916,
34
+ "split_fractions": [
35
+ 0.9,
36
+ 0.05,
37
+ 0.05
38
+ ],
39
+ "warmup": {
40
+ "train": 32000,
41
+ "dev": 128,
42
+ "test": 128
43
+ },
44
+ "multiround": {
45
+ "train": 32000,
46
+ "dev": 128,
47
+ "test": 128
48
+ }
49
+ },
50
+ "source_recipe": {
51
+ "min_document_chars": 64,
52
+ "near_duplicate_threshold": 0.9,
53
+ "near_duplicate_min_words": 64
54
+ },
55
+ "source_files": [
56
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/000_00000.parquet",
57
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/001_00000.parquet",
58
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/002_00000.parquet",
59
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/003_00000.parquet",
60
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/004_00000.parquet",
61
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/005_00000.parquet",
62
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/006_00000.parquet",
63
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/007_00000.parquet",
64
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/008_00000.parquet",
65
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/009_00000.parquet",
66
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/010_00000.parquet",
67
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/011_00000.parquet",
68
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/012_00000.parquet",
69
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/013_00000.parquet",
70
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/014_00000.parquet"
71
+ ],
72
+ "source_statistics": {
73
+ "eligible": 99998,
74
+ "duplicate": 2
75
+ },
76
+ "referenced_documents": 3433,
77
+ "statistics": {
78
+ "warmup": {
79
+ "train": {
80
+ "trajectories": 32000,
81
+ "documents": 3178,
82
+ "compressions": {
83
+ "1": 32000
84
+ },
85
+ "planned_ratio_bins": {
86
+ "6": 5443,
87
+ "8": 5352,
88
+ "7": 5290,
89
+ "5": 5391,
90
+ "4": 5245,
91
+ "3": 5273,
92
+ "2": 6
93
+ },
94
+ "segment_tokens_min": 1024,
95
+ "segment_tokens_max": 4096,
96
+ "planned_source_tokens": 82035196
97
+ },
98
+ "dev": {
99
+ "trajectories": 128,
100
+ "documents": 61,
101
+ "compressions": {
102
+ "1": 128
103
+ },
104
+ "planned_ratio_bins": {
105
+ "4": 17,
106
+ "7": 25,
107
+ "5": 31,
108
+ "3": 12,
109
+ "6": 22,
110
+ "8": 21
111
+ },
112
+ "segment_tokens_min": 1153,
113
+ "segment_tokens_max": 4082,
114
+ "planned_source_tokens": 344604
115
+ },
116
+ "test": {
117
+ "trajectories": 128,
118
+ "documents": 67,
119
+ "compressions": {
120
+ "1": 128
121
+ },
122
+ "planned_ratio_bins": {
123
+ "8": 23,
124
+ "3": 19,
125
+ "5": 20,
126
+ "4": 26,
127
+ "6": 21,
128
+ "7": 19
129
+ },
130
+ "segment_tokens_min": 1040,
131
+ "segment_tokens_max": 4081,
132
+ "planned_source_tokens": 330093
133
+ }
134
+ },
135
+ "multiround": {
136
+ "train": {
137
+ "trajectories": 32000,
138
+ "documents": 2474,
139
+ "compressions": {
140
+ "4": 10612,
141
+ "3": 10719,
142
+ "5": 10669
143
+ },
144
+ "planned_ratio_bins": {
145
+ "5": 7919,
146
+ "7": 5075,
147
+ "6": 9187,
148
+ "8": 3477,
149
+ "4": 6265,
150
+ "3": 77
151
+ },
152
+ "segment_tokens_min": 512,
153
+ "segment_tokens_max": 1536,
154
+ "planned_source_tokens": 84308173
155
+ },
156
+ "dev": {
157
+ "trajectories": 128,
158
+ "documents": 68,
159
+ "compressions": {
160
+ "5": 45,
161
+ "3": 51,
162
+ "4": 32
163
+ },
164
+ "planned_ratio_bins": {
165
+ "6": 54,
166
+ "4": 34,
167
+ "5": 26,
168
+ "7": 10,
169
+ "8": 4
170
+ },
171
+ "segment_tokens_min": 512,
172
+ "segment_tokens_max": 1476,
173
+ "planned_source_tokens": 312059
174
+ },
175
+ "test": {
176
+ "trajectories": 128,
177
+ "documents": 70,
178
+ "compressions": {
179
+ "4": 45,
180
+ "3": 36,
181
+ "5": 47
182
+ },
183
+ "planned_ratio_bins": {
184
+ "4": 22,
185
+ "7": 14,
186
+ "5": 38,
187
+ "6": 36,
188
+ "8": 17,
189
+ "3": 1
190
+ },
191
+ "segment_tokens_min": 512,
192
+ "segment_tokens_max": 1536,
193
+ "planned_source_tokens": 336041
194
+ }
195
+ }
196
+ }
197
+ },
198
+ "training": {
199
+ "objective": "ae_lm",
200
+ "warmup_epochs": 0,
201
+ "multiround_epochs": 0,
202
+ "independent_prefix_epochs": 3,
203
+ "global_batch_size": 32,
204
+ "micro_batch_size": 8,
205
+ "micro_batch_encoder_tokens": 32768,
206
+ "micro_batch_decoder_tokens": 36928,
207
+ "learning_rate": 0.0001,
208
+ "weight_decay": 0.01,
209
+ "gradient_clip": 1.0,
210
+ "lm_ratio": 0.5,
211
+ "seed": 42,
212
+ "save_every": 1000,
213
+ "checkpoint_limit": 2,
214
+ "eval_every": null,
215
+ "evals_per_epoch": 4,
216
+ "generation_samples": 8,
217
+ "ae_prompt": "Reconstruct the text stored in memory:\n",
218
+ "lm_prompt": "Continue the text stored in memory:\n"
219
+ },
220
+ "world_size": 2,
221
+ "precision": "bf16",
222
+ "resolved_model_revision": null,
223
+ "resolved_architecture": {
224
+ "encoder_layers": 36,
225
+ "decoder_layers": 36,
226
+ "alignment_layers": 1,
227
+ "hidden_size": 2560,
228
+ "encoder_attention": "causal",
229
+ "shared_backbone": false,
230
+ "reader_adapter": null
231
+ }
232
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/tokenizer/added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- for message in messages %}
18
+ {%- if message.content is string %}
19
+ {%- set content = message.content %}
20
+ {%- else %}
21
+ {%- set content = '' %}
22
+ {%- endif %}
23
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
24
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
25
+ {%- elif message.role == "assistant" %}
26
+ {{- '<|im_start|>' + message.role + '\n' + content }}
27
+ {%- if message.tool_calls %}
28
+ {%- for tool_call in message.tool_calls %}
29
+ {%- if (loop.first and content) or (not loop.first) %}
30
+ {{- '\n' }}
31
+ {%- endif %}
32
+ {%- if tool_call.function %}
33
+ {%- set tool_call = tool_call.function %}
34
+ {%- endif %}
35
+ {{- '<tool_call>\n{"name": "' }}
36
+ {{- tool_call.name }}
37
+ {{- '", "arguments": ' }}
38
+ {%- if tool_call.arguments is string %}
39
+ {{- tool_call.arguments }}
40
+ {%- else %}
41
+ {{- tool_call.arguments | tojson }}
42
+ {%- endif %}
43
+ {{- '}\n</tool_call>' }}
44
+ {%- endfor %}
45
+ {%- endif %}
46
+ {{- '<|im_end|>\n' }}
47
+ {%- elif message.role == "tool" %}
48
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
49
+ {{- '<|im_start|>user' }}
50
+ {%- endif %}
51
+ {{- '\n<tool_response>\n' }}
52
+ {{- content }}
53
+ {{- '\n</tool_response>' }}
54
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
55
+ {{- '<|im_end|>\n' }}
56
+ {%- endif %}
57
+ {%- endif %}
58
+ {%- endfor %}
59
+ {%- if add_generation_prompt %}
60
+ {{- '<|im_start|>assistant\n' }}
61
+ {%- endif %}
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 1010000,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/train.jsonl ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"step": 1, "stage": "independent_prefix", "epoch": 1, "global_epoch": 1, "loss": 9.505487084388733, "ae": 9.421910826365153, "ae_samples": 21, "ae_tokens": 153882, "lm": 9.665041351318362, "lm_samples": 11, "lm_tokens": 23598, "samples": 32, "microbatches": 4, "max_microbatch_size": 8, "mean_active_microbatch_size": 6.75, "batched_samples": 32, "source_tokens": 90848, "target_tokens": 177480, "grad_norm": 1.6032721996307373, "seconds": 57.24044513597619, "peak_memory_bytes": 62995403264}
2
+ {"step": 2, "stage": "independent_prefix", "epoch": 1, "global_epoch": 1, "loss": 9.40975734591484, "ae": 9.567599389950434, "ae_samples": 16, "ae_tokens": 93782, "lm": 9.251915042599043, "lm_samples": 16, "lm_tokens": 33858, "samples": 32, "microbatches": 4, "max_microbatch_size": 8, "mean_active_microbatch_size": 6.4, "batched_samples": 32, "source_tokens": 78767, "target_tokens": 127640, "grad_norm": 1.6850647926330566, "seconds": 44.85529744299129, "peak_memory_bytes": 62995403264}
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/training-result.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "complete": false,
3
+ "completed_steps": 2,
4
+ "total_steps": 3000,
5
+ "completed_epochs": 0,
6
+ "source_tokens": 169615,
7
+ "target_tokens": 305120,
8
+ "checkpoint": "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_spectral_ae-lm-static_20260923/checkpoints/step-000002.pt"
9
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923-command.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "command": [
3
+ "/data/bywei/projects/latent_working_memory/.venv/bin/python",
4
+ "-u",
5
+ "-m",
6
+ "torch.distributed.run",
7
+ "--standalone",
8
+ "--nproc_per_node=2",
9
+ "-m",
10
+ "latent_working_memory.v2.pretrain.train",
11
+ "--experiment",
12
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-static_20260923/experiment.json",
13
+ "--output-dir",
14
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923",
15
+ "--swanlab-project",
16
+ "latent-working-memory-v2",
17
+ "--swanlab-mode",
18
+ "disabled",
19
+ "--swanlab-group",
20
+ "qwen3-4b_compressor-structure_20260923",
21
+ "--swanlab-tag",
22
+ "study:reconstruction",
23
+ "--stop-after-steps",
24
+ "2"
25
+ ],
26
+ "gpus": [
27
+ 6,
28
+ 7
29
+ ]
30
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923.log ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /data/bywei/projects/latent_working_memory/.venv/lib/python3.11/site-packages/verl/workers/engine/mindspeed/transformer_impl.py:24: UserWarning: NPU not support router replay for now.
2
+ from verl.utils.megatron.router_replay_patch import RouterReplay
3
+ /data/bywei/projects/latent_working_memory/.venv/lib/python3.11/site-packages/verl/workers/engine/mindspeed/transformer_impl.py:24: UserWarning: NPU not support router replay for now.
4
+ from verl.utils.megatron.router_replay_patch import RouterReplay
5
+ rank 1: loading and filtering prepared datasets
6
+ rank 0: loading and filtering prepared datasets
7
+ multiround/train: retained 31976/32000, rejected {'continuation_length': 24}
8
+ multiround/dev: retained 128/128, rejected {}
9
+ multiround/train: retained 31976/32000, rejected {'continuation_length': 24}
10
+ multiround/dev: retained 128/128, rejected {}
11
+ multiround/test: retained 128/128, rejected {}
12
+ `torch_dtype` is deprecated! Use `dtype` instead!
13
+
14
+
15
+ multiround/test: retained 128/128, rejected {}
16
+ `torch_dtype` is deprecated! Use `dtype` instead!
17
+
18
+
19
+ /data/bywei/projects/latent_working_memory/src/latent_working_memory/v2/pretrain/engine.py:64: FutureWarning: `broadcast_buffers` is deprecated. Use `forward_sync_buffers` instead. IMPORTANT: unlike `broadcast_buffers=False`, `forward_sync_buffers=False` still syncs buffers at init. If you rely on buffers NOT being synced at init (e.g. rank-local buffers), keep using `broadcast_buffers=False` until `init_sync_buffers` is available.
20
+ self.module = DistributedDataParallel(
21
+ /data/bywei/projects/latent_working_memory/src/latent_working_memory/v2/pretrain/engine.py:64: FutureWarning: `broadcast_buffers` is deprecated. Use `forward_sync_buffers` instead. IMPORTANT: unlike `broadcast_buffers=False`, `forward_sync_buffers=False` still syncs buffers at init. If you rely on buffers NOT being synced at init (e.g. rank-local buffers), keep using `broadcast_buffers=False` until `init_sync_buffers` is available.
22
+ self.module = DistributedDataParallel(
23
+ [rank0]:[W923 02:37:54.384399526 reducer.cpp:1529] Warning: find_unused_parameters=True was specified in DDP constructor, but did not find any unused parameters in the forward pass. This flag results in an extra traversal of the autograd graph every iteration, which can adversely affect performance. If your model indeed never has any unused parameters in the forward pass, consider turning this flag off. Note that this warning may be a false positive if your model has flow control causing later iterations to have unused parameters. (function operator())
24
+ [rank1]:[W923 02:37:56.987891843 reducer.cpp:1529] Warning: find_unused_parameters=True was specified in DDP constructor, but did not find any unused parameters in the forward pass. This flag results in an extra traversal of the autograd graph every iteration, which can adversely affect performance. If your model indeed never has any unused parameters in the forward pass, consider turning this flag off. Note that this warning may be a false positive if your model has flow control causing later iterations to have unused parameters. (function operator())
25
+ {"step": 1, "stage": "independent_prefix", "epoch": 1, "global_epoch": 1, "loss": 9.592894613742828, "ae": 9.49606597537086, "ae_samples": 21, "ae_tokens": 153882, "lm": 9.777748704679084, "lm_samples": 11, "lm_tokens": 23598, "samples": 32, "microbatches": 4, "max_microbatch_size": 8, "mean_active_microbatch_size": 6.75, "batched_samples": 32, "source_tokens": 90848, "target_tokens": 177480, "grad_norm": 2.427708148956299, "seconds": 52.97523378697224, "peak_memory_bytes": 62790014976}
26
+ {"step": 2, "stage": "independent_prefix", "epoch": 1, "global_epoch": 1, "loss": 9.530107498168945, "ae": 9.697963373859722, "ae_samples": 16, "ae_tokens": 93782, "lm": 9.362251124779384, "lm_samples": 16, "lm_tokens": 33858, "samples": 32, "microbatches": 4, "max_microbatch_size": 8, "mean_active_microbatch_size": 6.4, "batched_samples": 32, "source_tokens": 78767, "target_tokens": 127640, "grad_norm": 2.2894504070281982, "seconds": 41.040178007038776, "peak_memory_bytes": 62790014976}
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/data-filtering.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "multiround": {
3
+ "train": {
4
+ "candidates": 32000,
5
+ "retained": 31976,
6
+ "rejected": {
7
+ "continuation_length": 24
8
+ }
9
+ },
10
+ "dev": {
11
+ "candidates": 128,
12
+ "retained": 128,
13
+ "rejected": {}
14
+ },
15
+ "test": {
16
+ "candidates": 128,
17
+ "retained": 128,
18
+ "rejected": {}
19
+ }
20
+ }
21
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/data-summary.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "multiround": {
3
+ "train": {
4
+ "trajectories": 31976,
5
+ "documents": 2473,
6
+ "rounds": {
7
+ "4": 10605,
8
+ "3": 10709,
9
+ "5": 10662
10
+ },
11
+ "ratio_bins": {
12
+ "5": 7910,
13
+ "7": 5072,
14
+ "6": 9183,
15
+ "8": 3475,
16
+ "4": 6259,
17
+ "3": 77
18
+ },
19
+ "segment_min": 512,
20
+ "segment_max": 1536,
21
+ "source_tokens": 84247773
22
+ },
23
+ "dev": {
24
+ "trajectories": 128,
25
+ "documents": 68,
26
+ "rounds": {
27
+ "5": 45,
28
+ "3": 51,
29
+ "4": 32
30
+ },
31
+ "ratio_bins": {
32
+ "6": 54,
33
+ "4": 34,
34
+ "5": 26,
35
+ "7": 10,
36
+ "8": 4
37
+ },
38
+ "segment_min": 512,
39
+ "segment_max": 1476,
40
+ "source_tokens": 312059
41
+ },
42
+ "test": {
43
+ "trajectories": 128,
44
+ "documents": 70,
45
+ "rounds": {
46
+ "4": 45,
47
+ "3": 36,
48
+ "5": 47
49
+ },
50
+ "ratio_bins": {
51
+ "4": 22,
52
+ "7": 14,
53
+ "5": 38,
54
+ "6": 36,
55
+ "8": 17,
56
+ "3": 1
57
+ },
58
+ "segment_min": 512,
59
+ "segment_max": 1536,
60
+ "source_tokens": 336041
61
+ }
62
+ }
63
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/epoch-plan.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epochs": [
3
+ {
4
+ "stage": "independent_prefix",
5
+ "epoch": 1,
6
+ "samples": 31976,
7
+ "steps": 1000,
8
+ "evaluation_steps": [
9
+ 250,
10
+ 500,
11
+ 750,
12
+ 1000
13
+ ]
14
+ },
15
+ {
16
+ "stage": "independent_prefix",
17
+ "epoch": 2,
18
+ "samples": 31976,
19
+ "steps": 1000,
20
+ "evaluation_steps": [
21
+ 1250,
22
+ 1500,
23
+ 1750,
24
+ 2000
25
+ ]
26
+ },
27
+ {
28
+ "stage": "independent_prefix",
29
+ "epoch": 3,
30
+ "samples": 31976,
31
+ "steps": 1000,
32
+ "evaluation_steps": [
33
+ 2250,
34
+ 2500,
35
+ 2750,
36
+ 3000
37
+ ]
38
+ }
39
+ ],
40
+ "total_steps": 3000
41
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/provenance.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "created_at": "2026-09-23T02:37:26.250022+00:00",
3
+ "execution": {
4
+ "framework": "verl",
5
+ "backend": "replicated",
6
+ "world_size": 2
7
+ },
8
+ "engine_origin": "codex/verl-v1@e0bfa37",
9
+ "packages": {
10
+ "torch": "2.14.0",
11
+ "transformers": "4.57.6",
12
+ "peft": "0.20.0",
13
+ "verl": "0.8.0",
14
+ "tensordict": "0.10.0"
15
+ },
16
+ "git_commit": "45fe297b116357e33f4ae034a3a4a976b1b01f8d",
17
+ "git_dirty": true
18
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/run.json ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": {
3
+ "model_name_or_path": "/data/bywei/models/Qwen/Qwen3-4B-Instruct-2507",
4
+ "revision": null,
5
+ "encoder_layers": null,
6
+ "alignment_layers": 1,
7
+ "lora_rank": 128,
8
+ "lora_alpha": 32,
9
+ "lora_dropout": 0.0,
10
+ "attention_implementation": "sdpa",
11
+ "compression": "weighted",
12
+ "feature_layer": "last",
13
+ "spectral_bottleneck": 256,
14
+ "gradient_checkpointing": true,
15
+ "lm_head_chunk_size": 256,
16
+ "padding_free": true
17
+ },
18
+ "selection": {
19
+ "dataset_dir": "/data/bywei/projects/latent_working_memory/data/fineweb-reconstruction-k512-doc100k_20260917"
20
+ },
21
+ "data_preparation": {
22
+ "preparation_id": "036d92f2-0004-461b-8a14-31fff29ad658",
23
+ "created_at": "2026-09-17T03:29:24.728506+00:00",
24
+ "length_estimation": "candidate characters = ceil(4 * planned content tokens * content_reserve_ratio) + 4 * continuation_reserve_tokens; write_token_ends are target token positions",
25
+ "config": {
26
+ "source_glob": "data/raw/HuggingFaceFW-fineweb/sample-10BT/**/*.parquet",
27
+ "capacity": 512,
28
+ "continuation_tokens": 512,
29
+ "content_reserve_ratio": 1.5,
30
+ "continuation_reserve_tokens": 768,
31
+ "max_documents": 100000,
32
+ "source_seed": 20260907,
33
+ "seed": 20260916,
34
+ "split_fractions": [
35
+ 0.9,
36
+ 0.05,
37
+ 0.05
38
+ ],
39
+ "warmup": {
40
+ "train": 32000,
41
+ "dev": 128,
42
+ "test": 128
43
+ },
44
+ "multiround": {
45
+ "train": 32000,
46
+ "dev": 128,
47
+ "test": 128
48
+ }
49
+ },
50
+ "source_recipe": {
51
+ "min_document_chars": 64,
52
+ "near_duplicate_threshold": 0.9,
53
+ "near_duplicate_min_words": 64
54
+ },
55
+ "source_files": [
56
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/000_00000.parquet",
57
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/001_00000.parquet",
58
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/002_00000.parquet",
59
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/003_00000.parquet",
60
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/004_00000.parquet",
61
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/005_00000.parquet",
62
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/006_00000.parquet",
63
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/007_00000.parquet",
64
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/008_00000.parquet",
65
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/009_00000.parquet",
66
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/010_00000.parquet",
67
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/011_00000.parquet",
68
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/012_00000.parquet",
69
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/013_00000.parquet",
70
+ "../raw/HuggingFaceFW-fineweb/sample-10BT/014_00000.parquet"
71
+ ],
72
+ "source_statistics": {
73
+ "eligible": 99998,
74
+ "duplicate": 2
75
+ },
76
+ "referenced_documents": 3433,
77
+ "statistics": {
78
+ "warmup": {
79
+ "train": {
80
+ "trajectories": 32000,
81
+ "documents": 3178,
82
+ "compressions": {
83
+ "1": 32000
84
+ },
85
+ "planned_ratio_bins": {
86
+ "6": 5443,
87
+ "8": 5352,
88
+ "7": 5290,
89
+ "5": 5391,
90
+ "4": 5245,
91
+ "3": 5273,
92
+ "2": 6
93
+ },
94
+ "segment_tokens_min": 1024,
95
+ "segment_tokens_max": 4096,
96
+ "planned_source_tokens": 82035196
97
+ },
98
+ "dev": {
99
+ "trajectories": 128,
100
+ "documents": 61,
101
+ "compressions": {
102
+ "1": 128
103
+ },
104
+ "planned_ratio_bins": {
105
+ "4": 17,
106
+ "7": 25,
107
+ "5": 31,
108
+ "3": 12,
109
+ "6": 22,
110
+ "8": 21
111
+ },
112
+ "segment_tokens_min": 1153,
113
+ "segment_tokens_max": 4082,
114
+ "planned_source_tokens": 344604
115
+ },
116
+ "test": {
117
+ "trajectories": 128,
118
+ "documents": 67,
119
+ "compressions": {
120
+ "1": 128
121
+ },
122
+ "planned_ratio_bins": {
123
+ "8": 23,
124
+ "3": 19,
125
+ "5": 20,
126
+ "4": 26,
127
+ "6": 21,
128
+ "7": 19
129
+ },
130
+ "segment_tokens_min": 1040,
131
+ "segment_tokens_max": 4081,
132
+ "planned_source_tokens": 330093
133
+ }
134
+ },
135
+ "multiround": {
136
+ "train": {
137
+ "trajectories": 32000,
138
+ "documents": 2474,
139
+ "compressions": {
140
+ "4": 10612,
141
+ "3": 10719,
142
+ "5": 10669
143
+ },
144
+ "planned_ratio_bins": {
145
+ "5": 7919,
146
+ "7": 5075,
147
+ "6": 9187,
148
+ "8": 3477,
149
+ "4": 6265,
150
+ "3": 77
151
+ },
152
+ "segment_tokens_min": 512,
153
+ "segment_tokens_max": 1536,
154
+ "planned_source_tokens": 84308173
155
+ },
156
+ "dev": {
157
+ "trajectories": 128,
158
+ "documents": 68,
159
+ "compressions": {
160
+ "5": 45,
161
+ "3": 51,
162
+ "4": 32
163
+ },
164
+ "planned_ratio_bins": {
165
+ "6": 54,
166
+ "4": 34,
167
+ "5": 26,
168
+ "7": 10,
169
+ "8": 4
170
+ },
171
+ "segment_tokens_min": 512,
172
+ "segment_tokens_max": 1476,
173
+ "planned_source_tokens": 312059
174
+ },
175
+ "test": {
176
+ "trajectories": 128,
177
+ "documents": 70,
178
+ "compressions": {
179
+ "4": 45,
180
+ "3": 36,
181
+ "5": 47
182
+ },
183
+ "planned_ratio_bins": {
184
+ "4": 22,
185
+ "7": 14,
186
+ "5": 38,
187
+ "6": 36,
188
+ "8": 17,
189
+ "3": 1
190
+ },
191
+ "segment_tokens_min": 512,
192
+ "segment_tokens_max": 1536,
193
+ "planned_source_tokens": 336041
194
+ }
195
+ }
196
+ }
197
+ },
198
+ "training": {
199
+ "objective": "ae_lm",
200
+ "warmup_epochs": 0,
201
+ "multiround_epochs": 0,
202
+ "independent_prefix_epochs": 3,
203
+ "global_batch_size": 32,
204
+ "micro_batch_size": 8,
205
+ "micro_batch_encoder_tokens": 32768,
206
+ "micro_batch_decoder_tokens": 36928,
207
+ "learning_rate": 0.0001,
208
+ "weight_decay": 0.01,
209
+ "gradient_clip": 1.0,
210
+ "lm_ratio": 0.5,
211
+ "seed": 42,
212
+ "save_every": 1000,
213
+ "checkpoint_limit": 2,
214
+ "eval_every": null,
215
+ "evals_per_epoch": 4,
216
+ "generation_samples": 8,
217
+ "ae_prompt": "Reconstruct the text stored in memory:\n",
218
+ "lm_prompt": "Continue the text stored in memory:\n"
219
+ },
220
+ "world_size": 2,
221
+ "precision": "bf16",
222
+ "resolved_model_revision": null,
223
+ "resolved_architecture": {
224
+ "encoder_layers": 36,
225
+ "decoder_layers": 36,
226
+ "alignment_layers": 1,
227
+ "hidden_size": 2560,
228
+ "encoder_attention": "causal",
229
+ "shared_backbone": false,
230
+ "reader_adapter": null
231
+ }
232
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/tokenizer/added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- for message in messages %}
18
+ {%- if message.content is string %}
19
+ {%- set content = message.content %}
20
+ {%- else %}
21
+ {%- set content = '' %}
22
+ {%- endif %}
23
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
24
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
25
+ {%- elif message.role == "assistant" %}
26
+ {{- '<|im_start|>' + message.role + '\n' + content }}
27
+ {%- if message.tool_calls %}
28
+ {%- for tool_call in message.tool_calls %}
29
+ {%- if (loop.first and content) or (not loop.first) %}
30
+ {{- '\n' }}
31
+ {%- endif %}
32
+ {%- if tool_call.function %}
33
+ {%- set tool_call = tool_call.function %}
34
+ {%- endif %}
35
+ {{- '<tool_call>\n{"name": "' }}
36
+ {{- tool_call.name }}
37
+ {{- '", "arguments": ' }}
38
+ {%- if tool_call.arguments is string %}
39
+ {{- tool_call.arguments }}
40
+ {%- else %}
41
+ {{- tool_call.arguments | tojson }}
42
+ {%- endif %}
43
+ {{- '}\n</tool_call>' }}
44
+ {%- endfor %}
45
+ {%- endif %}
46
+ {{- '<|im_end|>\n' }}
47
+ {%- elif message.role == "tool" %}
48
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
49
+ {{- '<|im_start|>user' }}
50
+ {%- endif %}
51
+ {{- '\n<tool_response>\n' }}
52
+ {{- content }}
53
+ {{- '\n</tool_response>' }}
54
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
55
+ {{- '<|im_end|>\n' }}
56
+ {%- endif %}
57
+ {%- endif %}
58
+ {%- endfor %}
59
+ {%- if add_generation_prompt %}
60
+ {{- '<|im_start|>assistant\n' }}
61
+ {%- endif %}
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 1010000,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/train.jsonl ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"step": 1, "stage": "independent_prefix", "epoch": 1, "global_epoch": 1, "loss": 9.592894613742828, "ae": 9.49606597537086, "ae_samples": 21, "ae_tokens": 153882, "lm": 9.777748704679084, "lm_samples": 11, "lm_tokens": 23598, "samples": 32, "microbatches": 4, "max_microbatch_size": 8, "mean_active_microbatch_size": 6.75, "batched_samples": 32, "source_tokens": 90848, "target_tokens": 177480, "grad_norm": 2.427708148956299, "seconds": 52.97523378697224, "peak_memory_bytes": 62790014976}
2
+ {"step": 2, "stage": "independent_prefix", "epoch": 1, "global_epoch": 1, "loss": 9.530107498168945, "ae": 9.697963373859722, "ae_samples": 16, "ae_tokens": 93782, "lm": 9.362251124779384, "lm_samples": 16, "lm_tokens": 33858, "samples": 32, "microbatches": 4, "max_microbatch_size": 8, "mean_active_microbatch_size": 6.4, "batched_samples": 32, "source_tokens": 78767, "target_tokens": 127640, "grad_norm": 2.2894504070281982, "seconds": 41.040178007038776, "peak_memory_bytes": 62790014976}
artifacts/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/training-result.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "complete": false,
3
+ "completed_steps": 2,
4
+ "total_steps": 3000,
5
+ "completed_epochs": 0,
6
+ "source_tokens": 169615,
7
+ "target_tokens": 305120,
8
+ "checkpoint": "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/smoke/qwen3-4b_weighted_ae-lm-static_20260923/checkpoints/step-000002.pt"
9
+ }
artifacts/v2/compressor-structure_20260923/plan/startup-verification.json ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "status": {
3
+ "group": "qwen3-4b_compressor-structure_20260923",
4
+ "gpu_pairs": [
5
+ [
6
+ 4,
7
+ 5
8
+ ],
9
+ [
10
+ 6,
11
+ 7
12
+ ]
13
+ ],
14
+ "runs": [
15
+ {
16
+ "name": "qwen3-4b_weighted_ae-lm-static_20260923",
17
+ "source_experiment": "/data/bywei/projects/latent_working_memory/configs/v2/pretrain/qwen3-4b_weighted_ae-lm-static/experiment.json",
18
+ "command": [
19
+ "/data/bywei/projects/latent_working_memory/.venv/bin/python",
20
+ "-u",
21
+ "-m",
22
+ "torch.distributed.run",
23
+ "--standalone",
24
+ "--nproc_per_node=2",
25
+ "-m",
26
+ "latent_working_memory.v2.pretrain.train",
27
+ "--experiment",
28
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-static_20260923/experiment.json",
29
+ "--output-dir",
30
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-static_20260923",
31
+ "--swanlab-project",
32
+ "latent-working-memory-v2",
33
+ "--swanlab-mode",
34
+ "online",
35
+ "--swanlab-group",
36
+ "qwen3-4b_compressor-structure_20260923",
37
+ "--swanlab-tag",
38
+ "study:reconstruction"
39
+ ],
40
+ "output": "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-static_20260923",
41
+ "state": "running",
42
+ "gpus": [
43
+ 6,
44
+ 7
45
+ ],
46
+ "pid": 1971841,
47
+ "log": "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/qwen3-4b_weighted_ae-lm-static_20260923.log",
48
+ "started_at": "2026-09-23T02:44:22.368755+00:00"
49
+ },
50
+ {
51
+ "name": "qwen3-4b_spectral_ae-lm-static_20260923",
52
+ "source_experiment": "/data/bywei/projects/latent_working_memory/configs/v2/pretrain/qwen3-4b_spectral_ae-lm-static/experiment.json",
53
+ "command": [
54
+ "/data/bywei/projects/latent_working_memory/.venv/bin/python",
55
+ "-u",
56
+ "-m",
57
+ "torch.distributed.run",
58
+ "--standalone",
59
+ "--nproc_per_node=2",
60
+ "-m",
61
+ "latent_working_memory.v2.pretrain.train",
62
+ "--experiment",
63
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/qwen3-4b_spectral_ae-lm-static_20260923/experiment.json",
64
+ "--output-dir",
65
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_spectral_ae-lm-static_20260923",
66
+ "--swanlab-project",
67
+ "latent-working-memory-v2",
68
+ "--swanlab-mode",
69
+ "online",
70
+ "--swanlab-group",
71
+ "qwen3-4b_compressor-structure_20260923",
72
+ "--swanlab-tag",
73
+ "study:reconstruction"
74
+ ],
75
+ "output": "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_spectral_ae-lm-static_20260923",
76
+ "state": "queued"
77
+ },
78
+ {
79
+ "name": "qwen3-4b_weighted_ae-lm-warmup_20260923",
80
+ "source_experiment": "/data/bywei/projects/latent_working_memory/configs/v2/pretrain/qwen3-4b_weighted_ae-lm-warmup/experiment.json",
81
+ "command": [
82
+ "/data/bywei/projects/latent_working_memory/.venv/bin/python",
83
+ "-u",
84
+ "-m",
85
+ "torch.distributed.run",
86
+ "--standalone",
87
+ "--nproc_per_node=2",
88
+ "-m",
89
+ "latent_working_memory.v2.pretrain.train",
90
+ "--experiment",
91
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-warmup_20260923/experiment.json",
92
+ "--output-dir",
93
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923",
94
+ "--swanlab-project",
95
+ "latent-working-memory-v2",
96
+ "--swanlab-mode",
97
+ "online",
98
+ "--swanlab-group",
99
+ "qwen3-4b_compressor-structure_20260923",
100
+ "--swanlab-tag",
101
+ "study:reconstruction"
102
+ ],
103
+ "output": "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923",
104
+ "state": "queued"
105
+ },
106
+ {
107
+ "name": "qwen3-4b_spectral_ae-lm-warmup_20260923",
108
+ "source_experiment": "/data/bywei/projects/latent_working_memory/configs/v2/pretrain/qwen3-4b_spectral_ae-lm-warmup/experiment.json",
109
+ "command": [
110
+ "/data/bywei/projects/latent_working_memory/.venv/bin/python",
111
+ "-u",
112
+ "-m",
113
+ "torch.distributed.run",
114
+ "--standalone",
115
+ "--nproc_per_node=2",
116
+ "-m",
117
+ "latent_working_memory.v2.pretrain.train",
118
+ "--experiment",
119
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/qwen3-4b_spectral_ae-lm-warmup_20260923/experiment.json",
120
+ "--output-dir",
121
+ "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_spectral_ae-lm-warmup_20260923",
122
+ "--swanlab-project",
123
+ "latent-working-memory-v2",
124
+ "--swanlab-mode",
125
+ "online",
126
+ "--swanlab-group",
127
+ "qwen3-4b_compressor-structure_20260923",
128
+ "--swanlab-tag",
129
+ "study:reconstruction"
130
+ ],
131
+ "output": "/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_spectral_ae-lm-warmup_20260923",
132
+ "state": "queued"
133
+ }
134
+ ],
135
+ "scheduler_pid": 1971762,
136
+ "state": "running",
137
+ "updated_at": "2026-09-23T02:48:57.044926+00:00"
138
+ },
139
+ "first_steps": [
140
+ {
141
+ "step": 1,
142
+ "stage": "independent_prefix",
143
+ "epoch": 1,
144
+ "global_epoch": 1,
145
+ "loss": 9.592894613742828,
146
+ "ae": 9.49606597537086,
147
+ "ae_samples": 21,
148
+ "ae_tokens": 153882,
149
+ "lm": 9.777748704679084,
150
+ "lm_samples": 11,
151
+ "lm_tokens": 23598,
152
+ "samples": 32,
153
+ "microbatches": 4,
154
+ "max_microbatch_size": 8,
155
+ "mean_active_microbatch_size": 6.75,
156
+ "batched_samples": 32,
157
+ "source_tokens": 90848,
158
+ "target_tokens": 177480,
159
+ "grad_norm": 2.430598497390747,
160
+ "seconds": 55.27200335304951,
161
+ "peak_memory_bytes": 62790014976
162
+ },
163
+ {
164
+ "step": 2,
165
+ "stage": "independent_prefix",
166
+ "epoch": 1,
167
+ "global_epoch": 1,
168
+ "loss": 9.526120752096176,
169
+ "ae": 9.69505270421505,
170
+ "ae_samples": 16,
171
+ "ae_tokens": 93782,
172
+ "lm": 9.357188459237417,
173
+ "lm_samples": 16,
174
+ "lm_tokens": 33858,
175
+ "samples": 32,
176
+ "microbatches": 4,
177
+ "max_microbatch_size": 8,
178
+ "mean_active_microbatch_size": 6.4,
179
+ "batched_samples": 32,
180
+ "source_tokens": 78767,
181
+ "target_tokens": 127640,
182
+ "grad_norm": 2.226365566253662,
183
+ "seconds": 41.373851919022854,
184
+ "peak_memory_bytes": 62790014976
185
+ }
186
+ ],
187
+ "swanlab": {
188
+ "id": "a7nrdamp",
189
+ "project": "latent-working-memory-v2",
190
+ "group": "qwen3-4b_compressor-structure_20260923",
191
+ "tags": [
192
+ "data:fineweb",
193
+ "method:v2-weighted",
194
+ "scope:main",
195
+ "study:reconstruction"
196
+ ],
197
+ "job_type": "train",
198
+ "mode": "online",
199
+ "url": "https://swanlab.cn/@percyWeeeeei/latent-working-memory-v2/runs/a7nrdamp"
200
+ }
201
+ }
artifacts/v2/compressor-structure_20260923/plan/tests.log ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ........................................................................ [ 72%]
2
+ ........................... [100%]
3
+ =============================== warnings summary ===============================
4
+ .venv/lib/python3.11/site-packages/verl/workers/engine/mindspeed/transformer_impl.py:24
5
+ /data/bywei/projects/latent_working_memory/.venv/lib/python3.11/site-packages/verl/workers/engine/mindspeed/transformer_impl.py:24: UserWarning: NPU not support router replay for now.
6
+ from verl.utils.megatron.router_replay_patch import RouterReplay
7
+
8
+ -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
9
+ 99 passed, 1 warning in 272.46s (0:04:32)
artifacts/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923/swanlab/run-20260924_032204-7wtghxu5/debug/debug.log ADDED
@@ -0,0 +1 @@
 
 
1
+ Diagnostic log bound to file: /data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923/swanlab/run-20260924_032204-7wtghxu5/debug/debug.log
artifacts/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923/swanlab/run-20260924_032204-7wtghxu5/files/config.yaml ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ data_preparation:
2
+ desc: ''
3
+ sort: 2
4
+ value:
5
+ config:
6
+ capacity: 512
7
+ content_reserve_ratio: 1.5
8
+ continuation_reserve_tokens: 768
9
+ continuation_tokens: 512
10
+ max_documents: 100000
11
+ multiround:
12
+ dev: 128
13
+ test: 128
14
+ train: 32000
15
+ seed: 20260916
16
+ source_glob: data/raw/HuggingFaceFW-fineweb/sample-10BT/**/*.parquet
17
+ source_seed: 20260907
18
+ split_fractions:
19
+ - 0.9
20
+ - 0.05
21
+ - 0.05
22
+ warmup:
23
+ dev: 128
24
+ test: 128
25
+ train: 32000
26
+ created_at: '2026-09-17T03:29:24.728506+00:00'
27
+ length_estimation: candidate characters = ceil(4 * planned content tokens * content_reserve_ratio)
28
+ + 4 * continuation_reserve_tokens; write_token_ends are target token positions
29
+ preparation_id: 036d92f2-0004-461b-8a14-31fff29ad658
30
+ referenced_documents: 3433
31
+ source_files:
32
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/000_00000.parquet
33
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/001_00000.parquet
34
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/002_00000.parquet
35
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/003_00000.parquet
36
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/004_00000.parquet
37
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/005_00000.parquet
38
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/006_00000.parquet
39
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/007_00000.parquet
40
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/008_00000.parquet
41
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/009_00000.parquet
42
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/010_00000.parquet
43
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/011_00000.parquet
44
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/012_00000.parquet
45
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/013_00000.parquet
46
+ - ../raw/HuggingFaceFW-fineweb/sample-10BT/014_00000.parquet
47
+ source_recipe:
48
+ min_document_chars: 64
49
+ near_duplicate_min_words: 64
50
+ near_duplicate_threshold: 0.9
51
+ source_statistics:
52
+ duplicate: 2
53
+ eligible: 99998
54
+ statistics:
55
+ multiround:
56
+ dev:
57
+ compressions:
58
+ '3': 51
59
+ '4': 32
60
+ '5': 45
61
+ documents: 68
62
+ planned_ratio_bins:
63
+ '4': 34
64
+ '5': 26
65
+ '6': 54
66
+ '7': 10
67
+ '8': 4
68
+ planned_source_tokens: 312059
69
+ segment_tokens_max: 1476
70
+ segment_tokens_min: 512
71
+ trajectories: 128
72
+ test:
73
+ compressions:
74
+ '3': 36
75
+ '4': 45
76
+ '5': 47
77
+ documents: 70
78
+ planned_ratio_bins:
79
+ '3': 1
80
+ '4': 22
81
+ '5': 38
82
+ '6': 36
83
+ '7': 14
84
+ '8': 17
85
+ planned_source_tokens: 336041
86
+ segment_tokens_max: 1536
87
+ segment_tokens_min: 512
88
+ trajectories: 128
89
+ train:
90
+ compressions:
91
+ '3': 10719
92
+ '4': 10612
93
+ '5': 10669
94
+ documents: 2474
95
+ planned_ratio_bins:
96
+ '3': 77
97
+ '4': 6265
98
+ '5': 7919
99
+ '6': 9187
100
+ '7': 5075
101
+ '8': 3477
102
+ planned_source_tokens: 84308173
103
+ segment_tokens_max: 1536
104
+ segment_tokens_min: 512
105
+ trajectories: 32000
106
+ warmup:
107
+ dev:
108
+ compressions:
109
+ '1': 128
110
+ documents: 61
111
+ planned_ratio_bins:
112
+ '3': 12
113
+ '4': 17
114
+ '5': 31
115
+ '6': 22
116
+ '7': 25
117
+ '8': 21
118
+ planned_source_tokens: 344604
119
+ segment_tokens_max: 4082
120
+ segment_tokens_min: 1153
121
+ trajectories: 128
122
+ test:
123
+ compressions:
124
+ '1': 128
125
+ documents: 67
126
+ planned_ratio_bins:
127
+ '3': 19
128
+ '4': 26
129
+ '5': 20
130
+ '6': 21
131
+ '7': 19
132
+ '8': 23
133
+ planned_source_tokens: 330093
134
+ segment_tokens_max: 4081
135
+ segment_tokens_min: 1040
136
+ trajectories: 128
137
+ train:
138
+ compressions:
139
+ '1': 32000
140
+ documents: 3178
141
+ planned_ratio_bins:
142
+ '2': 6
143
+ '3': 5273
144
+ '4': 5245
145
+ '5': 5391
146
+ '6': 5443
147
+ '7': 5290
148
+ '8': 5352
149
+ planned_source_tokens: 82035196
150
+ segment_tokens_max: 4096
151
+ segment_tokens_min: 1024
152
+ trajectories: 32000
153
+ model:
154
+ desc: ''
155
+ sort: 0
156
+ value:
157
+ alignment_layers: 1
158
+ attention_implementation: sdpa
159
+ compression: weighted
160
+ encoder_layers: null
161
+ feature_layer: last
162
+ gradient_checkpointing: true
163
+ lm_head_chunk_size: 256
164
+ lora_alpha: 32
165
+ lora_dropout: 0.0
166
+ lora_rank: 128
167
+ model_name_or_path: /data/bywei/models/Qwen/Qwen3-4B-Instruct-2507
168
+ padding_free: true
169
+ revision: null
170
+ spectral_bottleneck: 256
171
+ precision:
172
+ desc: ''
173
+ sort: 5
174
+ value: bf16
175
+ resolved_architecture:
176
+ desc: ''
177
+ sort: 7
178
+ value:
179
+ alignment_layers: 1
180
+ decoder_layers: 36
181
+ encoder_attention: causal
182
+ encoder_layers: 36
183
+ hidden_size: 2560
184
+ reader_adapter: null
185
+ shared_backbone: false
186
+ resolved_model_revision:
187
+ desc: ''
188
+ sort: 6
189
+ value: {}
190
+ selection:
191
+ desc: ''
192
+ sort: 1
193
+ value:
194
+ dataset_dir: /data/bywei/projects/latent_working_memory/data/fineweb-reconstruction-k512-doc100k_20260917
195
+ training:
196
+ desc: ''
197
+ sort: 3
198
+ value:
199
+ ae_prompt: 'Reconstruct the text stored in memory:
200
+
201
+ '
202
+ checkpoint_limit: 2
203
+ eval_every: 1000
204
+ generation_samples: 8
205
+ global_batch_size: 32
206
+ gradient_clip: 1.0
207
+ independent_prefix_epochs: 0
208
+ learning_rate: 0.0001
209
+ lm_prompt: 'Continue the text stored in memory:
210
+
211
+ '
212
+ lm_ratio: 0.5
213
+ micro_batch_decoder_tokens: 36928
214
+ micro_batch_encoder_tokens: 32768
215
+ micro_batch_size: 8
216
+ multiround_epochs: 2
217
+ objective: ae_lm
218
+ save_every: 1000
219
+ seed: 42
220
+ warmup_epochs: 1
221
+ weight_decay: 0.01
222
+ world_size:
223
+ desc: ''
224
+ sort: 4
225
+ value: 2
artifacts/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923/swanlab/run-20260924_032204-7wtghxu5/files/requirements.txt ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ absl-py==2.5.0
2
+ accelerate==1.14.0
3
+ aiohappyeyeballs==2.7.1
4
+ aiohttp==3.14.3
5
+ aiohttp-cors==0.8.1
6
+ aiosignal==1.4.0
7
+ annotated-types==0.8.0
8
+ antlr4-python3-runtime==4.9.3
9
+ anyio==4.15.1
10
+ attrs==26.1.0
11
+ certifi==2026.7.22
12
+ cffi==2.1.1
13
+ charset-normalizer==3.5.1
14
+ click==8.5.0
15
+ cloudpickle==3.1.2
16
+ codetiming==1.4.0
17
+ colorama==0.4.6
18
+ colorful==0.5.8
19
+ cryptography==50.0.1
20
+ cuda-bindings==13.3.1
21
+ cuda-pathfinder==1.8.1
22
+ cuda-toolkit==13.0.3.0
23
+ datasets==5.0.1
24
+ dill==0.4.1
25
+ distlib==0.4.3
26
+ filelock==3.32.5
27
+ frozenlist==1.8.0
28
+ fsspec==2026.2.0
29
+ google-api-core==2.37.0
30
+ google-auth==2.58.0
31
+ googleapis-common-protos==1.75.3
32
+ grpcio==1.84.0
33
+ h11==0.16.0
34
+ hf-xet==1.6.0
35
+ httpcore==1.0.9
36
+ httpx==0.28.1
37
+ huggingface_hub==0.36.2
38
+ hydra-core==1.3.7
39
+ idna==3.19
40
+ importlib_metadata==9.0.1
41
+ iniconfig==2.3.0
42
+ Jinja2==3.1.6
43
+ jsonschema==4.26.0
44
+ jsonschema-specifications==2025.9.1
45
+ latent-working-memory==0.1.0
46
+ lxml==6.1.3
47
+ Markdown==3.10.3
48
+ markdown-it-py==4.2.0
49
+ MarkupSafe==3.0.3
50
+ mdurl==0.1.2
51
+ mpmath==1.3.0
52
+ msgpack==1.2.2
53
+ multidict==6.8.0
54
+ multiprocess==0.70.19
55
+ networkx==3.6.1
56
+ numpy==1.26.4
57
+ nvidia-cublas==13.1.1.3
58
+ nvidia-cuda-cupti==13.0.85
59
+ nvidia-cuda-nvrtc==13.0.88
60
+ nvidia-cuda-runtime==13.0.96
61
+ nvidia-cudnn-cu13==9.24.0.43
62
+ nvidia-cufft==12.0.0.61
63
+ nvidia-cufile==1.15.1.6
64
+ nvidia-curand==10.4.0.35
65
+ nvidia-cusolver==12.0.4.66
66
+ nvidia-cusparse==12.6.3.3
67
+ nvidia-cusparselt-cu13==0.8.1
68
+ nvidia-ml-py==13.610.43
69
+ nvidia-nccl-cu13==2.30.7
70
+ nvidia-nvjitlink==13.3.33
71
+ nvidia-nvshmem-cu13==3.4.5
72
+ nvidia-nvtx==13.0.85
73
+ omegaconf==2.3.1
74
+ opencensus==0.11.4
75
+ opencensus-context==0.1.3
76
+ opentelemetry-api==1.44.0
77
+ opentelemetry-exporter-otlp-proto-common==1.44.0
78
+ opentelemetry-exporter-otlp-proto-http==1.44.0
79
+ opentelemetry-exporter-prometheus==0.65b0
80
+ opentelemetry-proto==1.44.0
81
+ opentelemetry-sdk==1.44.0
82
+ opentelemetry-semantic-conventions==0.65b0
83
+ orjson==3.12.0
84
+ packaging==25.0
85
+ pandas==3.0.5
86
+ peft==0.20.0
87
+ pillow==12.3.0
88
+ pip==24.0
89
+ platformdirs==4.11.7
90
+ pluggy==1.6.0
91
+ portalocker==4.3.0
92
+ prettytable==3.18.0
93
+ prometheus_client==0.26.0
94
+ propcache==0.5.4
95
+ proto-plus==1.28.4
96
+ protobuf==6.33.6
97
+ psutil==7.2.2
98
+ pwinput==1.0.3
99
+ py-spy==0.4.2
100
+ pyarrow==25.0.1
101
+ pyasn1==0.6.4
102
+ pyasn1_modules==0.4.2
103
+ pybind11==3.1.0
104
+ pycparser==3.0
105
+ pydantic==2.13.5
106
+ pydantic_core==2.46.5
107
+ pydantic-settings==2.15.0
108
+ pyecharts==2.1.0
109
+ Pygments==2.21.0
110
+ pylatexenc==2.11
111
+ pyroaring==1.0.3
112
+ pysbd==0.3.4
113
+ pytest==8.4.2
114
+ python-dateutil==2.9.0.post0
115
+ python-discovery==1.6.0
116
+ python-dotenv==1.2.3
117
+ pyvers==0.1.0
118
+ PyYAML==6.0.3
119
+ ray==2.58.0
120
+ referencing==0.37.0
121
+ regex==2026.9.3
122
+ requests==2.34.2
123
+ rich==15.0.0
124
+ rpds-py==2026.6.3
125
+ ruff==0.13.3
126
+ sacrebleu==2.6.0
127
+ safetensors==0.8.0
128
+ setuptools==84.0.0
129
+ simplejson==4.1.2
130
+ six==1.17.0
131
+ smart_open==8.0.1
132
+ swanlab==0.10.0
133
+ sympy==1.14.0
134
+ tabulate==0.10.0
135
+ tensorboard==2.21.0
136
+ tensorboard-data-server==0.7.2
137
+ tensordict==0.10.0
138
+ tokenizers==0.22.2
139
+ torch==2.14.0
140
+ torchdata==0.11.0
141
+ tqdm==4.70.0
142
+ transformers==4.57.6
143
+ triton==3.8.0
144
+ typing_extensions==4.16.0
145
+ typing-inspection==0.4.4
146
+ urllib3==2.7.0
147
+ uv==0.8.22
148
+ verl==0.8.0
149
+ virtualenv==21.7.10
150
+ wandb==0.30.0
151
+ watchdog==6.0.0
152
+ wcwidth==0.8.3
153
+ Werkzeug==3.1.8
154
+ wrapt==2.4.0
155
+ xxhash==4.0.1
156
+ yarl==1.25.1
157
+ zipp==4.1.0
artifacts/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923/swanlab/run-20260924_032204-7wtghxu5/files/swanlab-metadata.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"_version":2,"hardware":{"apple_silicon":null,"cpu":{"brand":"Intel(R) Xeon(R) Platinum 8352Y CPU @ 2.20GHz","physical_count":64,"logical_count":128},"memory":{"total":2015,"total_unit":"GB"},"accelerators":[{"vendor":"nvidia","devices":[{"index":0,"name":"NVIDIA A800-SXM4-80GB","memory":80,"memory_unit":"GB"},{"index":1,"name":"NVIDIA A800-SXM4-80GB","memory":80,"memory_unit":"GB"},{"index":2,"name":"NVIDIA A800-SXM4-80GB","memory":80,"memory_unit":"GB"},{"index":3,"name":"NVIDIA A800-SXM4-80GB","memory":80,"memory_unit":"GB"},{"index":4,"name":"NVIDIA A800-SXM4-80GB","memory":80,"memory_unit":"GB"},{"index":5,"name":"NVIDIA A800-SXM4-80GB","memory":80,"memory_unit":"GB"},{"index":6,"name":"NVIDIA A800-SXM4-80GB","memory":80,"memory_unit":"GB"},{"index":7,"name":"NVIDIA A800-SXM4-80GB","memory":80,"memory_unit":"GB"}],"version":"580.178.04","cuda_version":"13.0","cann_version":null}]},"runtime":{"os":"Linux-6.8.0-139-generic-x86_64-with-glibc2.39","os_pretty":"Ubuntu 24.04.2 LTS","hostname":"localhost","pid":2270589,"cwd":"/data/bywei/projects/latent_working_memory","python_version":"3.11.16","python_verbose":"3.11.16 (main, Aug 25 2026, 14:00:53) [Clang 22.1.3 ]","python_executable":"/data/bywei/projects/latent_working_memory/.venv/bin/python","command":"/data/bywei/projects/latent_working_memory/.venv/bin/python -u -m latent_working_memory.v2.pretrain.train --experiment /data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/plan/qwen3-4b_weighted_ae-lm-warmup_20260923/experiment.json --output-dir /data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923 --swanlab-project latent-working-memory-v2 --swanlab-mode online --swanlab-group qwen3-4b_compressor-structure_20260923 --swanlab-tag study:reconstruction"},"git":null,"swanlab":{"version":"0.10.0","run_dir":"/data/bywei/experiment-artifacts/latent_working_memory/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923/swanlab/run-20260924_032204-7wtghxu5"}}
artifacts/v2/compressor-structure_20260923/train/qwen3-4b_weighted_ae-lm-warmup_20260923/swanlab/run-20260924_032204-7wtghxu5/media/echarts/2999-d30dd303.json ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "animation": true,
3
+ "animationThreshold": 2000,
4
+ "animationDuration": 1000,
5
+ "animationEasing": "cubicOut",
6
+ "animationDelay": 0,
7
+ "animationDurationUpdate": 300,
8
+ "animationEasingUpdate": "cubicOut",
9
+ "animationDelayUpdate": 0,
10
+ "aria": {
11
+ "enabled": false
12
+ },
13
+ "series": [
14
+ {
15
+ "type": "bar",
16
+ "name": "write=compressed / test=FineWeb",
17
+ "legendHoverLink": true,
18
+ "data": [
19
+ 0.0,
20
+ null
21
+ ],
22
+ "realtimeSort": false,
23
+ "showBackground": false,
24
+ "stack": "FineWeb",
25
+ "stackStrategy": "samesign",
26
+ "cursor": "pointer",
27
+ "barMinHeight": 0,
28
+ "barCategoryGap": "20%",
29
+ "barGap": "30%",
30
+ "large": false,
31
+ "largeThreshold": 400,
32
+ "seriesLayoutBy": "column",
33
+ "datasetIndex": 0,
34
+ "clip": true,
35
+ "zlevel": 0,
36
+ "z": 2,
37
+ "label": {
38
+ "show": false
39
+ },
40
+ "itemStyle": {
41
+ "color": "#2459a6"
42
+ }
43
+ },
44
+ {
45
+ "type": "bar",
46
+ "name": "write=one-shot / test=FineWeb",
47
+ "legendHoverLink": true,
48
+ "data": [
49
+ null,
50
+ 0.0
51
+ ],
52
+ "realtimeSort": false,
53
+ "showBackground": false,
54
+ "stack": "FineWeb",
55
+ "stackStrategy": "samesign",
56
+ "cursor": "pointer",
57
+ "barMinHeight": 0,
58
+ "barCategoryGap": "20%",
59
+ "barGap": "30%",
60
+ "large": false,
61
+ "largeThreshold": 400,
62
+ "seriesLayoutBy": "column",
63
+ "datasetIndex": 0,
64
+ "clip": true,
65
+ "zlevel": 0,
66
+ "z": 2,
67
+ "label": {
68
+ "show": false
69
+ },
70
+ "itemStyle": {
71
+ "color": "#28764a"
72
+ }
73
+ }
74
+ ],
75
+ "legend": [
76
+ {
77
+ "data": [
78
+ "write=compressed / test=FineWeb",
79
+ "write=one-shot / test=FineWeb"
80
+ ],
81
+ "selected": {},
82
+ "type": "scroll",
83
+ "top": 0
84
+ }
85
+ ],
86
+ "tooltip": {
87
+ "trigger": "axis"
88
+ },
89
+ "xAxis": [
90
+ {
91
+ "show": true,
92
+ "scale": false,
93
+ "nameLocation": "end",
94
+ "nameGap": 15,
95
+ "nameTruncate": {},
96
+ "nameMoveOverlap": true,
97
+ "axisLabel": {
98
+ "interval": 0,
99
+ "rotate": 0,
100
+ "fontSize": 10,
101
+ "lineHeight": 11
102
+ },
103
+ "inverse": false,
104
+ "offset": 0,
105
+ "splitNumber": 5,
106
+ "minInterval": 0,
107
+ "silent": false,
108
+ "triggerEvent": false,
109
+ "splitLine": {
110
+ "show": true,
111
+ "lineStyle": {
112
+ "show": false
113
+ }
114
+ },
115
+ "animation": true,
116
+ "animationThreshold": 2000,
117
+ "animationDuration": 1000,
118
+ "animationEasing": "cubicOut",
119
+ "animationDelay": 0,
120
+ "animationDurationUpdate": 300,
121
+ "animationEasingUpdate": "cubicOut",
122
+ "animationDelayUpdate": 0,
123
+ "data": [
124
+ "recurrent",
125
+ "independent"
126
+ ]
127
+ }
128
+ ],
129
+ "yAxis": [
130
+ {
131
+ "show": true,
132
+ "scale": false,
133
+ "nameLocation": "end",
134
+ "nameGap": 15,
135
+ "nameTruncate": {},
136
+ "nameMoveOverlap": true,
137
+ "inverse": false,
138
+ "offset": 0,
139
+ "splitNumber": 3,
140
+ "minInterval": 0.001,
141
+ "silent": false,
142
+ "triggerEvent": false,
143
+ "splitLine": {
144
+ "show": true,
145
+ "lineStyle": {
146
+ "show": false
147
+ }
148
+ },
149
+ "animation": true,
150
+ "animationThreshold": 2000,
151
+ "animationDuration": 1000,
152
+ "animationEasing": "cubicOut",
153
+ "animationDelay": 0,
154
+ "animationDurationUpdate": 300,
155
+ "animationEasingUpdate": "cubicOut",
156
+ "animationDelayUpdate": 0
157
+ }
158
+ ],
159
+ "title": [
160
+ {
161
+ "show": true,
162
+ "target": "blank",
163
+ "subtarget": "blank",
164
+ "padding": 5,
165
+ "itemGap": 10,
166
+ "textAlign": "auto",
167
+ "textVerticalAlign": "auto",
168
+ "triggerEvent": false
169
+ }
170
+ ],
171
+ "grid": {
172
+ "left": "12%",
173
+ "right": "4%",
174
+ "top": "20%",
175
+ "height": "55%",
176
+ "containLabel": false
177
+ }
178
+ }