Show matched geometry measurements in the explorer and paper
Browse files- logs/checkpoint-flatness-20261125T163331Z-stderr.log +0 -0
- logs/checkpoint-flatness-20261125T163331Z.log +1 -0
- logs/flatness-statistics-audit.log +16 -0
- logs/flatness-statistics-release.log +106 -0
- logs/flatness-surfaces-release.log +102 -0
- logs/stories-hybrid-s23-always-r01-20261125T162919301106Z.jsonl +0 -0
- logs/study-20261125T162200Z-hybrid-confirmation.log +0 -0
- publication.json +116 -86
- research/docs/explorer.js +3 -1
- research/docs/figures/curves.png +2 -2
- research/docs/figures/hybrid_width.png +2 -2
- research/docs/index.html +2 -0
- research/docs/runbook.md +2 -0
- research/docs/study.json +0 -0
- research/reports/experiments/experiments.md +1 -1
- research/reports/experiments/learnings.md +1 -1
- research/reports/experiments/stories-hybrid-s23-always-r01/experiment.md +2 -2
- research/reports/experiments/stories-hybrid-s23-always-r01/learnings.md +1 -1
- research/reports/hybrid/results.md +2 -0
- research/reports/paper.pdf +0 -0
- research/reports/progress.md +1 -1
- research/results/stories-hybrid-s23-always-r01/events.jsonl +0 -0
- research/results/stories-hybrid-s23-always-r01/width-2048.json +191 -0
- research/results/stories-hybrid-s23-always-r01/width-3072.json +191 -0
- research/src/thirdloss/cli.py +4 -0
- research/src/thirdloss/flatness_tables.py +7 -11
- research/src/thirdloss/readme_comparisons.py +18 -10
- research/src/thirdloss/report_paper.py +7 -0
- research/src/thirdloss/report_records.py +7 -2
- research/tests/test_flatness.py +14 -0
logs/checkpoint-flatness-20261125T163331Z-stderr.log
ADDED
|
File without changes
|
logs/checkpoint-flatness-20261125T163331Z.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
2026-11-25T16:33:32+00:00 Waiting for the previous arm's publication
|
logs/flatness-statistics-audit.log
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[project]\.venv\Lib\site-packages\huggingface_hub\file_download.py:149: UserWarning: `huggingface_hub` cache-system uses symlinks by default to efficiently store duplicated files but your machine does not support them in [user]\.cache\huggingface\hub\models--BurnyCoder--thirdloss-study. Caching files will still work but in a degraded version that might require more space on your disk. This warning can be disabled by setting the `HF_HUB_DISABLE_SYMLINKS_WARNING` environment variable. For more details, see https://huggingface.co/docs/huggingface_hub/how-to-cache#limitations.
|
| 2 |
+
To support symlinks on Windows, you either need to activate Developer Mode or to run Python as an administrator. In order to activate developer mode, see this article: https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development
|
| 3 |
+
warnings.warn(message)
|
| 4 |
+
{
|
| 5 |
+
"git_revision": "24dd4f047835f2fee6fa4f9f861e62098ccba704",
|
| 6 |
+
"git_files": 455,
|
| 7 |
+
"archive_revision": "419a44e0d769399fc02ad97fce12958aac632b4d",
|
| 8 |
+
"verified_files": {
|
| 9 |
+
"BurnyCoder/thirdloss-arxiv-abstracts-2024": 8,
|
| 10 |
+
"BurnyCoder/thirdloss-explorer": 9,
|
| 11 |
+
"BurnyCoder/thirdloss-pythia-410m-adapters": 57,
|
| 12 |
+
"BurnyCoder/thirdloss-stories": 197,
|
| 13 |
+
"BurnyCoder/thirdloss-study": 561,
|
| 14 |
+
"BurnyCoder/thirdloss-tinystories-tokens": 8
|
| 15 |
+
}
|
| 16 |
+
}
|
logs/flatness-statistics-release.log
CHANGED
|
@@ -97,3 +97,109 @@ New Data Upload : 100%|##########| 167kB / 167kB, 14.6kB/s
|
|
| 97 |
Validating : ##########| 100%
|
| 98 |
|
| 99 |
: 100%|##########| 299kB / 299kB
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
Validating : ##########| 100%
|
| 98 |
|
| 99 |
: 100%|##########| 299kB / 299kB
|
| 100 |
+
|
| 101 |
+
Processing Files (0 / 0) : | | 0.00B / 0.00B
|
| 102 |
+
|
| 103 |
+
New Data Upload : | | 0.00B / 0.00B [A
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 110 |
+
Processing Files (1 / 1) : 31%|###1 | 299kB / 953kB, ???B/s
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 117 |
+
|
| 118 |
+
|
| 119 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
: 20%|#9 | 128kB / 654kB [A[A
|
| 123 |
+
Processing Files (1 / 1) : 45%|####4 | 426kB / 953kB, 41.2kB/s
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
: 20%|#9 | 128kB / 654kB [A[A
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
: 20%|#9 | 128kB / 654kB [A[A
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 142 |
+
Processing Files (1 / 1) : 100%|##########| 953kB / 953kB, 89.5kB/s
|
| 143 |
+
|
| 144 |
+
New Data Upload : 100%|##########| 526kB / 526kB, 50.9kB/s [A
|
| 145 |
+
|
| 146 |
+
|
| 147 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 148 |
+
|
| 149 |
+
|
| 150 |
+
: 100%|##########| 654kB / 654kB [A[A
|
| 151 |
+
|
| 152 |
+
|
| 153 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
: 100%|##########| 654kB / 654kB [A[A
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 160 |
+
|
| 161 |
+
|
| 162 |
+
: 100%|##########| 654kB / 654kB [A[A
|
| 163 |
+
|
| 164 |
+
|
| 165 |
+
: 100%|##########| 654kB / 654kB [A[A
|
| 166 |
+
|
| 167 |
+
|
| 168 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 169 |
+
|
| 170 |
+
|
| 171 |
+
|
| 172 |
+
Validating : | 0% [A[A[A
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
|
| 176 |
+
Validating : | 0% [A[A[A
|
| 177 |
+
|
| 178 |
+
|
| 179 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 180 |
+
|
| 181 |
+
|
| 182 |
+
|
| 183 |
+
Validating : | 0% [A[A[A
|
| 184 |
+
|
| 185 |
+
|
| 186 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 187 |
+
|
| 188 |
+
|
| 189 |
+
|
| 190 |
+
Validating : ##########| 100% [A[A[A
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 194 |
+
|
| 195 |
+
|
| 196 |
+
|
| 197 |
+
Validating : ##########| 100% [A[A[A
|
| 198 |
+
Processing Files (1 / 1) : 100%|##########| 953kB / 953kB, 80.0kB/s
|
| 199 |
+
|
| 200 |
+
New Data Upload : 100%|##########| 526kB / 526kB, 45.5kB/s
|
| 201 |
+
|
| 202 |
+
Validating : ##########| 100%
|
| 203 |
+
|
| 204 |
+
: 100%|##########| 299kB / 299kB
|
| 205 |
+
24dd4f047835f2fee6fa4f9f861e62098ccba704
|
logs/flatness-surfaces-release.log
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
|
| 2 |
+
|
| 3 |
+
Processing Files (0 / 0) : | | 0.00B / 0.00B
|
| 4 |
+
|
| 5 |
+
New Data Upload : | | 0.00B / 0.00B [A
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
: 44%|####3 | 131kB / 299kB [A[A
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
: 44%|####3 | 131kB / 299kB [A[A
|
| 12 |
+
Processing Files (0 / 1) : 40%|###9 | 186kB / 467kB, ???B/s
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
: 44%|####3 | 131kB / 299kB [A[A
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
: 33%|###2 | 54.7kB / 168kB [A[A
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
: 33%|###2 | 54.7kB / 168kB [A[A
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
: 33%|###2 | 54.7kB / 168kB [A[A
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
: 44%|####3 | 131kB / 299kB [A[A
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
: 33%|###2 | 54.7kB / 168kB [A[A
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
: 44%|####3 | 131kB / 299kB [A[A
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
: 100%|##########| 168kB / 168kB [A[A
|
| 37 |
+
Processing Files (1 / 1) : 100%|##########| 467kB / 467kB, 44.4kB/s
|
| 38 |
+
|
| 39 |
+
New Data Upload : 100%|##########| 281kB / 281kB, 27.4kB/s [A
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
: 100%|##########| 168kB / 168kB [A[A
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
: 100%|##########| 168kB / 168kB [A[A
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
: 100%|##########| 168kB / 168kB [A[A
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
: 100%|##########| 168kB / 168kB [A[A
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
: 100%|##########| 168kB / 168kB [A[A
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
: 100%|##########| 168kB / 168kB [A[A
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
Validating : | 0% [A[A[A
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
Validating : | 0% [A[A[A
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
: 100%|##########| 168kB / 168kB [A[A
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
Validating : ##########| 100% [A[A[A
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
Validating : ##########| 100% [A[A[A
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
: 100%|##########| 299kB / 299kB [A[A
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
Validating : ##########| 100% [A[A[A
|
| 96 |
+
Processing Files (1 / 1) : 100%|##########| 467kB / 467kB, 39.5kB/s
|
| 97 |
+
|
| 98 |
+
New Data Upload : 100%|##########| 281kB / 281kB, 24.3kB/s
|
| 99 |
+
|
| 100 |
+
Validating : ##########| 100%
|
| 101 |
+
|
| 102 |
+
: 100%|##########| 299kB / 299kB
|
logs/stories-hybrid-s23-always-r01-20261125T162919301106Z.jsonl
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
logs/study-20261125T162200Z-hybrid-confirmation.log
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
publication.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"collection": "BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378",
|
| 3 |
-
"git_revision": "
|
| 4 |
"repositories": {
|
| 5 |
"BurnyCoder/thirdloss-arxiv-abstracts-2024": {
|
| 6 |
"files": {
|
|
@@ -61,9 +61,9 @@
|
|
| 61 |
"size": 7098
|
| 62 |
},
|
| 63 |
"explorer.js": {
|
| 64 |
-
"git_blob": "
|
| 65 |
-
"sha256": "
|
| 66 |
-
"size":
|
| 67 |
},
|
| 68 |
"figures/architecture.png": {
|
| 69 |
"git_blob": "2c41c712a9edfcc9f53e1ac8f76e751e54dc8924",
|
|
@@ -71,14 +71,14 @@
|
|
| 71 |
"size": 63324
|
| 72 |
},
|
| 73 |
"figures/curves.png": {
|
| 74 |
-
"git_blob": "
|
| 75 |
-
"sha256": "
|
| 76 |
-
"size":
|
| 77 |
},
|
| 78 |
"figures/hybrid_width.png": {
|
| 79 |
-
"git_blob": "
|
| 80 |
-
"sha256": "
|
| 81 |
-
"size":
|
| 82 |
},
|
| 83 |
"figures/penalty-directions.png": {
|
| 84 |
"git_blob": "74b76888f6466d197afbe991559d06c92af67eb1",
|
|
@@ -86,17 +86,17 @@
|
|
| 86 |
"size": 156490
|
| 87 |
},
|
| 88 |
"index.html": {
|
| 89 |
-
"git_blob": "
|
| 90 |
-
"sha256": "
|
| 91 |
-
"size":
|
| 92 |
},
|
| 93 |
"study.json": {
|
| 94 |
-
"git_blob": "
|
| 95 |
-
"sha256": "
|
| 96 |
-
"size":
|
| 97 |
}
|
| 98 |
},
|
| 99 |
-
"revision": "
|
| 100 |
"type": "space"
|
| 101 |
},
|
| 102 |
"BurnyCoder/thirdloss-pythia-410m-adapters": {
|
|
@@ -1468,6 +1468,16 @@
|
|
| 1468 |
"sha256": "31e1e2d51fa4f9df37a7fb82c0ea092c2fb33db507ffd3931d56b4b08068a545",
|
| 1469 |
"size": 164140
|
| 1470 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1471 |
"logs/dashboard-20261125T151603Z-errors.log": {
|
| 1472 |
"git_blob": "05368bd6bcb80dae3bb7fee1ce931ef41f1811fe",
|
| 1473 |
"sha256": "0ba3310ba55bc030b0e607e65808f618f66ff438d5c767dc2fdde0ab6b67b8b0",
|
|
@@ -1488,16 +1498,26 @@
|
|
| 1488 |
"sha256": "1c73007c107dd521eed1fea4cd5cde00d25fca4863773228d18e29582eae50dd",
|
| 1489 |
"size": 7536
|
| 1490 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1491 |
"logs/flatness-statistics-release.log": {
|
| 1492 |
-
"git_blob": "
|
| 1493 |
-
"sha256": "
|
| 1494 |
-
"size":
|
| 1495 |
},
|
| 1496 |
"logs/flatness-statistics-render.log": {
|
| 1497 |
"git_blob": "37bbb4bdbd164007d9e8e84ddbdb5e73b2a11e1d",
|
| 1498 |
"sha256": "2ae7e37a0d60013de1b3d6870314f24554d6f4af83d0ce06b372b1eed3a9b1c6",
|
| 1499 |
"size": 79
|
| 1500 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1501 |
"logs/hybrid-acceptance-after-release-recovery.log": {
|
| 1502 |
"git_blob": "ebc1e2b4c8e3f73dd0be49d41f58b0346cc1ac24",
|
| 1503 |
"sha256": "caf0a0c1cf35f6902dc455d76545f82d302019198497abedcff33456443ad331",
|
|
@@ -1724,9 +1744,9 @@
|
|
| 1724 |
"size": 299647
|
| 1725 |
},
|
| 1726 |
"logs/stories-hybrid-s23-always-r01-20261125T162919301106Z.jsonl": {
|
| 1727 |
-
"git_blob": "
|
| 1728 |
-
"sha256": "
|
| 1729 |
-
"size":
|
| 1730 |
},
|
| 1731 |
"logs/stories-hybrid-s23-late-r01-20261125T161151415908Z.jsonl": {
|
| 1732 |
"git_blob": "7f694eeccaef3cb6c0a5df0bd167e66c697a3508",
|
|
@@ -1854,9 +1874,9 @@
|
|
| 1854 |
"size": 298981
|
| 1855 |
},
|
| 1856 |
"logs/study-20261125T162200Z-hybrid-confirmation.log": {
|
| 1857 |
-
"git_blob": "
|
| 1858 |
-
"sha256": "
|
| 1859 |
-
"size":
|
| 1860 |
},
|
| 1861 |
"logs/study-20261125T162200Z-hybrid-stderr.log": {
|
| 1862 |
"git_blob": "c496508cca128ee67b6e0c8ef1d14da869a78c60",
|
|
@@ -1949,9 +1969,9 @@
|
|
| 1949 |
"size": 7098
|
| 1950 |
},
|
| 1951 |
"research/docs/explorer.js": {
|
| 1952 |
-
"git_blob": "
|
| 1953 |
-
"sha256": "
|
| 1954 |
-
"size":
|
| 1955 |
},
|
| 1956 |
"research/docs/figures/architecture.png": {
|
| 1957 |
"git_blob": "2c41c712a9edfcc9f53e1ac8f76e751e54dc8924",
|
|
@@ -1959,14 +1979,14 @@
|
|
| 1959 |
"size": 63324
|
| 1960 |
},
|
| 1961 |
"research/docs/figures/curves.png": {
|
| 1962 |
-
"git_blob": "
|
| 1963 |
-
"sha256": "
|
| 1964 |
-
"size":
|
| 1965 |
},
|
| 1966 |
"research/docs/figures/hybrid_width.png": {
|
| 1967 |
-
"git_blob": "
|
| 1968 |
-
"sha256": "
|
| 1969 |
-
"size":
|
| 1970 |
},
|
| 1971 |
"research/docs/figures/penalty-directions.png": {
|
| 1972 |
"git_blob": "74b76888f6466d197afbe991559d06c92af67eb1",
|
|
@@ -2004,19 +2024,19 @@
|
|
| 2004 |
"size": 1435
|
| 2005 |
},
|
| 2006 |
"research/docs/index.html": {
|
| 2007 |
-
"git_blob": "
|
| 2008 |
-
"sha256": "
|
| 2009 |
-
"size":
|
| 2010 |
},
|
| 2011 |
"research/docs/runbook.md": {
|
| 2012 |
-
"git_blob": "
|
| 2013 |
-
"sha256": "
|
| 2014 |
-
"size":
|
| 2015 |
},
|
| 2016 |
"research/docs/study.json": {
|
| 2017 |
-
"git_blob": "
|
| 2018 |
-
"sha256": "
|
| 2019 |
-
"size":
|
| 2020 |
},
|
| 2021 |
"research/docs/third-derivative-penalty.md": {
|
| 2022 |
"git_blob": "ef2f9eaf958073e25771c60e97a4ce10b2a1b687",
|
|
@@ -2149,14 +2169,14 @@
|
|
| 2149 |
"size": 231
|
| 2150 |
},
|
| 2151 |
"research/reports/experiments/experiments.md": {
|
| 2152 |
-
"git_blob": "
|
| 2153 |
-
"sha256": "
|
| 2154 |
-
"size":
|
| 2155 |
},
|
| 2156 |
"research/reports/experiments/learnings.md": {
|
| 2157 |
-
"git_blob": "
|
| 2158 |
-
"sha256": "
|
| 2159 |
-
"size":
|
| 2160 |
},
|
| 2161 |
"research/reports/experiments/stories-branch-s21-trunk-r01/experiment.md": {
|
| 2162 |
"git_blob": "89dd0c1f4c4edd8fc49122a9b2f2076d744f9d27",
|
|
@@ -2329,14 +2349,14 @@
|
|
| 2329 |
"size": 239
|
| 2330 |
},
|
| 2331 |
"research/reports/experiments/stories-hybrid-s23-always-r01/experiment.md": {
|
| 2332 |
-
"git_blob": "
|
| 2333 |
-
"sha256": "
|
| 2334 |
-
"size":
|
| 2335 |
},
|
| 2336 |
"research/reports/experiments/stories-hybrid-s23-always-r01/learnings.md": {
|
| 2337 |
-
"git_blob": "
|
| 2338 |
-
"sha256": "
|
| 2339 |
-
"size":
|
| 2340 |
},
|
| 2341 |
"research/reports/experiments/stories-hybrid-s23-late-r01/experiment.md": {
|
| 2342 |
"git_blob": "f9baf26b8c22d00021f06c4ef80f91eda0d79f68",
|
|
@@ -2479,9 +2499,9 @@
|
|
| 2479 |
"size": 7658
|
| 2480 |
},
|
| 2481 |
"research/reports/hybrid/results.md": {
|
| 2482 |
-
"git_blob": "
|
| 2483 |
-
"sha256": "
|
| 2484 |
-
"size":
|
| 2485 |
},
|
| 2486 |
"research/reports/literature-review.md": {
|
| 2487 |
"git_blob": "60cb61940a961b869b09e18931fb885668994e62",
|
|
@@ -2489,9 +2509,9 @@
|
|
| 2489 |
"size": 7290
|
| 2490 |
},
|
| 2491 |
"research/reports/paper.pdf": {
|
| 2492 |
-
"git_blob": "
|
| 2493 |
-
"sha256": "
|
| 2494 |
-
"size":
|
| 2495 |
},
|
| 2496 |
"research/reports/plan.md": {
|
| 2497 |
"git_blob": "d15ec7b2f2324e3aedb389d2fd95208a31978596",
|
|
@@ -2509,8 +2529,8 @@
|
|
| 2509 |
"size": 5234
|
| 2510 |
},
|
| 2511 |
"research/reports/progress.md": {
|
| 2512 |
-
"git_blob": "
|
| 2513 |
-
"sha256": "
|
| 2514 |
"size": 2289
|
| 2515 |
},
|
| 2516 |
"research/reports/reviews/adapter-verification.md": {
|
|
@@ -3569,15 +3589,25 @@
|
|
| 3569 |
"size": 540
|
| 3570 |
},
|
| 3571 |
"research/results/stories-hybrid-s23-always-r01/events.jsonl": {
|
| 3572 |
-
"git_blob": "
|
| 3573 |
-
"sha256": "
|
| 3574 |
-
"size":
|
| 3575 |
},
|
| 3576 |
"research/results/stories-hybrid-s23-always-r01/state.json": {
|
| 3577 |
"git_blob": "61a5eb894aee290a4a4bbc58f808853b1727914a",
|
| 3578 |
"sha256": "7a1c71c2f4ddd75e67723dbb3dc93d512a5fae4376170330ba6020a672f30c50",
|
| 3579 |
"size": 71
|
| 3580 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3581 |
"research/results/stories-hybrid-s23-late-r01/config.json": {
|
| 3582 |
"git_blob": "b4ac20b62628bc70833cb299c8328b1741c16c4e",
|
| 3583 |
"sha256": "8c5f344e258a1d58cc794b3873dd39b5cb7ef029058358804b814834c32a307e",
|
|
@@ -3999,9 +4029,9 @@
|
|
| 3999 |
"size": 6022
|
| 4000 |
},
|
| 4001 |
"research/src/thirdloss/cli.py": {
|
| 4002 |
-
"git_blob": "
|
| 4003 |
-
"sha256": "
|
| 4004 |
-
"size":
|
| 4005 |
},
|
| 4006 |
"research/src/thirdloss/data.py": {
|
| 4007 |
"git_blob": "9b06438a0bce64f8d491cd65156ebe8aa04e8916",
|
|
@@ -4019,9 +4049,9 @@
|
|
| 4019 |
"size": 1671
|
| 4020 |
},
|
| 4021 |
"research/src/thirdloss/flatness_tables.py": {
|
| 4022 |
-
"git_blob": "
|
| 4023 |
-
"sha256": "
|
| 4024 |
-
"size":
|
| 4025 |
},
|
| 4026 |
"research/src/thirdloss/hub_archive.py": {
|
| 4027 |
"git_blob": "9a24c6c6f0f3f6e06fa43c775b47a5a03c1d12f6",
|
|
@@ -4079,9 +4109,9 @@
|
|
| 4079 |
"size": 11879
|
| 4080 |
},
|
| 4081 |
"research/src/thirdloss/readme_comparisons.py": {
|
| 4082 |
-
"git_blob": "
|
| 4083 |
-
"sha256": "
|
| 4084 |
-
"size":
|
| 4085 |
},
|
| 4086 |
"research/src/thirdloss/records.py": {
|
| 4087 |
"git_blob": "a800de00d42944f13a89d8d2f91ce9b2103bbd45",
|
|
@@ -4099,14 +4129,14 @@
|
|
| 4099 |
"size": 10129
|
| 4100 |
},
|
| 4101 |
"research/src/thirdloss/report_paper.py": {
|
| 4102 |
-
"git_blob": "
|
| 4103 |
-
"sha256": "
|
| 4104 |
-
"size":
|
| 4105 |
},
|
| 4106 |
"research/src/thirdloss/report_records.py": {
|
| 4107 |
-
"git_blob": "
|
| 4108 |
-
"sha256": "
|
| 4109 |
-
"size":
|
| 4110 |
},
|
| 4111 |
"research/src/thirdloss/reporting.py": {
|
| 4112 |
"git_blob": "206d59a27fae7713677392a8e9d32769a7437239",
|
|
@@ -4154,9 +4184,9 @@
|
|
| 4154 |
"size": 16607
|
| 4155 |
},
|
| 4156 |
"research/tests/test_flatness.py": {
|
| 4157 |
-
"git_blob": "
|
| 4158 |
-
"sha256": "
|
| 4159 |
-
"size":
|
| 4160 |
},
|
| 4161 |
"research/tests/test_hub_archive.py": {
|
| 4162 |
"git_blob": "4c8dc24e6eb5f0aa7fc5e63be56ba0efa3ad4ec4",
|
|
@@ -4238,5 +4268,5 @@
|
|
| 4238 |
"type": "dataset"
|
| 4239 |
}
|
| 4240 |
},
|
| 4241 |
-
"verified_at": "2026-11-25T16:
|
| 4242 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"collection": "BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378",
|
| 3 |
+
"git_revision": "bfea2faba00a988d42ae080a99e7297e2d1a9d6f",
|
| 4 |
"repositories": {
|
| 5 |
"BurnyCoder/thirdloss-arxiv-abstracts-2024": {
|
| 6 |
"files": {
|
|
|
|
| 61 |
"size": 7098
|
| 62 |
},
|
| 63 |
"explorer.js": {
|
| 64 |
+
"git_blob": "22799876fd3a245b596d1e5e7ee075892f1f109c",
|
| 65 |
+
"sha256": "7af9e6ebba73a742362aa1a290578367be2d3a365a8e956b05fc6cc0cf7740c1",
|
| 66 |
+
"size": 18510
|
| 67 |
},
|
| 68 |
"figures/architecture.png": {
|
| 69 |
"git_blob": "2c41c712a9edfcc9f53e1ac8f76e751e54dc8924",
|
|
|
|
| 71 |
"size": 63324
|
| 72 |
},
|
| 73 |
"figures/curves.png": {
|
| 74 |
+
"git_blob": "6aeee4bfaf7fc9281ee39abe1e997adb9ded991d",
|
| 75 |
+
"sha256": "6e448c1218f468babbfbd71529e14eb553de0d73146947e12d9bd901a0e86ecc",
|
| 76 |
+
"size": 298973
|
| 77 |
},
|
| 78 |
"figures/hybrid_width.png": {
|
| 79 |
+
"git_blob": "787246d57b58c04c6510baf381ab8c59a5f95550",
|
| 80 |
+
"sha256": "dcaf5851779533050d0da88d65a3bcc538a9cb661e803fa3597b9a541b0e2604",
|
| 81 |
+
"size": 167741
|
| 82 |
},
|
| 83 |
"figures/penalty-directions.png": {
|
| 84 |
"git_blob": "74b76888f6466d197afbe991559d06c92af67eb1",
|
|
|
|
| 86 |
"size": 156490
|
| 87 |
},
|
| 88 |
"index.html": {
|
| 89 |
+
"git_blob": "6748c79821b0904714ac1971b101ab5928a597fc",
|
| 90 |
+
"sha256": "bc5010988105dd566c5c8450a9f5264c6695be221ff7a040079cf0d69064da23",
|
| 91 |
+
"size": 9629
|
| 92 |
},
|
| 93 |
"study.json": {
|
| 94 |
+
"git_blob": "19356a1daaf0917e71f0586ae2c04b79eafdec3f",
|
| 95 |
+
"sha256": "af1b9f88a8465740aed6ef024b3864c1c0aae608b224ef793e01f78414c40889",
|
| 96 |
+
"size": 2490263
|
| 97 |
}
|
| 98 |
},
|
| 99 |
+
"revision": "e03f7265ff6daa9b4509a7e5a0b5161b33363fbb",
|
| 100 |
"type": "space"
|
| 101 |
},
|
| 102 |
"BurnyCoder/thirdloss-pythia-410m-adapters": {
|
|
|
|
| 1468 |
"sha256": "31e1e2d51fa4f9df37a7fb82c0ea092c2fb33db507ffd3931d56b4b08068a545",
|
| 1469 |
"size": 164140
|
| 1470 |
},
|
| 1471 |
+
"logs/checkpoint-flatness-20261125T163331Z-stderr.log": {
|
| 1472 |
+
"git_blob": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
|
| 1473 |
+
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
| 1474 |
+
"size": 0
|
| 1475 |
+
},
|
| 1476 |
+
"logs/checkpoint-flatness-20261125T163331Z.log": {
|
| 1477 |
+
"git_blob": "59d75c54698561af441d0f825e8989765f56bee5",
|
| 1478 |
+
"sha256": "f58778b3d16bcd931e942c9925cbff72e48c9e882caebf21723bb8ac3fdb3f23",
|
| 1479 |
+
"size": 70
|
| 1480 |
+
},
|
| 1481 |
"logs/dashboard-20261125T151603Z-errors.log": {
|
| 1482 |
"git_blob": "05368bd6bcb80dae3bb7fee1ce931ef41f1811fe",
|
| 1483 |
"sha256": "0ba3310ba55bc030b0e607e65808f618f66ff438d5c767dc2fdde0ab6b67b8b0",
|
|
|
|
| 1498 |
"sha256": "1c73007c107dd521eed1fea4cd5cde00d25fca4863773228d18e29582eae50dd",
|
| 1499 |
"size": 7536
|
| 1500 |
},
|
| 1501 |
+
"logs/flatness-statistics-audit.log": {
|
| 1502 |
+
"git_blob": "b720bf4ed8e384a12d367364bc88d2fa0a3a61c1",
|
| 1503 |
+
"sha256": "3d809bc1a88f7a8ac8966834f80b68cc904de6ffbba1336de988a785004b0173",
|
| 1504 |
+
"size": 1334
|
| 1505 |
+
},
|
| 1506 |
"logs/flatness-statistics-release.log": {
|
| 1507 |
+
"git_blob": "2a19c1607659b4bc484cfe6019d5b32fc4a6ffe2",
|
| 1508 |
+
"sha256": "63e0905403beac78367d1f633b8392bb613cf2208d2c06ddae3350bc12776155",
|
| 1509 |
+
"size": 6233
|
| 1510 |
},
|
| 1511 |
"logs/flatness-statistics-render.log": {
|
| 1512 |
"git_blob": "37bbb4bdbd164007d9e8e84ddbdb5e73b2a11e1d",
|
| 1513 |
"sha256": "2ae7e37a0d60013de1b3d6870314f24554d6f4af83d0ce06b372b1eed3a9b1c6",
|
| 1514 |
"size": 79
|
| 1515 |
},
|
| 1516 |
+
"logs/flatness-surfaces-release.log": {
|
| 1517 |
+
"git_blob": "8fd0008e8548733007f9f6f5650928b975e8735f",
|
| 1518 |
+
"sha256": "cd737f92a7b7f1a4666238468916eccec632eeda92447bd740d63f3984af2c32",
|
| 1519 |
+
"size": 3096
|
| 1520 |
+
},
|
| 1521 |
"logs/hybrid-acceptance-after-release-recovery.log": {
|
| 1522 |
"git_blob": "ebc1e2b4c8e3f73dd0be49d41f58b0346cc1ac24",
|
| 1523 |
"sha256": "caf0a0c1cf35f6902dc455d76545f82d302019198497abedcff33456443ad331",
|
|
|
|
| 1744 |
"size": 299647
|
| 1745 |
},
|
| 1746 |
"logs/stories-hybrid-s23-always-r01-20261125T162919301106Z.jsonl": {
|
| 1747 |
+
"git_blob": "c9d7d59d4794b1f3746e8a6305ce492f5dc0e13d",
|
| 1748 |
+
"sha256": "2534fbe3460b4cc6d5cc03f034ff35bd83880398d446128723412bbd1b996865",
|
| 1749 |
+
"size": 567609
|
| 1750 |
},
|
| 1751 |
"logs/stories-hybrid-s23-late-r01-20261125T161151415908Z.jsonl": {
|
| 1752 |
"git_blob": "7f694eeccaef3cb6c0a5df0bd167e66c697a3508",
|
|
|
|
| 1874 |
"size": 298981
|
| 1875 |
},
|
| 1876 |
"logs/study-20261125T162200Z-hybrid-confirmation.log": {
|
| 1877 |
+
"git_blob": "b6fa1fc8d60b3c7c1a731e618c95b49eb8cc16d5",
|
| 1878 |
+
"sha256": "ee6eb757e2fd3439a05652609b02fc7647b4207171dd757ac4bb4a254a4650d6",
|
| 1879 |
+
"size": 1081986
|
| 1880 |
},
|
| 1881 |
"logs/study-20261125T162200Z-hybrid-stderr.log": {
|
| 1882 |
"git_blob": "c496508cca128ee67b6e0c8ef1d14da869a78c60",
|
|
|
|
| 1969 |
"size": 7098
|
| 1970 |
},
|
| 1971 |
"research/docs/explorer.js": {
|
| 1972 |
+
"git_blob": "22799876fd3a245b596d1e5e7ee075892f1f109c",
|
| 1973 |
+
"sha256": "7af9e6ebba73a742362aa1a290578367be2d3a365a8e956b05fc6cc0cf7740c1",
|
| 1974 |
+
"size": 18510
|
| 1975 |
},
|
| 1976 |
"research/docs/figures/architecture.png": {
|
| 1977 |
"git_blob": "2c41c712a9edfcc9f53e1ac8f76e751e54dc8924",
|
|
|
|
| 1979 |
"size": 63324
|
| 1980 |
},
|
| 1981 |
"research/docs/figures/curves.png": {
|
| 1982 |
+
"git_blob": "6aeee4bfaf7fc9281ee39abe1e997adb9ded991d",
|
| 1983 |
+
"sha256": "6e448c1218f468babbfbd71529e14eb553de0d73146947e12d9bd901a0e86ecc",
|
| 1984 |
+
"size": 298973
|
| 1985 |
},
|
| 1986 |
"research/docs/figures/hybrid_width.png": {
|
| 1987 |
+
"git_blob": "787246d57b58c04c6510baf381ab8c59a5f95550",
|
| 1988 |
+
"sha256": "dcaf5851779533050d0da88d65a3bcc538a9cb661e803fa3597b9a541b0e2604",
|
| 1989 |
+
"size": 167741
|
| 1990 |
},
|
| 1991 |
"research/docs/figures/penalty-directions.png": {
|
| 1992 |
"git_blob": "74b76888f6466d197afbe991559d06c92af67eb1",
|
|
|
|
| 2024 |
"size": 1435
|
| 2025 |
},
|
| 2026 |
"research/docs/index.html": {
|
| 2027 |
+
"git_blob": "2dc4e5af5f48ff4f1df423136f875f2e6f43edeb",
|
| 2028 |
+
"sha256": "cace84c8c8c8fcceb321db703d17e23729ac5d0e8d5075bd1c0c38f38a5b506c",
|
| 2029 |
+
"size": 9925
|
| 2030 |
},
|
| 2031 |
"research/docs/runbook.md": {
|
| 2032 |
+
"git_blob": "ea48f635e9f0453e7ec601c56ca2f14ec7150d4e",
|
| 2033 |
+
"sha256": "edf84a54a921d611af0e262d338457c4b82f29eabf1a3b0e05d41f31e72ef4c8",
|
| 2034 |
+
"size": 9147
|
| 2035 |
},
|
| 2036 |
"research/docs/study.json": {
|
| 2037 |
+
"git_blob": "19356a1daaf0917e71f0586ae2c04b79eafdec3f",
|
| 2038 |
+
"sha256": "af1b9f88a8465740aed6ef024b3864c1c0aae608b224ef793e01f78414c40889",
|
| 2039 |
+
"size": 2490263
|
| 2040 |
},
|
| 2041 |
"research/docs/third-derivative-penalty.md": {
|
| 2042 |
"git_blob": "ef2f9eaf958073e25771c60e97a4ce10b2a1b687",
|
|
|
|
| 2169 |
"size": 231
|
| 2170 |
},
|
| 2171 |
"research/reports/experiments/experiments.md": {
|
| 2172 |
+
"git_blob": "a92dc43321f80cd1d7eb073e2ffdd1220a8468e0",
|
| 2173 |
+
"sha256": "dac40e268249dec37b639f3ccdeb9d8dfd0d8c99eb387957c461a9f2f3679675",
|
| 2174 |
+
"size": 8325
|
| 2175 |
},
|
| 2176 |
"research/reports/experiments/learnings.md": {
|
| 2177 |
+
"git_blob": "f6714cefb9dca6e277cc257dc804e0fb6a19bc81",
|
| 2178 |
+
"sha256": "e0160b16b2cc699dd67ed9be8bfdf17a6b7ae44be62f268d4b03ad32a0317985",
|
| 2179 |
+
"size": 11236
|
| 2180 |
},
|
| 2181 |
"research/reports/experiments/stories-branch-s21-trunk-r01/experiment.md": {
|
| 2182 |
"git_blob": "89dd0c1f4c4edd8fc49122a9b2f2076d744f9d27",
|
|
|
|
| 2349 |
"size": 239
|
| 2350 |
},
|
| 2351 |
"research/reports/experiments/stories-hybrid-s23-always-r01/experiment.md": {
|
| 2352 |
+
"git_blob": "d932ccdb528f8c245ee57ddf4c55f9a6b0730b0d",
|
| 2353 |
+
"sha256": "3d09e90de601f13de0fbb1a1339b6749579231ab93e74ef6deba8ae74484fcd5",
|
| 2354 |
+
"size": 733
|
| 2355 |
},
|
| 2356 |
"research/reports/experiments/stories-hybrid-s23-always-r01/learnings.md": {
|
| 2357 |
+
"git_blob": "2861b88cf367252380c7eb202703a309107cbd35",
|
| 2358 |
+
"sha256": "6f9c5febe21940c710474509373a6f4ca2a8f61caa1afe6bc370337df3ae31d7",
|
| 2359 |
+
"size": 237
|
| 2360 |
},
|
| 2361 |
"research/reports/experiments/stories-hybrid-s23-late-r01/experiment.md": {
|
| 2362 |
"git_blob": "f9baf26b8c22d00021f06c4ef80f91eda0d79f68",
|
|
|
|
| 2499 |
"size": 7658
|
| 2500 |
},
|
| 2501 |
"research/reports/hybrid/results.md": {
|
| 2502 |
+
"git_blob": "a752d0929729ed41cbea61070b88b737490bb43f",
|
| 2503 |
+
"sha256": "ddd3396060f60fb957c5e2b6ca383a4f4c6c0702c84c899bce5260648374ef7e",
|
| 2504 |
+
"size": 13697
|
| 2505 |
},
|
| 2506 |
"research/reports/literature-review.md": {
|
| 2507 |
"git_blob": "60cb61940a961b869b09e18931fb885668994e62",
|
|
|
|
| 2509 |
"size": 7290
|
| 2510 |
},
|
| 2511 |
"research/reports/paper.pdf": {
|
| 2512 |
+
"git_blob": "b20eba71501d02dc7978c8e94094a3a5f355465a",
|
| 2513 |
+
"sha256": "ef2a18f959b6d6a77c515e03aca7ad566c8a0a6f28d7da2fabb5b979888b524a",
|
| 2514 |
+
"size": 660721
|
| 2515 |
},
|
| 2516 |
"research/reports/plan.md": {
|
| 2517 |
"git_blob": "d15ec7b2f2324e3aedb389d2fd95208a31978596",
|
|
|
|
| 2529 |
"size": 5234
|
| 2530 |
},
|
| 2531 |
"research/reports/progress.md": {
|
| 2532 |
+
"git_blob": "bdbf6731737384d575cbd454b1f2a16dd26c537f",
|
| 2533 |
+
"sha256": "73fae3a8368ede8324b2d67316e261046ae9364fae5389ca754280a80427577e",
|
| 2534 |
"size": 2289
|
| 2535 |
},
|
| 2536 |
"research/reports/reviews/adapter-verification.md": {
|
|
|
|
| 3589 |
"size": 540
|
| 3590 |
},
|
| 3591 |
"research/results/stories-hybrid-s23-always-r01/events.jsonl": {
|
| 3592 |
+
"git_blob": "f9d49b5dd1418ddb05a922f531d9ef3bdf744993",
|
| 3593 |
+
"sha256": "7d158296539a3633c71d6f88d357f9a55a1c5772bb0c97fef5c732fb819d567e",
|
| 3594 |
+
"size": 552334
|
| 3595 |
},
|
| 3596 |
"research/results/stories-hybrid-s23-always-r01/state.json": {
|
| 3597 |
"git_blob": "61a5eb894aee290a4a4bbc58f808853b1727914a",
|
| 3598 |
"sha256": "7a1c71c2f4ddd75e67723dbb3dc93d512a5fae4376170330ba6020a672f30c50",
|
| 3599 |
"size": 71
|
| 3600 |
},
|
| 3601 |
+
"research/results/stories-hybrid-s23-always-r01/width-2048.json": {
|
| 3602 |
+
"git_blob": "2f13460a7f2fd1b3e1ed60dd2c977d46e7c2669b",
|
| 3603 |
+
"sha256": "7a8991cb52f59e96d71192cb75dc4b5a1c9f0315bac015a91a335391236e2148",
|
| 3604 |
+
"size": 3731
|
| 3605 |
+
},
|
| 3606 |
+
"research/results/stories-hybrid-s23-always-r01/width-3072.json": {
|
| 3607 |
+
"git_blob": "f669d567505f2a93d31e99c3d04087466dc315ee",
|
| 3608 |
+
"sha256": "38607970efb61151f417b71cc1eef90aeae57487ac5b249fb0b53c2ff65efdf9",
|
| 3609 |
+
"size": 3744
|
| 3610 |
+
},
|
| 3611 |
"research/results/stories-hybrid-s23-late-r01/config.json": {
|
| 3612 |
"git_blob": "b4ac20b62628bc70833cb299c8328b1741c16c4e",
|
| 3613 |
"sha256": "8c5f344e258a1d58cc794b3873dd39b5cb7ef029058358804b814834c32a307e",
|
|
|
|
| 4029 |
"size": 6022
|
| 4030 |
},
|
| 4031 |
"research/src/thirdloss/cli.py": {
|
| 4032 |
+
"git_blob": "30fb1cc27083490d54849fc0fe11a20d5479ac58",
|
| 4033 |
+
"sha256": "1f2780c809df053fafc628a8008d7a0101965ca406973be59811ec61c2551360",
|
| 4034 |
+
"size": 7853
|
| 4035 |
},
|
| 4036 |
"research/src/thirdloss/data.py": {
|
| 4037 |
"git_blob": "9b06438a0bce64f8d491cd65156ebe8aa04e8916",
|
|
|
|
| 4049 |
"size": 1671
|
| 4050 |
},
|
| 4051 |
"research/src/thirdloss/flatness_tables.py": {
|
| 4052 |
+
"git_blob": "964b675f55d3b927ecd8a580bc594546923cb8df",
|
| 4053 |
+
"sha256": "c3f12cc36a351a1b2351ef6aed425117ba8d68cd0b05716b8e9fef898168a2b8",
|
| 4054 |
+
"size": 5803
|
| 4055 |
},
|
| 4056 |
"research/src/thirdloss/hub_archive.py": {
|
| 4057 |
"git_blob": "9a24c6c6f0f3f6e06fa43c775b47a5a03c1d12f6",
|
|
|
|
| 4109 |
"size": 11879
|
| 4110 |
},
|
| 4111 |
"research/src/thirdloss/readme_comparisons.py": {
|
| 4112 |
+
"git_blob": "f13ff404573a6db0fd24619f76930caf755513e6",
|
| 4113 |
+
"sha256": "65f970adc80408894c4de0e2fac89979ea7ef53b891eb82cf9d8ea63a1de11d1",
|
| 4114 |
+
"size": 22476
|
| 4115 |
},
|
| 4116 |
"research/src/thirdloss/records.py": {
|
| 4117 |
"git_blob": "a800de00d42944f13a89d8d2f91ce9b2103bbd45",
|
|
|
|
| 4129 |
"size": 10129
|
| 4130 |
},
|
| 4131 |
"research/src/thirdloss/report_paper.py": {
|
| 4132 |
+
"git_blob": "989db9b040c8371cdd45bcee42c2e6528ef68207",
|
| 4133 |
+
"sha256": "35e3ad2250698abc58da11aa7baec070e25873d1caebd27365693762a703646c",
|
| 4134 |
+
"size": 35302
|
| 4135 |
},
|
| 4136 |
"research/src/thirdloss/report_records.py": {
|
| 4137 |
+
"git_blob": "ff096fcc23b557db64119ba2f0bbe74cfe1c22f8",
|
| 4138 |
+
"sha256": "049780f002bef0c8ebc92d6eccc545476d23d94c08365ea4447644b0ff0669bd",
|
| 4139 |
+
"size": 15122
|
| 4140 |
},
|
| 4141 |
"research/src/thirdloss/reporting.py": {
|
| 4142 |
"git_blob": "206d59a27fae7713677392a8e9d32769a7437239",
|
|
|
|
| 4184 |
"size": 16607
|
| 4185 |
},
|
| 4186 |
"research/tests/test_flatness.py": {
|
| 4187 |
+
"git_blob": "c045f1d7aca3ee9e610d70a7aa4acf8e25f5c736",
|
| 4188 |
+
"sha256": "8f4899df24688ee0da65f44d80ee02c55681dcdb13880ae28da04732a327781d",
|
| 4189 |
+
"size": 2947
|
| 4190 |
},
|
| 4191 |
"research/tests/test_hub_archive.py": {
|
| 4192 |
"git_blob": "4c8dc24e6eb5f0aa7fc5e63be56ba0efa3ad4ec4",
|
|
|
|
| 4268 |
"type": "dataset"
|
| 4269 |
}
|
| 4270 |
},
|
| 4271 |
+
"verified_at": "2026-11-25T16:38:02+00:00"
|
| 4272 |
}
|
research/docs/explorer.js
CHANGED
|
@@ -15,7 +15,9 @@ const metrics = {
|
|
| 15 |
raw_third: ["Third-derivative norm estimate", "squared Frobenius estimate"],
|
| 16 |
raw_trace: ["Hessian trace estimate", "signed trace estimate"],
|
| 17 |
raw_hessian_norm: ["Squared Hessian norm estimate", "squared Frobenius estimate"],
|
| 18 |
-
width: ["Directional width", "Euclidean weight distance"], width_probe_nll: ["Width-probe loss", "nats / target token"],
|
|
|
|
|
|
|
| 19 |
curvature_rms: ["Rolling RMS curvature", "RMS Hessian eigenvalue estimate"],
|
| 20 |
third_lambda: ["Third-derivative coefficient", "coefficient"], trace_lambda: ["Trace coefficient", "coefficient"],
|
| 21 |
gradient_norm: ["Unclipped gradient norm", "Euclidean gradient norm"],
|
|
|
|
| 15 |
raw_third: ["Third-derivative norm estimate", "squared Frobenius estimate"],
|
| 16 |
raw_trace: ["Hessian trace estimate", "signed trace estimate"],
|
| 17 |
raw_hessian_norm: ["Squared Hessian norm estimate", "squared Frobenius estimate"],
|
| 18 |
+
width: ["Directional width", "Euclidean weight distance · wider is flatter"], width_probe_nll: ["Width-probe loss", "nats / target token"],
|
| 19 |
+
checkpoint_rms: ["Checkpoint RMS curvature", "RMS curvature · lower means less bending"],
|
| 20 |
+
checkpoint_signed_trace: ["Checkpoint signed trace / parameter", "mean signed curvature · no preferred direction"],
|
| 21 |
curvature_rms: ["Rolling RMS curvature", "RMS Hessian eigenvalue estimate"],
|
| 22 |
third_lambda: ["Third-derivative coefficient", "coefficient"], trace_lambda: ["Trace coefficient", "coefficient"],
|
| 23 |
gradient_norm: ["Unclipped gradient norm", "Euclidean gradient norm"],
|
research/docs/figures/curves.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
research/docs/figures/hybrid_width.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
research/docs/index.html
CHANGED
|
@@ -50,6 +50,8 @@
|
|
| 50 |
<option value="penalty">Weighted active penalty</option><option value="raw_third">Third-derivative norm estimate</option>
|
| 51 |
<option value="raw_trace">Hessian trace estimate</option><option value="raw_hessian_norm">Squared Hessian norm estimate</option>
|
| 52 |
<option value="width">Directional width</option><option value="width_probe_nll">Width-probe training NLL</option>
|
|
|
|
|
|
|
| 53 |
<option value="curvature_rms">Rolling RMS curvature</option><option value="third_lambda">Third-derivative coefficient</option>
|
| 54 |
<option value="trace_lambda">Trace coefficient</option><option value="gradient_norm">Unclipped gradient norm</option>
|
| 55 |
</select></label>
|
|
|
|
| 50 |
<option value="penalty">Weighted active penalty</option><option value="raw_third">Third-derivative norm estimate</option>
|
| 51 |
<option value="raw_trace">Hessian trace estimate</option><option value="raw_hessian_norm">Squared Hessian norm estimate</option>
|
| 52 |
<option value="width">Directional width</option><option value="width_probe_nll">Width-probe training NLL</option>
|
| 53 |
+
<option value="checkpoint_rms">Checkpoint RMS curvature (lower is flatter locally)</option>
|
| 54 |
+
<option value="checkpoint_signed_trace">Checkpoint signed trace per parameter</option>
|
| 55 |
<option value="curvature_rms">Rolling RMS curvature</option><option value="third_lambda">Third-derivative coefficient</option>
|
| 56 |
<option value="trace_lambda">Trace coefficient</option><option value="gradient_norm">Unclipped gradient norm</option>
|
| 57 |
</select></label>
|
research/docs/runbook.md
CHANGED
|
@@ -58,3 +58,5 @@ With `study --publish`, the local trainer sends active loss, accuracy, probe est
|
|
| 58 |
## Checkpoint flatness
|
| 59 |
|
| 60 |
Run `uv run --locked thirdloss flatness --stage both --phase pilot --publish` to measure the selected models and fitted pilot controls. Use `--phase confirm` for the eight-seed checkpoints. Each call checks the training stream and exported weights, resumes from saved measurements and publishes each newly measured checkpoint. Schedule this command between timed training runs on the same GPU. Run `uv run --locked thirdloss report` to rebuild the statistics from the saved measurements. [Design](../reports/amendments/checkpoint-flatness.md) · [Results and raw probes](../reports/flatness.md)
|
|
|
|
|
|
|
|
|
| 58 |
## Checkpoint flatness
|
| 59 |
|
| 60 |
Run `uv run --locked thirdloss flatness --stage both --phase pilot --publish` to measure the selected models and fitted pilot controls. Use `--phase confirm` for the eight-seed checkpoints. Each call checks the training stream and exported weights, resumes from saved measurements and publishes each newly measured checkpoint. Schedule this command between timed training runs on the same GPU. Run `uv run --locked thirdloss report` to rebuild the statistics from the saved measurements. [Design](../reports/amendments/checkpoint-flatness.md) · [Results and raw probes](../reports/flatness.md)
|
| 61 |
+
|
| 62 |
+
For a complete sequential run, use `uv run --locked thirdloss study --with-hybrid --with-flatness --publish`. The final flatness pass picks up any outstanding primary checkpoints. The explorer’s measurement menu includes directional width, checkpoint RMS curvature and signed trace per parameter. [Live explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer)
|
research/docs/study.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
research/reports/experiments/experiments.md
CHANGED
|
@@ -34,7 +34,7 @@ NLL is negative log-likelihood in nats per target token. A smaller value assigns
|
|
| 34 |
| [stories-hybrid-s22-strong-r01](./stories-hybrid-s22-strong-r01/experiment.md) | TinyStories | Stronger trace | hybrid | 22 | 0.010 | 16,777,216 | 2.5464 | — | 60,263 | complete |
|
| 35 |
| [stories-hybrid-s22-trace-r01](./stories-hybrid-s22-trace-r01/experiment.md) | TinyStories | Hessian trace | hybrid | 22 | 0.010 | 16,777,216 | 2.5463 | — | 61,689 | complete |
|
| 36 |
| [stories-hybrid-s23-adaptive-r01](./stories-hybrid-s23-adaptive-r01/experiment.md) | TinyStories | Curvature-dependent hybrid | hybrid | 23 | 0.010 | 16,777,216 | 2.5423 | — | 37,872 | complete |
|
| 37 |
-
| [stories-hybrid-s23-always-r01](./stories-hybrid-s23-always-r01/experiment.md) | TinyStories | Always-on hybrid | hybrid | 23 | 0.010 |
|
| 38 |
| [stories-hybrid-s23-late-r01](./stories-hybrid-s23-late-r01/experiment.md) | TinyStories | Fixed late hybrid | hybrid | 23 | 0.010 | 16,777,216 | 2.5425 | — | 40,662 | complete |
|
| 39 |
| [stories-hybrid-s23-strong-r01](./stories-hybrid-s23-strong-r01/experiment.md) | TinyStories | Stronger trace | hybrid | 23 | 0.010 | 16,777,216 | 2.5424 | — | 60,806 | complete |
|
| 40 |
| [stories-hybrid-s23-trace-r01](./stories-hybrid-s23-trace-r01/experiment.md) | TinyStories | Hessian trace | hybrid | 23 | 0.010 | 16,777,216 | 2.5423 | — | 59,471 | complete |
|
|
|
|
| 34 |
| [stories-hybrid-s22-strong-r01](./stories-hybrid-s22-strong-r01/experiment.md) | TinyStories | Stronger trace | hybrid | 22 | 0.010 | 16,777,216 | 2.5464 | — | 60,263 | complete |
|
| 35 |
| [stories-hybrid-s22-trace-r01](./stories-hybrid-s22-trace-r01/experiment.md) | TinyStories | Hessian trace | hybrid | 22 | 0.010 | 16,777,216 | 2.5463 | — | 61,689 | complete |
|
| 36 |
| [stories-hybrid-s23-adaptive-r01](./stories-hybrid-s23-adaptive-r01/experiment.md) | TinyStories | Curvature-dependent hybrid | hybrid | 23 | 0.010 | 16,777,216 | 2.5423 | — | 37,872 | complete |
|
| 37 |
+
| [stories-hybrid-s23-always-r01](./stories-hybrid-s23-always-r01/experiment.md) | TinyStories | Always-on hybrid | hybrid | 23 | 0.010 | 15,298,560 | 2.5489 | — | — | training |
|
| 38 |
| [stories-hybrid-s23-late-r01](./stories-hybrid-s23-late-r01/experiment.md) | TinyStories | Fixed late hybrid | hybrid | 23 | 0.010 | 16,777,216 | 2.5425 | — | 40,662 | complete |
|
| 39 |
| [stories-hybrid-s23-strong-r01](./stories-hybrid-s23-strong-r01/experiment.md) | TinyStories | Stronger trace | hybrid | 23 | 0.010 | 16,777,216 | 2.5424 | — | 60,806 | complete |
|
| 40 |
| [stories-hybrid-s23-trace-r01](./stories-hybrid-s23-trace-r01/experiment.md) | TinyStories | Hessian trace | hybrid | 23 | 0.010 | 16,777,216 | 2.5423 | — | 59,471 | complete |
|
research/reports/experiments/learnings.md
CHANGED
|
@@ -62,7 +62,7 @@ Independent random signs include mixed weight derivatives in the expected penalt
|
|
| 62 |
|
| 63 |
- [stories-hybrid-s23-adaptive-r01](./stories-hybrid-s23-adaptive-r01/experiment.md) — Development NLL changed by -0.1848 nats per target token from 8,912,896 to 16,777,216 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
| 64 |
|
| 65 |
-
- [stories-hybrid-s23-always-r01](./stories-hybrid-s23-always-r01/experiment.md) — Development NLL changed by -3.
|
| 66 |
|
| 67 |
- [stories-hybrid-s23-late-r01](./stories-hybrid-s23-late-r01/experiment.md) — Development NLL changed by -0.1847 nats per target token from 8,912,896 to 16,777,216 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
| 68 |
|
|
|
|
| 62 |
|
| 63 |
- [stories-hybrid-s23-adaptive-r01](./stories-hybrid-s23-adaptive-r01/experiment.md) — Development NLL changed by -0.1848 nats per target token from 8,912,896 to 16,777,216 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
| 64 |
|
| 65 |
+
- [stories-hybrid-s23-always-r01](./stories-hybrid-s23-always-r01/experiment.md) — Development NLL changed by -3.4602 nats per target token from 524,288 to 15,204,352 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
| 66 |
|
| 67 |
- [stories-hybrid-s23-late-r01](./stories-hybrid-s23-late-r01/experiment.md) — Development NLL changed by -0.1847 nats per target token from 8,912,896 to 16,777,216 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
| 68 |
|
research/reports/experiments/stories-hybrid-s23-always-r01/experiment.md
CHANGED
|
@@ -4,8 +4,8 @@ Run `stories-hybrid-s23-always-r01` · [raw records](../../../results/stories-hy
|
|
| 4 |
|
| 5 |
| Stage | Method | Phase | Seed | Ratio | Train tokens | Dev NLL | Test NLL | Tokens/s | Status |
|
| 6 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
| 7 |
-
| TinyStories | Always-on hybrid | hybrid | 23 | 0.010 |
|
| 8 |
|
| 9 |
-
Training time is
|
| 10 |
|
| 11 |
[Design and hyperparameter rationale](../../planned-runs.md) · [Saved configuration](../../../results/stories-hybrid-s23-always-r01/config.json)
|
|
|
|
| 4 |
|
| 5 |
| Stage | Method | Phase | Seed | Ratio | Train tokens | Dev NLL | Test NLL | Tokens/s | Status |
|
| 6 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
| 7 |
+
| TinyStories | Always-on hybrid | hybrid | 23 | 0.010 | 15,298,560 | 2.5489 | — | — | training |
|
| 8 |
|
| 9 |
+
Training time is 472.9 seconds. Peak allocated GPU memory is — MiB. Development token accuracy is 0.4622. Test token accuracy is —.
|
| 10 |
|
| 11 |
[Design and hyperparameter rationale](../../planned-runs.md) · [Saved configuration](../../../results/stories-hybrid-s23-always-r01/config.json)
|
research/reports/experiments/stories-hybrid-s23-always-r01/learnings.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Run learnings
|
| 2 |
|
| 3 |
-
Development NLL changed by -3.
|
| 4 |
|
| 5 |
[Experiment and source records](experiment.md)
|
|
|
|
| 1 |
# Run learnings
|
| 2 |
|
| 3 |
+
Development NLL changed by -3.4602 nats per target token from 524,288 to 15,204,352 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
| 4 |
|
| 5 |
[Experiment and source records](experiment.md)
|
research/reports/hybrid/results.md
CHANGED
|
@@ -49,6 +49,8 @@ Two-sided directional width is measured in the original Euclidean weight coordin
|
|
| 49 |
| 23 | Curvature-dependent hybrid | [2048](../../results/stories-hybrid-s23-adaptive-r01/width-2048.json) | 14.99414 | 14.99316 | 14.99512 | 0 | 2.80132 | 7.17 |
|
| 50 |
| 23 | Curvature-dependent hybrid | [3072](../../results/stories-hybrid-s23-adaptive-r01/width-3072.json) | 13.89697 | 13.89600 | 13.89795 | 0 | 2.64069 | 6.27 |
|
| 51 |
| 23 | Curvature-dependent hybrid | [4096](../../results/stories-hybrid-s23-adaptive-r01/width-4096.json) | 13.04834 | 13.04736 | 13.04932 | 0 | 2.59710 | 6.49 |
|
|
|
|
|
|
|
| 52 |
| 23 | Fixed late hybrid | [2048](../../results/stories-hybrid-s23-late-r01/width-2048.json) | 14.99414 | 14.99316 | 14.99512 | 0 | 2.80132 | 7.17 |
|
| 53 |
| 23 | Fixed late hybrid | [3072](../../results/stories-hybrid-s23-late-r01/width-3072.json) | 13.92383 | 13.92285 | 13.92480 | 0 | 2.64046 | 5.92 |
|
| 54 |
| 23 | Fixed late hybrid | [4096](../../results/stories-hybrid-s23-late-r01/width-4096.json) | 13.10254 | 13.10156 | 13.10352 | 0 | 2.59694 | 5.37 |
|
|
|
|
| 49 |
| 23 | Curvature-dependent hybrid | [2048](../../results/stories-hybrid-s23-adaptive-r01/width-2048.json) | 14.99414 | 14.99316 | 14.99512 | 0 | 2.80132 | 7.17 |
|
| 50 |
| 23 | Curvature-dependent hybrid | [3072](../../results/stories-hybrid-s23-adaptive-r01/width-3072.json) | 13.89697 | 13.89600 | 13.89795 | 0 | 2.64069 | 6.27 |
|
| 51 |
| 23 | Curvature-dependent hybrid | [4096](../../results/stories-hybrid-s23-adaptive-r01/width-4096.json) | 13.04834 | 13.04736 | 13.04932 | 0 | 2.59710 | 6.49 |
|
| 52 |
+
| 23 | Always-on hybrid | [2048](../../results/stories-hybrid-s23-always-r01/width-2048.json) | 15.05615 | 15.05518 | 15.05713 | 0 | 2.80374 | 4.80 |
|
| 53 |
+
| 23 | Always-on hybrid | [3072](../../results/stories-hybrid-s23-always-r01/width-3072.json) | 13.92969 | 13.92871 | 13.93066 | 0 | 2.63984 | 4.69 |
|
| 54 |
| 23 | Fixed late hybrid | [2048](../../results/stories-hybrid-s23-late-r01/width-2048.json) | 14.99414 | 14.99316 | 14.99512 | 0 | 2.80132 | 7.17 |
|
| 55 |
| 23 | Fixed late hybrid | [3072](../../results/stories-hybrid-s23-late-r01/width-3072.json) | 13.92383 | 13.92285 | 13.92480 | 0 | 2.64046 | 5.92 |
|
| 56 |
| 23 | Fixed late hybrid | [4096](../../results/stories-hybrid-s23-late-r01/width-4096.json) | 13.10254 | 13.10156 | 13.10352 | 0 | 2.59694 | 5.37 |
|
research/reports/paper.pdf
CHANGED
|
Binary files a/research/reports/paper.pdf and b/research/reports/paper.pdf differ
|
|
|
research/reports/progress.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Study progress
|
| 2 |
|
| 3 |
-
Updated 2026-11-25T16:
|
| 4 |
|
| 5 |
21 training/control records and 0 final evaluations are complete. This is 17.5% of 120 planned model milestones.
|
| 6 |
|
|
|
|
| 1 |
# Study progress
|
| 2 |
|
| 3 |
+
Updated 2026-11-25T16:37:46+00:00.
|
| 4 |
|
| 5 |
21 training/control records and 0 final evaluations are complete. This is 17.5% of 120 planned model milestones.
|
| 6 |
|
research/results/stories-hybrid-s23-always-r01/events.jsonl
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
research/results/stories-hybrid-s23-always-r01/width-2048.json
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"step": 2048,
|
| 3 |
+
"tokens": 8388608,
|
| 4 |
+
"baseline_nll": 2.803743362426758,
|
| 5 |
+
"delta_nll": 0.1,
|
| 6 |
+
"directions": [
|
| 7 |
+
{
|
| 8 |
+
"direction": 0,
|
| 9 |
+
"positive": {
|
| 10 |
+
"lower": 8.240234375,
|
| 11 |
+
"upper": 8.2421875
|
| 12 |
+
},
|
| 13 |
+
"negative": {
|
| 14 |
+
"lower": 6.873046875,
|
| 15 |
+
"upper": 6.8740234375
|
| 16 |
+
}
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"direction": 1,
|
| 20 |
+
"positive": {
|
| 21 |
+
"lower": 7.3955078125,
|
| 22 |
+
"upper": 7.396484375
|
| 23 |
+
},
|
| 24 |
+
"negative": {
|
| 25 |
+
"lower": 7.4462890625,
|
| 26 |
+
"upper": 7.447265625
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"direction": 2,
|
| 31 |
+
"positive": {
|
| 32 |
+
"lower": 7.203125,
|
| 33 |
+
"upper": 7.2041015625
|
| 34 |
+
},
|
| 35 |
+
"negative": {
|
| 36 |
+
"lower": 7.51953125,
|
| 37 |
+
"upper": 7.5205078125
|
| 38 |
+
}
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"direction": 3,
|
| 42 |
+
"positive": {
|
| 43 |
+
"lower": 7.4267578125,
|
| 44 |
+
"upper": 7.427734375
|
| 45 |
+
},
|
| 46 |
+
"negative": {
|
| 47 |
+
"lower": 8.138671875,
|
| 48 |
+
"upper": 8.140625
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"direction": 4,
|
| 53 |
+
"positive": {
|
| 54 |
+
"lower": 7.5927734375,
|
| 55 |
+
"upper": 7.59375
|
| 56 |
+
},
|
| 57 |
+
"negative": {
|
| 58 |
+
"lower": 7.4033203125,
|
| 59 |
+
"upper": 7.404296875
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"direction": 5,
|
| 64 |
+
"positive": {
|
| 65 |
+
"lower": 8.138671875,
|
| 66 |
+
"upper": 8.140625
|
| 67 |
+
},
|
| 68 |
+
"negative": {
|
| 69 |
+
"lower": 7.4208984375,
|
| 70 |
+
"upper": 7.421875
|
| 71 |
+
}
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"direction": 6,
|
| 75 |
+
"positive": {
|
| 76 |
+
"lower": 6.6279296875,
|
| 77 |
+
"upper": 6.62890625
|
| 78 |
+
},
|
| 79 |
+
"negative": {
|
| 80 |
+
"lower": 8.23046875,
|
| 81 |
+
"upper": 8.232421875
|
| 82 |
+
}
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"direction": 7,
|
| 86 |
+
"positive": {
|
| 87 |
+
"lower": 7.2255859375,
|
| 88 |
+
"upper": 7.2265625
|
| 89 |
+
},
|
| 90 |
+
"negative": {
|
| 91 |
+
"lower": 8.37890625,
|
| 92 |
+
"upper": 8.380859375
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"direction": 8,
|
| 97 |
+
"positive": {
|
| 98 |
+
"lower": 7.6494140625,
|
| 99 |
+
"upper": 7.650390625
|
| 100 |
+
},
|
| 101 |
+
"negative": {
|
| 102 |
+
"lower": 7.9140625,
|
| 103 |
+
"upper": 7.9150390625
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"direction": 9,
|
| 108 |
+
"positive": {
|
| 109 |
+
"lower": 7.2998046875,
|
| 110 |
+
"upper": 7.30078125
|
| 111 |
+
},
|
| 112 |
+
"negative": {
|
| 113 |
+
"lower": 7.6357421875,
|
| 114 |
+
"upper": 7.63671875
|
| 115 |
+
}
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"direction": 10,
|
| 119 |
+
"positive": {
|
| 120 |
+
"lower": 7.150390625,
|
| 121 |
+
"upper": 7.1513671875
|
| 122 |
+
},
|
| 123 |
+
"negative": {
|
| 124 |
+
"lower": 7.884765625,
|
| 125 |
+
"upper": 7.8857421875
|
| 126 |
+
}
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"direction": 11,
|
| 130 |
+
"positive": {
|
| 131 |
+
"lower": 8.021484375,
|
| 132 |
+
"upper": 8.0234375
|
| 133 |
+
},
|
| 134 |
+
"negative": {
|
| 135 |
+
"lower": 6.8681640625,
|
| 136 |
+
"upper": 6.869140625
|
| 137 |
+
}
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"direction": 12,
|
| 141 |
+
"positive": {
|
| 142 |
+
"lower": 7.5478515625,
|
| 143 |
+
"upper": 7.548828125
|
| 144 |
+
},
|
| 145 |
+
"negative": {
|
| 146 |
+
"lower": 8.060546875,
|
| 147 |
+
"upper": 8.0625
|
| 148 |
+
}
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"direction": 13,
|
| 152 |
+
"positive": {
|
| 153 |
+
"lower": 7.376953125,
|
| 154 |
+
"upper": 7.3779296875
|
| 155 |
+
},
|
| 156 |
+
"negative": {
|
| 157 |
+
"lower": 7.3388671875,
|
| 158 |
+
"upper": 7.33984375
|
| 159 |
+
}
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"direction": 14,
|
| 163 |
+
"positive": {
|
| 164 |
+
"lower": 7.626953125,
|
| 165 |
+
"upper": 7.6279296875
|
| 166 |
+
},
|
| 167 |
+
"negative": {
|
| 168 |
+
"lower": 7.4482421875,
|
| 169 |
+
"upper": 7.44921875
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"direction": 15,
|
| 174 |
+
"positive": {
|
| 175 |
+
"lower": 6.56640625,
|
| 176 |
+
"upper": 6.5673828125
|
| 177 |
+
},
|
| 178 |
+
"negative": {
|
| 179 |
+
"lower": 8.734375,
|
| 180 |
+
"upper": 8.736328125
|
| 181 |
+
}
|
| 182 |
+
}
|
| 183 |
+
],
|
| 184 |
+
"width_lower": 15.05517578125,
|
| 185 |
+
"width_upper": 15.05712890625,
|
| 186 |
+
"width": 15.05615234375,
|
| 187 |
+
"censored_rays": 0,
|
| 188 |
+
"weights_sha256": "e9c8679927bb6af52c89f9d24477dcc4874e119ea7d174121f9558147698e2ac",
|
| 189 |
+
"weights_restored": true,
|
| 190 |
+
"seconds": 4.798209000000497
|
| 191 |
+
}
|
research/results/stories-hybrid-s23-always-r01/width-3072.json
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"step": 3072,
|
| 3 |
+
"tokens": 12582912,
|
| 4 |
+
"baseline_nll": 2.6398448944091797,
|
| 5 |
+
"delta_nll": 0.1,
|
| 6 |
+
"directions": [
|
| 7 |
+
{
|
| 8 |
+
"direction": 0,
|
| 9 |
+
"positive": {
|
| 10 |
+
"lower": 7.8701171875,
|
| 11 |
+
"upper": 7.87109375
|
| 12 |
+
},
|
| 13 |
+
"negative": {
|
| 14 |
+
"lower": 6.1435546875,
|
| 15 |
+
"upper": 6.14453125
|
| 16 |
+
}
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"direction": 1,
|
| 20 |
+
"positive": {
|
| 21 |
+
"lower": 6.1416015625,
|
| 22 |
+
"upper": 6.142578125
|
| 23 |
+
},
|
| 24 |
+
"negative": {
|
| 25 |
+
"lower": 7.2548828125,
|
| 26 |
+
"upper": 7.255859375
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"direction": 2,
|
| 31 |
+
"positive": {
|
| 32 |
+
"lower": 6.666015625,
|
| 33 |
+
"upper": 6.6669921875
|
| 34 |
+
},
|
| 35 |
+
"negative": {
|
| 36 |
+
"lower": 6.9677734375,
|
| 37 |
+
"upper": 6.96875
|
| 38 |
+
}
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"direction": 3,
|
| 42 |
+
"positive": {
|
| 43 |
+
"lower": 7.0458984375,
|
| 44 |
+
"upper": 7.046875
|
| 45 |
+
},
|
| 46 |
+
"negative": {
|
| 47 |
+
"lower": 7.3193359375,
|
| 48 |
+
"upper": 7.3203125
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"direction": 4,
|
| 53 |
+
"positive": {
|
| 54 |
+
"lower": 7.1416015625,
|
| 55 |
+
"upper": 7.142578125
|
| 56 |
+
},
|
| 57 |
+
"negative": {
|
| 58 |
+
"lower": 6.7763671875,
|
| 59 |
+
"upper": 6.77734375
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"direction": 5,
|
| 64 |
+
"positive": {
|
| 65 |
+
"lower": 7.1806640625,
|
| 66 |
+
"upper": 7.181640625
|
| 67 |
+
},
|
| 68 |
+
"negative": {
|
| 69 |
+
"lower": 7.2529296875,
|
| 70 |
+
"upper": 7.25390625
|
| 71 |
+
}
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"direction": 6,
|
| 75 |
+
"positive": {
|
| 76 |
+
"lower": 6.25390625,
|
| 77 |
+
"upper": 6.2548828125
|
| 78 |
+
},
|
| 79 |
+
"negative": {
|
| 80 |
+
"lower": 7.4921875,
|
| 81 |
+
"upper": 7.4931640625
|
| 82 |
+
}
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"direction": 7,
|
| 86 |
+
"positive": {
|
| 87 |
+
"lower": 6.5419921875,
|
| 88 |
+
"upper": 6.54296875
|
| 89 |
+
},
|
| 90 |
+
"negative": {
|
| 91 |
+
"lower": 7.6533203125,
|
| 92 |
+
"upper": 7.654296875
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"direction": 8,
|
| 97 |
+
"positive": {
|
| 98 |
+
"lower": 6.943359375,
|
| 99 |
+
"upper": 6.9443359375
|
| 100 |
+
},
|
| 101 |
+
"negative": {
|
| 102 |
+
"lower": 7.3037109375,
|
| 103 |
+
"upper": 7.3046875
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"direction": 9,
|
| 108 |
+
"positive": {
|
| 109 |
+
"lower": 6.845703125,
|
| 110 |
+
"upper": 6.8466796875
|
| 111 |
+
},
|
| 112 |
+
"negative": {
|
| 113 |
+
"lower": 6.9140625,
|
| 114 |
+
"upper": 6.9150390625
|
| 115 |
+
}
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"direction": 10,
|
| 119 |
+
"positive": {
|
| 120 |
+
"lower": 6.751953125,
|
| 121 |
+
"upper": 6.7529296875
|
| 122 |
+
},
|
| 123 |
+
"negative": {
|
| 124 |
+
"lower": 7.1875,
|
| 125 |
+
"upper": 7.1884765625
|
| 126 |
+
}
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"direction": 11,
|
| 130 |
+
"positive": {
|
| 131 |
+
"lower": 7.390625,
|
| 132 |
+
"upper": 7.3916015625
|
| 133 |
+
},
|
| 134 |
+
"negative": {
|
| 135 |
+
"lower": 6.3056640625,
|
| 136 |
+
"upper": 6.306640625
|
| 137 |
+
}
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"direction": 12,
|
| 141 |
+
"positive": {
|
| 142 |
+
"lower": 7.0888671875,
|
| 143 |
+
"upper": 7.08984375
|
| 144 |
+
},
|
| 145 |
+
"negative": {
|
| 146 |
+
"lower": 7.2509765625,
|
| 147 |
+
"upper": 7.251953125
|
| 148 |
+
}
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"direction": 13,
|
| 152 |
+
"positive": {
|
| 153 |
+
"lower": 6.71484375,
|
| 154 |
+
"upper": 6.7158203125
|
| 155 |
+
},
|
| 156 |
+
"negative": {
|
| 157 |
+
"lower": 6.900390625,
|
| 158 |
+
"upper": 6.9013671875
|
| 159 |
+
}
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"direction": 14,
|
| 163 |
+
"positive": {
|
| 164 |
+
"lower": 6.6455078125,
|
| 165 |
+
"upper": 6.646484375
|
| 166 |
+
},
|
| 167 |
+
"negative": {
|
| 168 |
+
"lower": 7.0947265625,
|
| 169 |
+
"upper": 7.095703125
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"direction": 15,
|
| 174 |
+
"positive": {
|
| 175 |
+
"lower": 6.298828125,
|
| 176 |
+
"upper": 6.2998046875
|
| 177 |
+
},
|
| 178 |
+
"negative": {
|
| 179 |
+
"lower": 7.75390625,
|
| 180 |
+
"upper": 7.7548828125
|
| 181 |
+
}
|
| 182 |
+
}
|
| 183 |
+
],
|
| 184 |
+
"width_lower": 13.9287109375,
|
| 185 |
+
"width_upper": 13.9306640625,
|
| 186 |
+
"width": 13.9296875,
|
| 187 |
+
"censored_rays": 0,
|
| 188 |
+
"weights_sha256": "bcbe8cdfeb7c615c97cdde9aab1cbe01dc47ef48095567e80425a59398791e98",
|
| 189 |
+
"weights_restored": true,
|
| 190 |
+
"seconds": 4.685024299997167
|
| 191 |
+
}
|
research/src/thirdloss/cli.py
CHANGED
|
@@ -48,6 +48,7 @@ def parser():
|
|
| 48 |
sub.add_argument("--phase",choices=("pilot","confirm","all"),default="all")
|
| 49 |
if action=="study":
|
| 50 |
sub.add_argument("--with-hybrid",action="store_true",help="Include the registered TinyStories hybrid follow-up on the same GPU")
|
|
|
|
| 51 |
if action=="verify":
|
| 52 |
sub.add_argument("--pretrained",action="store_true",help="Also compare a full joint derivative on the prepared adapter training corpus")
|
| 53 |
sub.add_argument("--reference",action="store_true",help="Compute the FP64 pretrained reference using the original CUDA signs")
|
|
@@ -142,6 +143,9 @@ def main(argv=None):
|
|
| 142 |
run_hybrids(project,storage,device,args.publish)
|
| 143 |
else:
|
| 144 |
run_study(project,storage,stages,device,args.publish,with_hybrid=args.with_hybrid)
|
|
|
|
|
|
|
|
|
|
| 145 |
return
|
| 146 |
if args.action=="evaluate":
|
| 147 |
summary = evaluate_one(project,storage,args.run_id,device)
|
|
|
|
| 48 |
sub.add_argument("--phase",choices=("pilot","confirm","all"),default="all")
|
| 49 |
if action=="study":
|
| 50 |
sub.add_argument("--with-hybrid",action="store_true",help="Include the registered TinyStories hybrid follow-up on the same GPU")
|
| 51 |
+
sub.add_argument("--with-flatness",action="store_true",help="Also measure training-window geometry at saved primary checkpoints")
|
| 52 |
if action=="verify":
|
| 53 |
sub.add_argument("--pretrained",action="store_true",help="Also compare a full joint derivative on the prepared adapter training corpus")
|
| 54 |
sub.add_argument("--reference",action="store_true",help="Compute the FP64 pretrained reference using the original CUDA signs")
|
|
|
|
| 143 |
run_hybrids(project,storage,device,args.publish)
|
| 144 |
else:
|
| 145 |
run_study(project,storage,stages,device,args.publish,with_hybrid=args.with_hybrid)
|
| 146 |
+
if args.with_flatness:
|
| 147 |
+
from .checkpoint_flatness import flatness_study
|
| 148 |
+
flatness_study(project,storage,stages,"all",device,args.publish)
|
| 149 |
return
|
| 150 |
if args.action=="evaluate":
|
| 151 |
summary = evaluate_one(project,storage,args.run_id,device)
|
research/src/thirdloss/flatness_tables.py
CHANGED
|
@@ -61,19 +61,18 @@ def hybrid_flatness_table(runs):
|
|
| 61 |
"Middle 50% of final directions","Rays at limit / tested"])
|
| 62 |
|
| 63 |
|
| 64 |
-
def
|
| 65 |
"""Compare the same measured seeds, trainable parameterization, training windows and probe backend."""
|
| 66 |
methods=("ce","trace","third")
|
| 67 |
measured=[pair for pair in pairs if all("flatness" in pair[m] for m in methods)]
|
| 68 |
if not measured:
|
| 69 |
-
return
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
raise ValueError("Matched flatness statistics require the same probes and arithmetic")
|
| 75 |
groups=[[pair[m]["flatness"] for pair in measured] for m in methods]
|
| 76 |
-
|
| 77 |
["Directional width<br>↑ Wider is flatter",*[_width_stat(g,.5) for g in groups]],
|
| 78 |
["Final width range across seeds<br>Descriptive spread",*[_seed_range(g) for g in groups]],
|
| 79 |
["Middle 50% of directions<br>Descriptive spread",*[_spread(g) for g in groups]],
|
|
@@ -82,9 +81,6 @@ def primary_flatness_table(pairs):
|
|
| 82 |
["RMS Hessian curvature<br>↓ Lower means less local bending",*[f"{median(p['rms_curvature'] for p in g):.6g}" for g in groups]],
|
| 83 |
["Signed Hessian trace / parameter<br>No general better direction",*[f"{median(p['trace_per_parameter'] for p in g):+.6g}" for g in groups]],
|
| 84 |
]
|
| 85 |
-
seeds=", ".join(str(pair["ce"]["seed"]) for pair in measured)
|
| 86 |
-
return f"Seeds {seeds} · {measured[0]['ce']['tokens']:,} training targets per checkpoint.\n\n"+markdown_table(
|
| 87 |
-
rows,["Flatness statistic","AdamW","Hessian trace","Third order"])
|
| 88 |
|
| 89 |
|
| 90 |
def flatness_ledger(study):
|
|
|
|
| 61 |
"Middle 50% of final directions","Rays at limit / tested"])
|
| 62 |
|
| 63 |
|
| 64 |
+
def primary_flatness_rows(pairs):
|
| 65 |
"""Compare the same measured seeds, trainable parameterization, training windows and probe backend."""
|
| 66 |
methods=("ce","trace","third")
|
| 67 |
measured=[pair for pair in pairs if all("flatness" in pair[m] for m in methods)]
|
| 68 |
if not measured:
|
| 69 |
+
return []
|
| 70 |
+
signatures={(pair[m]["flatness"]["protocol"],pair[m]["flatness"]["probe_windows_sha256"],
|
| 71 |
+
pair[m]["flatness"]["width_device"],pair[m]["flatness"]["hessian_device"]) for pair in measured for m in methods}
|
| 72 |
+
if len(signatures)!=1:
|
| 73 |
+
raise ValueError("Matched flatness statistics require the same probes and arithmetic")
|
|
|
|
| 74 |
groups=[[pair[m]["flatness"] for pair in measured] for m in methods]
|
| 75 |
+
return [
|
| 76 |
["Directional width<br>↑ Wider is flatter",*[_width_stat(g,.5) for g in groups]],
|
| 77 |
["Final width range across seeds<br>Descriptive spread",*[_seed_range(g) for g in groups]],
|
| 78 |
["Middle 50% of directions<br>Descriptive spread",*[_spread(g) for g in groups]],
|
|
|
|
| 81 |
["RMS Hessian curvature<br>↓ Lower means less local bending",*[f"{median(p['rms_curvature'] for p in g):.6g}" for g in groups]],
|
| 82 |
["Signed Hessian trace / parameter<br>No general better direction",*[f"{median(p['trace_per_parameter'] for p in g):+.6g}" for g in groups]],
|
| 83 |
]
|
|
|
|
|
|
|
|
|
|
| 84 |
|
| 85 |
|
| 86 |
def flatness_ledger(study):
|
research/src/thirdloss/readme_comparisons.py
CHANGED
|
@@ -5,7 +5,7 @@ from html import escape
|
|
| 5 |
from statistics import median
|
| 6 |
|
| 7 |
from .analysis import _time_match
|
| 8 |
-
from .flatness_tables import hybrid_flatness_table,
|
| 9 |
from .records import HORIZONS
|
| 10 |
from .report_records import METHODS, completed, finite, markdown_table, verdict_text
|
| 11 |
|
|
@@ -176,21 +176,29 @@ def _sample_panel(pairs,methods,title):
|
|
| 176 |
markdown_table([[literal(s["continuation"]) for s in saved]],headers)+"\n\n</details>")
|
| 177 |
|
| 178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 179 |
def comparison_sections(study):
|
| 180 |
"""Return a short opening scorecard and the detailed, regenerable comparisons for the README."""
|
| 181 |
top=[]
|
| 182 |
samples=[]
|
| 183 |
-
|
| 184 |
detail=["## Side-by-side comparisons","Each row states which direction is better for that metric. "
|
| 185 |
"Bold highlights the best observed value at the displayed precision. A tie means the paired difference rounds to zero. "
|
| 186 |
"NLL is negative log-likelihood in nats per target. Accuracy differences use percentage points (pp)."]
|
| 187 |
for stage,name in STAGES.items():
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
context="full-budget checkpoints" if horizon=="confirm" else "development pilots"
|
| 192 |
-
primary_geometry.append(f"**{name} · {context}**\n\n{table}")
|
| 193 |
-
break
|
| 194 |
pairs=_paired_runs(study,stage,"confirm",PRIMARY)
|
| 195 |
confirm=bool(pairs)
|
| 196 |
if not confirm:
|
|
@@ -263,8 +271,8 @@ def comparison_sections(study):
|
|
| 263 |
"The final seed range shows the smallest and largest seed widths. The middle 50% column gives the medians of "
|
| 264 |
"the within-seed directional quartiles. Spread has no preferred direction. A ray at the search limit supplies a lower bound.",
|
| 265 |
hybrid_flatness_table(study["runs"])])
|
| 266 |
-
if
|
| 267 |
-
detail.extend(
|
| 268 |
else:
|
| 269 |
detail.append("Matched finite-width and Hessian measurements for the primary AdamW, trace and third-order checkpoints are pending.")
|
| 270 |
detail.append("For the primary comparison, TinyStories uses all weights and Pythia uses the LoRA factors. "
|
|
|
|
| 5 |
from statistics import median
|
| 6 |
|
| 7 |
from .analysis import _time_match
|
| 8 |
+
from .flatness_tables import hybrid_flatness_table,primary_flatness_rows
|
| 9 |
from .records import HORIZONS
|
| 10 |
from .report_records import METHODS, completed, finite, markdown_table, verdict_text
|
| 11 |
|
|
|
|
| 176 |
markdown_table([[literal(s["continuation"]) for s in saved]],headers)+"\n\n</details>")
|
| 177 |
|
| 178 |
|
| 179 |
+
def primary_geometry(study,stage):
|
| 180 |
+
"""Choose the furthest common horizon whose three geometry records are actually available."""
|
| 181 |
+
for horizon in ("confirm","pilot"):
|
| 182 |
+
pairs=[p for p in _paired_runs(study,stage,horizon,PRIMARY) if all("flatness" in p[m] for m in PRIMARY)]
|
| 183 |
+
if pairs:
|
| 184 |
+
scope="full-budget checkpoints" if horizon=="confirm" else "development pilots"
|
| 185 |
+
seeds=", ".join(str(p["ce"]["seed"]) for p in pairs)
|
| 186 |
+
return f"{STAGES[stage]} · {scope} · seeds {seeds} · {pairs[0]['ce']['tokens']:,} training targets",primary_flatness_rows(pairs)
|
| 187 |
+
return "",[]
|
| 188 |
+
|
| 189 |
+
|
| 190 |
def comparison_sections(study):
|
| 191 |
"""Return a short opening scorecard and the detailed, regenerable comparisons for the README."""
|
| 192 |
top=[]
|
| 193 |
samples=[]
|
| 194 |
+
geometry_tables=[]
|
| 195 |
detail=["## Side-by-side comparisons","Each row states which direction is better for that metric. "
|
| 196 |
"Bold highlights the best observed value at the displayed precision. A tie means the paired difference rounds to zero. "
|
| 197 |
"NLL is negative log-likelihood in nats per target. Accuracy differences use percentage points (pp)."]
|
| 198 |
for stage,name in STAGES.items():
|
| 199 |
+
caption,geometry_rows=primary_geometry(study,stage)
|
| 200 |
+
if geometry_rows:
|
| 201 |
+
geometry_tables.append(f"**{caption}**\n\n"+markdown_table(geometry_rows,["Flatness statistic","AdamW","Hessian trace","Third order"]))
|
|
|
|
|
|
|
|
|
|
| 202 |
pairs=_paired_runs(study,stage,"confirm",PRIMARY)
|
| 203 |
confirm=bool(pairs)
|
| 204 |
if not confirm:
|
|
|
|
| 271 |
"The final seed range shows the smallest and largest seed widths. The middle 50% column gives the medians of "
|
| 272 |
"the within-seed directional quartiles. Spread has no preferred direction. A ray at the search limit supplies a lower bound.",
|
| 273 |
hybrid_flatness_table(study["runs"])])
|
| 274 |
+
if geometry_tables:
|
| 275 |
+
detail.extend(geometry_tables)
|
| 276 |
else:
|
| 277 |
detail.append("Matched finite-width and Hessian measurements for the primary AdamW, trace and third-order checkpoints are pending.")
|
| 278 |
detail.append("For the primary comparison, TinyStories uses all weights and Pythia uses the LoRA factors. "
|
research/src/thirdloss/report_paper.py
CHANGED
|
@@ -348,6 +348,13 @@ def write_paper(study: dict, output: Path, figure_dir: Path, figures: dict) -> N
|
|
| 348 |
"The checkpoint ledger gives their finite widths, signed trace per parameter, RMS curvature and raw probes. "
|
| 349 |
f"{_link(REPOSITORY + '/blob/main/reports/flatness.md','Flatness measurements')} · "
|
| 350 |
f"{_link(REPOSITORY + '/blob/main/reports/amendments/checkpoint-flatness.md','Secondary protocol')}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 351 |
for comparator,s in hybrid["comparisons"].items():
|
| 352 |
lo,hi = s["median_ci"]
|
| 353 |
p(f"Adaptive minus {METHODS[comparator]} median width gain {fmt(s['median_delta'],5)} "
|
|
|
|
| 348 |
"The checkpoint ledger gives their finite widths, signed trace per parameter, RMS curvature and raw probes. "
|
| 349 |
f"{_link(REPOSITORY + '/blob/main/reports/flatness.md','Flatness measurements')} · "
|
| 350 |
f"{_link(REPOSITORY + '/blob/main/reports/amendments/checkpoint-flatness.md','Secondary protocol')}")
|
| 351 |
+
from .readme_comparisons import primary_geometry
|
| 352 |
+
for stage in STAGES:
|
| 353 |
+
caption,statistics=primary_geometry(study,stage)
|
| 354 |
+
if statistics:
|
| 355 |
+
p(caption,"subheading")
|
| 356 |
+
flow.append(_grid(styles,["Flatness statistic","AdamW","Hessian trace","Third order"],
|
| 357 |
+
[[row[0].split("<br>")[0],*row[1:]] for row in statistics],[164,100,100,100]))
|
| 358 |
for comparator,s in hybrid["comparisons"].items():
|
| 359 |
lo,hi = s["median_ci"]
|
| 360 |
p(f"Adaptive minus {METHODS[comparator]} median width gain {fmt(s['median_delta'],5)} "
|
research/src/thirdloss/report_records.py
CHANGED
|
@@ -182,12 +182,17 @@ def run_record(folder: Path) -> dict:
|
|
| 182 |
record["events"].sort(key=lambda row:row.get("step",0))
|
| 183 |
diagnostic=read_json(folder/"flatness.json")
|
| 184 |
if diagnostic:
|
| 185 |
-
if diagnostic["checkpoint_file_sha256"]!=record.get("weights_sha256")
|
| 186 |
-
|
|
|
|
|
|
|
| 187 |
record["flatness"]={**compact_width(diagnostic["width"]),
|
| 188 |
**{k:diagnostic[k] for k in ("protocol","probe_windows_sha256","width_device")},
|
| 189 |
**{k:diagnostic["curvature"][k] for k in ("rms_curvature","trace_per_parameter")},
|
| 190 |
"hessian_device":diagnostic["curvature"]["device"]}
|
|
|
|
|
|
|
|
|
|
| 191 |
record["samples"] = read_lines(folder / "samples.jsonl")
|
| 192 |
return record
|
| 193 |
|
|
|
|
| 182 |
record["events"].sort(key=lambda row:row.get("step",0))
|
| 183 |
diagnostic=read_json(folder/"flatness.json")
|
| 184 |
if diagnostic:
|
| 185 |
+
if (diagnostic["run"]!=folder.name or diagnostic["checkpoint_file_sha256"]!=record.get("weights_sha256")
|
| 186 |
+
or diagnostic["data_manifest_sha256"]!=record.get("data_manifest_sha256")
|
| 187 |
+
or diagnostic["split"]!="train" or not diagnostic["width"]["weights_restored"]):
|
| 188 |
+
raise ValueError(f"Checkpoint geometry provenance differs for {folder.name}")
|
| 189 |
record["flatness"]={**compact_width(diagnostic["width"]),
|
| 190 |
**{k:diagnostic[k] for k in ("protocol","probe_windows_sha256","width_device")},
|
| 191 |
**{k:diagnostic["curvature"][k] for k in ("rms_curvature","trace_per_parameter")},
|
| 192 |
"hessian_device":diagnostic["curvature"]["device"]}
|
| 193 |
+
record["events"].append({"step":record["steps"],"tokens":record["tokens"],"train_seconds":record["train_seconds"],
|
| 194 |
+
"width":diagnostic["width"]["width"],"checkpoint_rms":diagnostic["curvature"]["rms_curvature"],
|
| 195 |
+
"checkpoint_signed_trace":diagnostic["curvature"]["trace_per_parameter"]})
|
| 196 |
record["samples"] = read_lines(folder / "samples.jsonl")
|
| 197 |
return record
|
| 198 |
|
research/tests/test_flatness.py
CHANGED
|
@@ -38,3 +38,17 @@ def test_flatness_table_preserves_seed_count_and_geometry_units():
|
|
| 38 |
table=hybrid_flatness_table(rows)
|
| 39 |
assert "21, 22" in table and "8.500" in table and "8.000–9.000" in table and "0/64" in table
|
| 40 |
assert "5.000–9.000" in table and "21 |" in table
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
table=hybrid_flatness_table(rows)
|
| 39 |
assert "21, 22" in table and "8.500" in table and "8.000–9.000" in table and "0/64" in table
|
| 40 |
assert "5.000–9.000" in table and "21 |" in table
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
def test_primary_flatness_summary_compares_only_common_probe_provenance():
|
| 44 |
+
from thirdloss.flatness_tables import primary_flatness_rows
|
| 45 |
+
r={"protocol":"v1","probe_windows_sha256":"same","width_device":"cuda","hessian_device":"cpu",
|
| 46 |
+
"width":7.,"width_lower":6.99,"width_upper":7.01,"ray_count":32,"censored_rays":0,
|
| 47 |
+
"baseline_nll":2.,"rms_curvature":.1,"trace_per_parameter":-.01}
|
| 48 |
+
pairs=[{m:{"flatness":dict(r)} for m in ("ce","trace","third")} for _ in range(2)]
|
| 49 |
+
stats=primary_flatness_rows(pairs)
|
| 50 |
+
assert stats[0][1:]==["7.000"]*3 and stats[3][1:]==["0/64"]*3
|
| 51 |
+
for arm in pairs[1].values():
|
| 52 |
+
arm["flatness"]["probe_windows_sha256"]="different"
|
| 53 |
+
with pytest.raises(ValueError,match="same probes"):
|
| 54 |
+
primary_flatness_rows(pairs)
|