Record development results for stories-pilot-s00-third-r01
Browse files- research/README.md +2 -1
- research/docs/figures/curves.png +0 -0
- research/docs/study.json +0 -0
- research/reports/experiments/experiments.md +1 -0
- research/reports/experiments/learnings.md +2 -0
- research/reports/experiments/stories-pilot-s00-third-r01/experiment.md +57 -0
- research/reports/experiments/stories-pilot-s00-third-r01/learnings.md +5 -0
- research/reports/paper.pdf +0 -0
- research/reports/progress.md +3 -3
- research/reports/summary.md +2 -1
- research/results/stories-pilot-s00-third-r01/config.json +16 -0
- research/results/stories-pilot-s00-third-r01/events.jsonl +109 -0
- research/results/stories-pilot-s00-third-r01/samples.jsonl +3 -0
- research/results/stories-pilot-s00-third-r01/summary.json +35 -0
- research/src/thirdloss/report_paper.py +78 -9
research/README.md
CHANGED
|
@@ -21,7 +21,7 @@ The third-order term measures how the Hessian changes as weights move. Two indep
|
|
| 21 |
<!-- RESULTS:START -->
|
| 22 |
[Explore the results](https://burnycoder.github.io/llm-training-with-penalizing-rapid-changes-of-curvature-of-its-loss/) · [Paper](reports/paper.pdf) · [Run ledger](reports/experiments/experiments.md)
|
| 23 |
|
| 24 |
-
Recorded
|
| 25 |
|
| 26 |
**TinyStories.** Awaiting paired test results (0 of 8 full-horizon training triplets).
|
| 27 |
|
|
@@ -36,6 +36,7 @@ Recorded 7 runs, including 7 with a completed summary.
|
|
| 36 |
| TinyStories | control | Initial checkpoint | 0.000 | 0 | 1 | 8.3437 | — |
|
| 37 |
| TinyStories | control | Unigram | 0.000 | 0 | 1 | 6.0036 | — |
|
| 38 |
| TinyStories | pilot | Ordinary AdamW | 0.000 | 2,097,152 | 1 | 3.8770 | — |
|
|
|
|
| 39 |
| TinyStories | pilot | Third derivative | 0.030 | 2,097,152 | 1 | 3.8778 | — |
|
| 40 |
| TinyStories | pilot | Hessian trace | 0.010 | 2,097,152 | 1 | 3.8773 | — |
|
| 41 |
| TinyStories | pilot | Hessian trace | 0.030 | 2,097,152 | 1 | 3.8802 | — |
|
|
|
|
| 21 |
<!-- RESULTS:START -->
|
| 22 |
[Explore the results](https://burnycoder.github.io/llm-training-with-penalizing-rapid-changes-of-curvature-of-its-loss/) · [Paper](reports/paper.pdf) · [Run ledger](reports/experiments/experiments.md)
|
| 23 |
|
| 24 |
+
Recorded 8 runs, including 8 with a completed summary.
|
| 25 |
|
| 26 |
**TinyStories.** Awaiting paired test results (0 of 8 full-horizon training triplets).
|
| 27 |
|
|
|
|
| 36 |
| TinyStories | control | Initial checkpoint | 0.000 | 0 | 1 | 8.3437 | — |
|
| 37 |
| TinyStories | control | Unigram | 0.000 | 0 | 1 | 6.0036 | — |
|
| 38 |
| TinyStories | pilot | Ordinary AdamW | 0.000 | 2,097,152 | 1 | 3.8770 | — |
|
| 39 |
+
| TinyStories | pilot | Third derivative | 0.010 | 2,097,152 | 1 | 3.8769 | — |
|
| 40 |
| TinyStories | pilot | Third derivative | 0.030 | 2,097,152 | 1 | 3.8778 | — |
|
| 41 |
| TinyStories | pilot | Hessian trace | 0.010 | 2,097,152 | 1 | 3.8773 | — |
|
| 42 |
| TinyStories | pilot | Hessian trace | 0.030 | 2,097,152 | 1 | 3.8802 | — |
|
research/docs/figures/curves.png
CHANGED
|
|
research/docs/study.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
research/reports/experiments/experiments.md
CHANGED
|
@@ -9,6 +9,7 @@ NLL is negative log-likelihood in nats per target token. A smaller value assigns
|
|
| 9 |
| [stories-control-s00-initial-r00](./stories-control-s00-initial-r00/experiment.md) | TinyStories | Initial checkpoint | control | 0 | 0.000 | 0 | 8.3437 | — | 0 | complete |
|
| 10 |
| [stories-control-s00-unigram-r00](./stories-control-s00-unigram-r00/experiment.md) | TinyStories | Unigram | control | 0 | 0.000 | 0 | 6.0036 | — | 0 | complete |
|
| 11 |
| [stories-pilot-s00-ce-r00](./stories-pilot-s00-ce-r00/experiment.md) | TinyStories | Ordinary AdamW | pilot | 0 | 0.000 | 2,097,152 | 3.8770 | — | 123,871 | complete |
|
|
|
|
| 12 |
| [stories-pilot-s00-third-r03](./stories-pilot-s00-third-r03/experiment.md) | TinyStories | Third derivative | pilot | 0 | 0.030 | 2,097,152 | 3.8778 | — | 46,072 | complete |
|
| 13 |
| [stories-pilot-s00-trace-r01](./stories-pilot-s00-trace-r01/experiment.md) | TinyStories | Hessian trace | pilot | 0 | 0.010 | 2,097,152 | 3.8773 | — | 73,185 | complete |
|
| 14 |
| [stories-pilot-s00-trace-r03](./stories-pilot-s00-trace-r03/experiment.md) | TinyStories | Hessian trace | pilot | 0 | 0.030 | 2,097,152 | 3.8802 | — | 68,106 | complete |
|
|
|
|
| 9 |
| [stories-control-s00-initial-r00](./stories-control-s00-initial-r00/experiment.md) | TinyStories | Initial checkpoint | control | 0 | 0.000 | 0 | 8.3437 | — | 0 | complete |
|
| 10 |
| [stories-control-s00-unigram-r00](./stories-control-s00-unigram-r00/experiment.md) | TinyStories | Unigram | control | 0 | 0.000 | 0 | 6.0036 | — | 0 | complete |
|
| 11 |
| [stories-pilot-s00-ce-r00](./stories-pilot-s00-ce-r00/experiment.md) | TinyStories | Ordinary AdamW | pilot | 0 | 0.000 | 2,097,152 | 3.8770 | — | 123,871 | complete |
|
| 12 |
+
| [stories-pilot-s00-third-r01](./stories-pilot-s00-third-r01/experiment.md) | TinyStories | Third derivative | pilot | 0 | 0.010 | 2,097,152 | 3.8769 | — | 42,481 | complete |
|
| 13 |
| [stories-pilot-s00-third-r03](./stories-pilot-s00-third-r03/experiment.md) | TinyStories | Third derivative | pilot | 0 | 0.030 | 2,097,152 | 3.8778 | — | 46,072 | complete |
|
| 14 |
| [stories-pilot-s00-trace-r01](./stories-pilot-s00-trace-r01/experiment.md) | TinyStories | Hessian trace | pilot | 0 | 0.010 | 2,097,152 | 3.8773 | — | 73,185 | complete |
|
| 15 |
| [stories-pilot-s00-trace-r03](./stories-pilot-s00-trace-r03/experiment.md) | TinyStories | Hessian trace | pilot | 0 | 0.030 | 2,097,152 | 3.8802 | — | 68,106 | complete |
|
research/reports/experiments/learnings.md
CHANGED
|
@@ -12,6 +12,8 @@ Independent random signs include mixed weight derivatives in the expected penalt
|
|
| 12 |
|
| 13 |
- [stories-pilot-s00-ce-r00](./stories-pilot-s00-ce-r00/experiment.md) — Development NLL changed by -3.2138 nats per target token from 131,072 to 2,097,152 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
| 14 |
|
|
|
|
|
|
|
| 15 |
- [stories-pilot-s00-third-r03](./stories-pilot-s00-third-r03/experiment.md) — Development NLL changed by -3.2149 nats per target token from 131,072 to 2,097,152 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
| 16 |
|
| 17 |
- [stories-pilot-s00-trace-r01](./stories-pilot-s00-trace-r01/experiment.md) — Development NLL changed by -3.2134 nats per target token from 131,072 to 2,097,152 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
|
|
|
| 12 |
|
| 13 |
- [stories-pilot-s00-ce-r00](./stories-pilot-s00-ce-r00/experiment.md) — Development NLL changed by -3.2138 nats per target token from 131,072 to 2,097,152 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
| 14 |
|
| 15 |
+
- [stories-pilot-s00-third-r01](./stories-pilot-s00-third-r01/experiment.md) — Development NLL changed by -3.2143 nats per target token from 131,072 to 2,097,152 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
| 16 |
+
|
| 17 |
- [stories-pilot-s00-third-r03](./stories-pilot-s00-third-r03/experiment.md) — Development NLL changed by -3.2149 nats per target token from 131,072 to 2,097,152 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
| 18 |
|
| 19 |
- [stories-pilot-s00-trace-r01](./stories-pilot-s00-trace-r01/experiment.md) — Development NLL changed by -3.2134 nats per target token from 131,072 to 2,097,152 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
research/reports/experiments/stories-pilot-s00-third-r01/experiment.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TinyStories · Third derivative
|
| 2 |
+
|
| 3 |
+
Run `stories-pilot-s00-third-r01` · [raw records](../../../results/stories-pilot-s00-third-r01/) · [registered design](../../preregistration.md)
|
| 4 |
+
|
| 5 |
+
| Stage | Method | Phase | Seed | Ratio | Train tokens | Dev NLL | Test NLL | Tokens/s | Status |
|
| 6 |
+
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
| 7 |
+
| TinyStories | Third derivative | pilot | 0 | 0.010 | 2,097,152 | 3.8769 | — | 42,481 | complete |
|
| 8 |
+
|
| 9 |
+
Training time is 49.4 seconds. Peak allocated GPU memory is 608.2 MiB. Development token accuracy is 0.3233. Test token accuracy is —.
|
| 10 |
+
|
| 11 |
+
[Design and hyperparameter rationale](../../planned-runs.md) · [Saved configuration](../../../results/stories-pilot-s00-third-r01/config.json)
|
| 12 |
+
|
| 13 |
+
## Fixed-prompt generations
|
| 14 |
+
|
| 15 |
+
**Prompt**
|
| 16 |
+
|
| 17 |
+
Once upon a time, there was a clever little dog named Max. Max loved
|
| 18 |
+
|
| 19 |
+
**Reference continuation**
|
| 20 |
+
|
| 21 |
+
to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.
|
| 22 |
+
|
| 23 |
+
Max went to his friend, the wise old owl,
|
| 24 |
+
|
| 25 |
+
**Model continuation**
|
| 26 |
+
|
| 27 |
+
to play on the cat.
|
| 28 |
+
|
| 29 |
+
**Prompt**
|
| 30 |
+
|
| 31 |
+
Once there was a bear who loved spicy food. He always used to pick the
|
| 32 |
+
|
| 33 |
+
**Reference continuation**
|
| 34 |
+
|
| 35 |
+
spiciest of all the food in the village. One day, he was making his usual rounds at the village market when he saw his friend, the rabbit. The bear waved and the
|
| 36 |
+
|
| 37 |
+
**Model continuation**
|
| 38 |
+
|
| 39 |
+
books and be twins. But he couldriending the tree and open his friends. Timmy heard them and said, "I worry, hug, here?" Lily smiled and snake. She said on,
|
| 40 |
+
|
| 41 |
+
**Prompt**
|
| 42 |
+
|
| 43 |
+
Once upon a time there was a brilliant engine who lived in a car. One
|
| 44 |
+
|
| 45 |
+
**Reference continuation**
|
| 46 |
+
|
| 47 |
+
day, the car drove to a special place with a lot of cars. The engine met many other engines. They all said hello and introduced themselves.
|
| 48 |
+
|
| 49 |
+
One engine was
|
| 50 |
+
|
| 51 |
+
**Model continuation**
|
| 52 |
+
|
| 53 |
+
she showed her a sun.
|
| 54 |
+
|
| 55 |
+
Lily was too warm to eat his friends. The boy knew he heard the forest. He was cool and to play with her mom.
|
| 56 |
+
|
| 57 |
+
Lily was scared
|
research/reports/experiments/stories-pilot-s00-third-r01/learnings.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Run learnings
|
| 2 |
+
|
| 3 |
+
Development NLL changed by -3.2143 nats per target token from 131,072 to 2,097,152 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
| 4 |
+
|
| 5 |
+
[Experiment and source records](experiment.md)
|
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,12 +1,12 @@
|
|
| 1 |
# Study progress
|
| 2 |
|
| 3 |
-
Updated 2026-11-25T06:
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
## Current record
|
| 8 |
|
| 9 |
-
**stories** has
|
| 10 |
|
| 11 |
Statistical status: pending. Awaiting confirmatory runs.
|
| 12 |
|
|
|
|
| 1 |
# Study progress
|
| 2 |
|
| 3 |
+
Updated 2026-11-25T06:54:09+00:00.
|
| 4 |
|
| 5 |
+
8 training/control records and 0 final evaluations are complete. This is 6.7% of 120 planned model milestones.
|
| 6 |
|
| 7 |
## Current record
|
| 8 |
|
| 9 |
+
**stories** has 8 completed runs. The next milestone is determined by the run matrix.
|
| 10 |
|
| 11 |
Statistical status: pending. Awaiting confirmatory runs.
|
| 12 |
|
research/reports/summary.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Study summary
|
| 2 |
|
| 3 |
-
Recorded
|
| 4 |
|
| 5 |
**TinyStories.** Awaiting paired test results (0 of 8 full-horizon training triplets).
|
| 6 |
|
|
@@ -19,6 +19,7 @@ Recorded 7 runs, including 7 with a completed summary.
|
|
| 19 |
| TinyStories | control | Initial checkpoint | 0.000 | 0 | 1 | 8.3437 | — |
|
| 20 |
| TinyStories | control | Unigram | 0.000 | 0 | 1 | 6.0036 | — |
|
| 21 |
| TinyStories | pilot | Ordinary AdamW | 0.000 | 2,097,152 | 1 | 3.8770 | — |
|
|
|
|
| 22 |
| TinyStories | pilot | Third derivative | 0.030 | 2,097,152 | 1 | 3.8778 | — |
|
| 23 |
| TinyStories | pilot | Hessian trace | 0.010 | 2,097,152 | 1 | 3.8773 | — |
|
| 24 |
| TinyStories | pilot | Hessian trace | 0.030 | 2,097,152 | 1 | 3.8802 | — |
|
|
|
|
| 1 |
# Study summary
|
| 2 |
|
| 3 |
+
Recorded 8 runs, including 8 with a completed summary.
|
| 4 |
|
| 5 |
**TinyStories.** Awaiting paired test results (0 of 8 full-horizon training triplets).
|
| 6 |
|
|
|
|
| 19 |
| TinyStories | control | Initial checkpoint | 0.000 | 0 | 1 | 8.3437 | — |
|
| 20 |
| TinyStories | control | Unigram | 0.000 | 0 | 1 | 6.0036 | — |
|
| 21 |
| TinyStories | pilot | Ordinary AdamW | 0.000 | 2,097,152 | 1 | 3.8770 | — |
|
| 22 |
+
| TinyStories | pilot | Third derivative | 0.010 | 2,097,152 | 1 | 3.8769 | — |
|
| 23 |
| TinyStories | pilot | Third derivative | 0.030 | 2,097,152 | 1 | 3.8778 | — |
|
| 24 |
| TinyStories | pilot | Hessian trace | 0.010 | 2,097,152 | 1 | 3.8773 | — |
|
| 25 |
| TinyStories | pilot | Hessian trace | 0.030 | 2,097,152 | 1 | 3.8802 | — |
|
research/results/stories-pilot-s00-third-r01/config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "stories-pilot-s00-third-r01",
|
| 3 |
+
"stage": "stories",
|
| 4 |
+
"method": "third",
|
| 5 |
+
"phase": "pilot",
|
| 6 |
+
"seed": 0,
|
| 7 |
+
"ratio": 0.01,
|
| 8 |
+
"token_budget": 2097152,
|
| 9 |
+
"batch_windows": 32,
|
| 10 |
+
"context": 128,
|
| 11 |
+
"data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
|
| 12 |
+
"microbatch": 32,
|
| 13 |
+
"coefficients": {
|
| 14 |
+
"third": 3.0190450056526336e-14
|
| 15 |
+
}
|
| 16 |
+
}
|
research/results/stories-pilot-s00-third-r01/events.jsonl
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"timestamp": "2026-11-25T06:53:04+00:00", "step": 1, "tokens": 4096, "train_seconds": 0.19563689999995404, "loss": 8.350095748901367, "accuracy": 0.003173828125, "lr": 1.1538461538461538e-05, "gradient_norm": 1.8839142322540283, "derivatives": {}}
|
| 2 |
+
{"timestamp": "2026-11-25T06:53:05+00:00", "step": 2, "tokens": 8192, "train_seconds": 0.9664453000004869, "loss": 8.342284202575684, "accuracy": 0.00439453125, "lr": 2.3076923076923076e-05, "gradient_norm": 1.9026371240615845, "derivatives": {"third": {"estimate": 15298375680.0, "raw_grad_norm": 707913056256.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.003694918775304137}
|
| 3 |
+
{"timestamp": "2026-11-25T06:53:05+00:00", "step": 8, "tokens": 32768, "train_seconds": 1.1728818000046886, "loss": 8.158926963806152, "accuracy": 0.05224609375, "lr": 9.23076923076923e-05, "gradient_norm": 1.9376574754714966, "derivatives": {}}
|
| 4 |
+
{"timestamp": "2026-11-25T06:53:06+00:00", "step": 11, "tokens": 45056, "train_seconds": 1.8875450000014098, "loss": 8.028908729553223, "accuracy": 0.067138671875, "lr": 0.0001269230769230769, "gradient_norm": 1.7565492391586304, "derivatives": {"third": {"estimate": 4312443904.0, "raw_grad_norm": 193663713280.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0010415569784422677}
|
| 5 |
+
{"timestamp": "2026-11-25T06:53:06+00:00", "step": 16, "tokens": 65536, "train_seconds": 2.060490900006698, "loss": 7.80682897567749, "accuracy": 0.0751953125, "lr": 0.0001846153846153846, "gradient_norm": 1.6032503843307495, "derivatives": {}}
|
| 6 |
+
{"timestamp": "2026-11-25T06:53:07+00:00", "step": 22, "tokens": 90112, "train_seconds": 2.873981900007493, "loss": 7.6049089431762695, "accuracy": 0.067138671875, "lr": 0.0002538461538461538, "gradient_norm": 1.5027912855148315, "derivatives": {"third": {"estimate": 54339888.0, "raw_grad_norm": 684061184.0, "lambda": 3.0190450056526336e-14}}, "penalty": 1.3124365397929879e-05}
|
| 7 |
+
{"timestamp": "2026-11-25T06:53:07+00:00", "step": 24, "tokens": 98304, "train_seconds": 2.940983700009383, "loss": 7.484243392944336, "accuracy": 0.076416015625, "lr": 0.0002769230769230769, "gradient_norm": 1.6078544855117798, "derivatives": {}}
|
| 8 |
+
{"timestamp": "2026-11-25T06:53:08+00:00", "step": 25, "tokens": 102400, "train_seconds": 3.570277500009979, "loss": 7.4540019035339355, "accuracy": 0.072265625, "lr": 0.00028846153846153843, "gradient_norm": 1.5584356784820557, "derivatives": {"third": {"estimate": 110213568.0, "raw_grad_norm": 9375806464.0, "lambda": 3.0190450056526336e-14}}, "penalty": 2.6619177762044553e-05}
|
| 9 |
+
{"timestamp": "2026-11-25T06:53:08+00:00", "step": 32, "tokens": 131072, "train_seconds": 3.7909977000053914, "loss": 7.082487106323242, "accuracy": 0.072509765625, "lr": 0.00029989847358807104, "gradient_norm": 1.4823048114776611, "derivatives": {}, "dev_nll": 7.043426600692328, "dev_accuracy": 0.0682373046875}
|
| 10 |
+
{"timestamp": "2026-11-25T06:53:09+00:00", "step": 40, "tokens": 163840, "train_seconds": 4.064219000014418, "loss": 6.677276134490967, "accuracy": 0.078857421875, "lr": 0.00029944755299271124, "gradient_norm": 1.4431421756744385, "derivatives": {}}
|
| 11 |
+
{"timestamp": "2026-11-25T06:53:09+00:00", "step": 48, "tokens": 196608, "train_seconds": 4.327452400022594, "loss": 6.474410057067871, "accuracy": 0.080322265625, "lr": 0.0002986371618644631, "gradient_norm": 1.2273849248886108, "derivatives": {}}
|
| 12 |
+
{"timestamp": "2026-11-25T06:53:10+00:00", "step": 50, "tokens": 204800, "train_seconds": 5.0338347000215435, "loss": 6.3832902908325195, "accuracy": 0.104736328125, "lr": 0.0002983786296793692, "gradient_norm": 1.2318775653839111, "derivatives": {"third": {"estimate": 59127328.0, "raw_grad_norm": 20885116928.0, "lambda": 3.0190450056526336e-14}}, "penalty": 1.4280645143678809e-05}
|
| 13 |
+
{"timestamp": "2026-11-25T06:53:10+00:00", "step": 56, "tokens": 229376, "train_seconds": 5.230912200015155, "loss": 6.202988147735596, "accuracy": 0.093017578125, "lr": 0.00029746946693469693, "gradient_norm": 1.0246301889419556, "derivatives": {}}
|
| 14 |
+
{"timestamp": "2026-11-25T06:53:10+00:00", "step": 64, "tokens": 262144, "train_seconds": 5.503625200017268, "loss": 6.018582344055176, "accuracy": 0.119873046875, "lr": 0.0002959475902529353, "gradient_norm": 0.9287191033363342, "derivatives": {}, "dev_nll": 5.9557200265990105, "dev_accuracy": 0.104736328125}
|
| 15 |
+
{"timestamp": "2026-11-25T06:53:11+00:00", "step": 72, "tokens": 294912, "train_seconds": 5.77523190001375, "loss": 5.877789497375488, "accuracy": 0.13427734375, "lr": 0.00029407560083947375, "gradient_norm": 0.7545945644378662, "derivatives": {}}
|
| 16 |
+
{"timestamp": "2026-11-25T06:53:11+00:00", "step": 74, "tokens": 303104, "train_seconds": 6.442192700014857, "loss": 5.800248622894287, "accuracy": 0.147705078125, "lr": 0.0002935534645206861, "gradient_norm": 1.0329512357711792, "derivatives": {"third": {"estimate": 402236608.0, "raw_grad_norm": 25232121856.0, "lambda": 3.0190450056526336e-14}}, "penalty": 9.714963379784449e-05}
|
| 17 |
+
{"timestamp": "2026-11-25T06:53:12+00:00", "step": 80, "tokens": 327680, "train_seconds": 6.6554149000148755, "loss": 5.68620491027832, "accuracy": 0.14208984375, "lr": 0.00029185850380609757, "gradient_norm": 0.9363688230514526, "derivatives": {}}
|
| 18 |
+
{"timestamp": "2026-11-25T06:53:12+00:00", "step": 84, "tokens": 344064, "train_seconds": 7.390628800014383, "loss": 5.596960544586182, "accuracy": 0.15478515625, "lr": 0.00029062235674941173, "gradient_norm": 0.8232135772705078, "derivatives": {"third": {"estimate": 612426752.0, "raw_grad_norm": 26754007040.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.00014791551415629313}
|
| 19 |
+
{"timestamp": "2026-11-25T06:53:13+00:00", "step": 86, "tokens": 352256, "train_seconds": 8.067877200013754, "loss": 5.5018205642700195, "accuracy": 0.1826171875, "lr": 0.0002899727358513002, "gradient_norm": 0.9197686314582825, "derivatives": {"third": {"estimate": 1588960768.0, "raw_grad_norm": 75891236864.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0003837715256646698}
|
| 20 |
+
{"timestamp": "2026-11-25T06:53:13+00:00", "step": 88, "tokens": 360448, "train_seconds": 8.13564290001159, "loss": 5.574240207672119, "accuracy": 0.17041015625, "lr": 0.0002893022269739857, "gradient_norm": 0.690981388092041, "derivatives": {}}
|
| 21 |
+
{"timestamp": "2026-11-25T06:53:14+00:00", "step": 91, "tokens": 372736, "train_seconds": 8.844021600005362, "loss": 5.47077751159668, "accuracy": 0.186767578125, "lr": 0.0002882575447980835, "gradient_norm": 0.7441373467445374, "derivatives": {"third": {"estimate": 673489856.0, "raw_grad_norm": 54706069504.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0001626636948891609}
|
| 22 |
+
{"timestamp": "2026-11-25T06:53:15+00:00", "step": 93, "tokens": 380928, "train_seconds": 9.525842300005024, "loss": 5.439934730529785, "accuracy": 0.185546875, "lr": 0.00028753531386565553, "gradient_norm": 0.6965776085853577, "derivatives": {"third": {"estimate": 1018751616.0, "raw_grad_norm": 48210948096.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.00024605255826282797}
|
| 23 |
+
{"timestamp": "2026-11-25T06:53:15+00:00", "step": 96, "tokens": 393216, "train_seconds": 9.63415040000109, "loss": 5.417472839355469, "accuracy": 0.1826171875, "lr": 0.00028641360502457754, "gradient_norm": 0.8002005219459534, "derivatives": {}, "dev_nll": 5.391113440564368, "dev_accuracy": 0.187744140625}
|
| 24 |
+
{"timestamp": "2026-11-25T06:53:16+00:00", "step": 100, "tokens": 409600, "train_seconds": 10.418345399997634, "loss": 5.29288911819458, "accuracy": 0.191162109375, "lr": 0.00028484704399033055, "gradient_norm": 0.9750503301620483, "derivatives": {"third": {"estimate": 651780992.0, "raw_grad_norm": 24220547072.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.00015742049189415352}
|
| 25 |
+
{"timestamp": "2026-11-25T06:53:16+00:00", "step": 104, "tokens": 425984, "train_seconds": 10.546747399996093, "loss": 5.301176071166992, "accuracy": 0.20849609375, "lr": 0.00028320036122578225, "gradient_norm": 1.2309616804122925, "derivatives": {}}
|
| 26 |
+
{"timestamp": "2026-11-25T06:53:17+00:00", "step": 106, "tokens": 434176, "train_seconds": 11.291683499999635, "loss": 5.281104564666748, "accuracy": 0.197021484375, "lr": 0.0002823473161415974, "gradient_norm": 1.0485446453094482, "derivatives": {"third": {"estimate": 903377152.0, "raw_grad_norm": 27949066240.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.000218186902317304}
|
| 27 |
+
{"timestamp": "2026-11-25T06:53:17+00:00", "step": 112, "tokens": 458752, "train_seconds": 11.525948700003937, "loss": 5.2972822189331055, "accuracy": 0.190185546875, "lr": 0.00027967108678238515, "gradient_norm": 1.0293076038360596, "derivatives": {}}
|
| 28 |
+
{"timestamp": "2026-11-25T06:53:18+00:00", "step": 115, "tokens": 471040, "train_seconds": 12.311810900002456, "loss": 5.178736686706543, "accuracy": 0.203369140625, "lr": 0.00027826803173633353, "gradient_norm": 0.8960123658180237, "derivatives": {"third": {"estimate": 1990962944.0, "raw_grad_norm": 91436515328.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0004808645386018131}
|
| 29 |
+
{"timestamp": "2026-11-25T06:53:18+00:00", "step": 120, "tokens": 491520, "train_seconds": 12.488106500004506, "loss": 5.054182052612305, "accuracy": 0.217529296875, "lr": 0.0002758352178658645, "gradient_norm": 0.862942636013031, "derivatives": {}}
|
| 30 |
+
{"timestamp": "2026-11-25T06:53:19+00:00", "step": 121, "tokens": 495616, "train_seconds": 13.121264900004462, "loss": 5.056066513061523, "accuracy": 0.2275390625, "lr": 0.00027533467887102934, "gradient_norm": 0.9006228446960449, "derivatives": {"third": {"estimate": 1700124160.0, "raw_grad_norm": 77960208384.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.00041062010833899034}
|
| 31 |
+
{"timestamp": "2026-11-25T06:53:19+00:00", "step": 126, "tokens": 516096, "train_seconds": 13.914733800007525, "loss": 5.033808708190918, "accuracy": 0.21826171875, "lr": 0.0002727632530660655, "gradient_norm": 1.3387088775634766, "derivatives": {"third": {"estimate": 2338824960.0, "raw_grad_norm": 119500537856.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0005648814251666977}
|
| 32 |
+
{"timestamp": "2026-11-25T06:53:20+00:00", "step": 127, "tokens": 520192, "train_seconds": 14.571734600005584, "loss": 5.098933219909668, "accuracy": 0.2158203125, "lr": 0.00027223537216784213, "gradient_norm": 0.9884515404701233, "derivatives": {"third": {"estimate": 1412031616.0, "raw_grad_norm": 56304349184.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0003410389598486734}
|
| 33 |
+
{"timestamp": "2026-11-25T06:53:20+00:00", "step": 128, "tokens": 524288, "train_seconds": 14.606057000004512, "loss": 5.069682598114014, "accuracy": 0.222900390625, "lr": 0.0002717030103850325, "gradient_norm": 1.131350040435791, "derivatives": {}, "dev_nll": 4.952766222239006, "dev_accuracy": 0.2247314453125}
|
| 34 |
+
{"timestamp": "2026-11-25T06:53:21+00:00", "step": 130, "tokens": 532480, "train_seconds": 15.323152900004061, "loss": 4.942876815795898, "accuracy": 0.22314453125, "lr": 0.00027062493333199314, "gradient_norm": 1.103616714477539, "derivatives": {"third": {"estimate": 3431810560.0, "raw_grad_norm": 171118395392.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0008288632425211174}
|
| 35 |
+
{"timestamp": "2026-11-25T06:53:22+00:00", "step": 131, "tokens": 536576, "train_seconds": 15.959046800002398, "loss": 4.899041175842285, "accuracy": 0.231201171875, "lr": 0.00027007926310976157, "gradient_norm": 1.1660929918289185, "derivatives": {"third": {"estimate": 2619744768.0, "raw_grad_norm": 124098732032.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0006327301886332014}
|
| 36 |
+
{"timestamp": "2026-11-25T06:53:22+00:00", "step": 136, "tokens": 557056, "train_seconds": 16.120503400001326, "loss": 4.889763355255127, "accuracy": 0.224853515625, "lr": 0.0002672855125649559, "gradient_norm": 1.132503867149353, "derivatives": {}}
|
| 37 |
+
{"timestamp": "2026-11-25T06:53:22+00:00", "step": 144, "tokens": 589824, "train_seconds": 16.399112399998558, "loss": 4.952497959136963, "accuracy": 0.22021484375, "lr": 0.000262594535407472, "gradient_norm": 0.8597284555435181, "derivatives": {}}
|
| 38 |
+
{"timestamp": "2026-11-25T06:53:23+00:00", "step": 152, "tokens": 622592, "train_seconds": 16.656355499999336, "loss": 4.7288818359375, "accuracy": 0.232421875, "lr": 0.00025764262111227905, "gradient_norm": 1.0993016958236694, "derivatives": {}}
|
| 39 |
+
{"timestamp": "2026-11-25T06:53:23+00:00", "step": 158, "tokens": 647168, "train_seconds": 17.476455600000918, "loss": 4.59946870803833, "accuracy": 0.25390625, "lr": 0.00025376538475682355, "gradient_norm": 1.0133297443389893, "derivatives": {"third": {"estimate": 3139989504.0, "raw_grad_norm": 110984323072.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0007583815703882313}
|
| 40 |
+
{"timestamp": "2026-11-25T06:53:24+00:00", "step": 160, "tokens": 655360, "train_seconds": 17.539574900001753, "loss": 4.74267578125, "accuracy": 0.253662109375, "lr": 0.0002524430095430329, "gradient_norm": 0.8979820013046265, "derivatives": {}, "dev_nll": 4.627732352295425, "dev_accuracy": 0.2625732421875}
|
| 41 |
+
{"timestamp": "2026-11-25T06:53:25+00:00", "step": 164, "tokens": 671744, "train_seconds": 18.302958700005547, "loss": 4.728054523468018, "accuracy": 0.2451171875, "lr": 0.0002497546368307333, "gradient_norm": 1.3504196405410767, "derivatives": {"third": {"estimate": 3335012864.0, "raw_grad_norm": 158742921216.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0008054843144677189}
|
| 42 |
+
{"timestamp": "2026-11-25T06:53:25+00:00", "step": 168, "tokens": 688128, "train_seconds": 18.434402100003354, "loss": 4.673685073852539, "accuracy": 0.248046875, "lr": 0.00024700960282811026, "gradient_norm": 1.1206730604171753, "derivatives": {}}
|
| 43 |
+
{"timestamp": "2026-11-25T06:53:26+00:00", "step": 173, "tokens": 708608, "train_seconds": 19.255212600004597, "loss": 4.670571327209473, "accuracy": 0.250244140625, "lr": 0.00024350142962388359, "gradient_norm": 0.9819175601005554, "derivatives": {"third": {"estimate": 5509716992.0, "raw_grad_norm": 504827543552.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0013307266853805641}
|
| 44 |
+
{"timestamp": "2026-11-25T06:53:26+00:00", "step": 176, "tokens": 720896, "train_seconds": 19.397688600001857, "loss": 4.610803604125977, "accuracy": 0.260986328125, "lr": 0.0002413569281906827, "gradient_norm": 0.9558857679367065, "derivatives": {}}
|
| 45 |
+
{"timestamp": "2026-11-25T06:53:27+00:00", "step": 178, "tokens": 729088, "train_seconds": 20.134997099998145, "loss": 4.524724960327148, "accuracy": 0.26025390625, "lr": 0.00023991125771830757, "gradient_norm": 0.851331889629364, "derivatives": {"third": {"estimate": 3996158208.0, "raw_grad_norm": 164849172480.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0009651665183728142}
|
| 46 |
+
{"timestamp": "2026-11-25T06:53:27+00:00", "step": 184, "tokens": 753664, "train_seconds": 20.330410599999595, "loss": 4.474024772644043, "accuracy": 0.2587890625, "lr": 0.00023550009910748468, "gradient_norm": 1.0042262077331543, "derivatives": {}}
|
| 47 |
+
{"timestamp": "2026-11-25T06:53:28+00:00", "step": 188, "tokens": 770048, "train_seconds": 21.075920299994323, "loss": 4.468923568725586, "accuracy": 0.26123046875, "lr": 0.00023249999999999999, "gradient_norm": 1.089317798614502, "derivatives": {"third": {"estimate": 5614497280.0, "raw_grad_norm": 244906393600.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0013560335977947436}
|
| 48 |
+
{"timestamp": "2026-11-25T06:53:28+00:00", "step": 192, "tokens": 786432, "train_seconds": 21.202935599994817, "loss": 4.574586868286133, "accuracy": 0.25537109375, "lr": 0.00022945477490012307, "gradient_norm": 1.0320186614990234, "derivatives": {}, "dev_nll": 4.398750557331368, "dev_accuracy": 0.2728271484375}
|
| 49 |
+
{"timestamp": "2026-11-25T06:53:28+00:00", "step": 200, "tokens": 819200, "train_seconds": 21.458769500000926, "loss": 4.463833808898926, "accuracy": 0.26416015625, "lr": 0.0002232371188669692, "gradient_norm": 0.9601045846939087, "derivatives": {}}
|
| 50 |
+
{"timestamp": "2026-11-25T06:53:29+00:00", "step": 208, "tokens": 851968, "train_seconds": 21.74333810000462, "loss": 4.428913116455078, "accuracy": 0.2685546875, "lr": 0.00021686375506757487, "gradient_norm": 0.9691241979598999, "derivatives": {}}
|
| 51 |
+
{"timestamp": "2026-11-25T06:53:30+00:00", "step": 216, "tokens": 884736, "train_seconds": 22.668458799998916, "loss": 4.32763671875, "accuracy": 0.278564453125, "lr": 0.00021035172387515817, "gradient_norm": 1.0534381866455078, "derivatives": {"third": {"estimate": 4276601856.0, "raw_grad_norm": 195151773696.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0010329002779617266}
|
| 52 |
+
{"timestamp": "2026-11-25T06:53:30+00:00", "step": 221, "tokens": 905216, "train_seconds": 23.462999499992293, "loss": 4.4579057693481445, "accuracy": 0.259765625, "lr": 0.00020621900968884028, "gradient_norm": 0.9786670804023743, "derivatives": {"third": {"estimate": 10779857920.0, "raw_grad_norm": 755290341376.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.002603590097201679}
|
| 53 |
+
{"timestamp": "2026-11-25T06:53:31+00:00", "step": 224, "tokens": 917504, "train_seconds": 24.206114399992657, "loss": 4.28486442565918, "accuracy": 0.281005859375, "lr": 0.00020371843641599718, "gradient_norm": 1.3374369144439697, "derivatives": {"third": {"estimate": 4993550848.0, "raw_grad_norm": 196202201088.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.00120606037985015, "dev_nll": 4.244475009327289, "dev_accuracy": 0.2874755859375}
|
| 54 |
+
{"timestamp": "2026-11-25T06:53:32+00:00", "step": 225, "tokens": 921600, "train_seconds": 24.870238799991057, "loss": 4.2461838722229, "accuracy": 0.286865234375, "lr": 0.00020288162974388773, "gradient_norm": 1.1928012371063232, "derivatives": {"third": {"estimate": 13662820352.0, "raw_grad_norm": 820099874816.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0032998935637467805}
|
| 55 |
+
{"timestamp": "2026-11-25T06:53:32+00:00", "step": 232, "tokens": 950272, "train_seconds": 25.103161399991222, "loss": 4.236819744110107, "accuracy": 0.293701171875, "lr": 0.00019698162801754605, "gradient_norm": 1.258667230606079, "derivatives": {}}
|
| 56 |
+
{"timestamp": "2026-11-25T06:53:33+00:00", "step": 240, "tokens": 983040, "train_seconds": 25.35344059999261, "loss": 4.27744197845459, "accuracy": 0.281982421875, "lr": 0.00019015931078973959, "gradient_norm": 1.2428650856018066, "derivatives": {}}
|
| 57 |
+
{"timestamp": "2026-11-25T06:53:34+00:00", "step": 248, "tokens": 1015808, "train_seconds": 26.235951299986482, "loss": 4.31925106048584, "accuracy": 0.281494140625, "lr": 0.0001832697254662677, "gradient_norm": 1.1137973070144653, "derivatives": {"third": {"estimate": 7678892032.0, "raw_grad_norm": 421332516864.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0018546336510524323}
|
| 58 |
+
{"timestamp": "2026-11-25T06:53:34+00:00", "step": 256, "tokens": 1048576, "train_seconds": 26.503902699983882, "loss": 4.177909851074219, "accuracy": 0.297119140625, "lr": 0.0001763312926345824, "gradient_norm": 0.9528645873069763, "derivatives": {}, "dev_nll": 4.135103546315804, "dev_accuracy": 0.2967529296875}
|
| 59 |
+
{"timestamp": "2026-11-25T06:53:35+00:00", "step": 262, "tokens": 1073152, "train_seconds": 27.31949909998366, "loss": 4.0494279861450195, "accuracy": 0.298095703125, "lr": 0.00017110656802074535, "gradient_norm": 1.4093043804168701, "derivatives": {"third": {"estimate": 5583020544.0, "raw_grad_norm": 220746776576.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.00134843122318554}
|
| 60 |
+
{"timestamp": "2026-11-25T06:53:35+00:00", "step": 264, "tokens": 1081344, "train_seconds": 27.387194399983855, "loss": 4.109385967254639, "accuracy": 0.29345703125, "lr": 0.00016936256348503193, "gradient_norm": 1.1433314085006714, "derivatives": {}}
|
| 61 |
+
{"timestamp": "2026-11-25T06:53:36+00:00", "step": 268, "tokens": 1097728, "train_seconds": 28.147003199981555, "loss": 4.114870071411133, "accuracy": 0.308837890625, "lr": 0.00016587265854853278, "gradient_norm": 1.4172403812408447, "derivatives": {"third": {"estimate": 7400002048.0, "raw_grad_norm": 372829454336.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0017872751379866929}
|
| 62 |
+
{"timestamp": "2026-11-25T06:53:36+00:00", "step": 272, "tokens": 1114112, "train_seconds": 28.289321199979895, "loss": 4.108563423156738, "accuracy": 0.296875, "lr": 0.0001623821702108037, "gradient_norm": 1.3749032020568848, "derivatives": {}}
|
| 63 |
+
{"timestamp": "2026-11-25T06:53:36+00:00", "step": 280, "tokens": 1146880, "train_seconds": 28.577853899980255, "loss": 4.076873779296875, "accuracy": 0.304443359375, "lr": 0.00015540877619129144, "gradient_norm": 1.0504990816116333, "derivatives": {}}
|
| 64 |
+
{"timestamp": "2026-11-25T06:53:37+00:00", "step": 288, "tokens": 1179648, "train_seconds": 28.845880599979864, "loss": 4.0791707038879395, "accuracy": 0.30615234375, "lr": 0.00014846102609207987, "gradient_norm": 1.0808683633804321, "derivatives": {}, "dev_nll": 4.046876813896233, "dev_accuracy": 0.3045654296875}
|
| 65 |
+
{"timestamp": "2026-11-25T06:53:37+00:00", "step": 296, "tokens": 1212416, "train_seconds": 29.107472599975154, "loss": 4.1619696617126465, "accuracy": 0.298095703125, "lr": 0.0001415574960149644, "gradient_norm": 1.0577549934387207, "derivatives": {}}
|
| 66 |
+
{"timestamp": "2026-11-25T06:53:38+00:00", "step": 304, "tokens": 1245184, "train_seconds": 29.36811019997549, "loss": 4.097478866577148, "accuracy": 0.291259765625, "lr": 0.0001347166438312889, "gradient_norm": 1.173471212387085, "derivatives": {}}
|
| 67 |
+
{"timestamp": "2026-11-25T06:53:38+00:00", "step": 312, "tokens": 1277952, "train_seconds": 29.631841399968835, "loss": 3.926828622817993, "accuracy": 0.32177734375, "lr": 0.0001279567598313943, "gradient_norm": 1.3313730955123901, "derivatives": {}}
|
| 68 |
+
{"timestamp": "2026-11-25T06:53:39+00:00", "step": 318, "tokens": 1302528, "train_seconds": 30.447788799967384, "loss": 3.940347194671631, "accuracy": 0.319091796875, "lr": 0.00012295086423234265, "gradient_norm": 1.2935206890106201, "derivatives": {"third": {"estimate": 10820236288.0, "raw_grad_norm": 1247449972736.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0026133424260214233}
|
| 69 |
+
{"timestamp": "2026-11-25T06:53:39+00:00", "step": 320, "tokens": 1310720, "train_seconds": 30.509777699968254, "loss": 3.9894673824310303, "accuracy": 0.3017578125, "lr": 0.00012129591782212666, "gradient_norm": 1.2891308069229126, "derivatives": {}, "dev_nll": 3.9892090636712965, "dev_accuracy": 0.30859375}
|
| 70 |
+
{"timestamp": "2026-11-25T06:53:40+00:00", "step": 321, "tokens": 1314816, "train_seconds": 31.143040499970084, "loss": 4.137908458709717, "accuracy": 0.287841796875, "lr": 0.00012047116664350545, "gradient_norm": 1.0541424751281738, "derivatives": {"third": {"estimate": 4779395072.0, "raw_grad_norm": 233286238208.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0011543367057729927}
|
| 71 |
+
{"timestamp": "2026-11-25T06:53:40+00:00", "step": 324, "tokens": 1327104, "train_seconds": 31.866908599964518, "loss": 4.092827796936035, "accuracy": 0.302490234375, "lr": 0.0001180082145277978, "gradient_norm": 1.0356355905532837, "derivatives": {"third": {"estimate": 6242598912.0, "raw_grad_norm": 237935394816.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0015077349654052932}
|
| 72 |
+
{"timestamp": "2026-11-25T06:53:41+00:00", "step": 328, "tokens": 1343488, "train_seconds": 32.000305199962895, "loss": 3.98630952835083, "accuracy": 0.3115234375, "lr": 0.00011475192680315358, "gradient_norm": 1.3259342908859253, "derivatives": {}}
|
| 73 |
+
{"timestamp": "2026-11-25T06:53:41+00:00", "step": 334, "tokens": 1368064, "train_seconds": 32.85341999996308, "loss": 3.904413938522339, "accuracy": 0.317626953125, "lr": 0.00010993115535669522, "gradient_norm": 1.1164793968200684, "derivatives": {"third": {"estimate": 8641069056.0, "raw_grad_norm": 287282200576.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0020870221101613054}
|
| 74 |
+
{"timestamp": "2026-11-25T06:53:42+00:00", "step": 335, "tokens": 1372160, "train_seconds": 33.49670619996323, "loss": 4.063231468200684, "accuracy": 0.30078125, "lr": 0.00010913555219180621, "gradient_norm": 1.2902522087097168, "derivatives": {"third": {"estimate": 5932030464.0, "raw_grad_norm": 213568307200.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.001432725355657478}
|
| 75 |
+
{"timestamp": "2026-11-25T06:53:42+00:00", "step": 336, "tokens": 1376256, "train_seconds": 33.52565479996338, "loss": 3.9229676723480225, "accuracy": 0.323974609375, "lr": 0.00010834228335129206, "gradient_norm": 1.1178112030029297, "derivatives": {}}
|
| 76 |
+
{"timestamp": "2026-11-25T06:53:42+00:00", "step": 344, "tokens": 1409024, "train_seconds": 33.78260459996454, "loss": 4.052443504333496, "accuracy": 0.29541015625, "lr": 0.00010208412484015729, "gradient_norm": 1.1940619945526123, "derivatives": {}}
|
| 77 |
+
{"timestamp": "2026-11-25T06:53:43+00:00", "step": 352, "tokens": 1441792, "train_seconds": 34.04571979996035, "loss": 4.114100933074951, "accuracy": 0.29833984375, "lr": 9.599418362020711e-05, "gradient_norm": 1.134588599205017, "derivatives": {}, "dev_nll": 3.9373448130500037, "dev_accuracy": 0.315673828125}
|
| 78 |
+
{"timestamp": "2026-11-25T06:53:44+00:00", "step": 360, "tokens": 1474560, "train_seconds": 34.304265799964924, "loss": 3.974890947341919, "accuracy": 0.314208984375, "lr": 9.008874228169243e-05, "gradient_norm": 1.0937724113464355, "derivatives": {}}
|
| 79 |
+
{"timestamp": "2026-11-25T06:53:45+00:00", "step": 367, "tokens": 1503232, "train_seconds": 35.20729249996657, "loss": 3.885831117630005, "accuracy": 0.321044921875, "lr": 8.508525408010976e-05, "gradient_norm": 1.2458723783493042, "derivatives": {"third": {"estimate": 8273863680.0, "raw_grad_norm": 388040491008.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0019983333456443774}
|
| 80 |
+
{"timestamp": "2026-11-25T06:53:45+00:00", "step": 368, "tokens": 1507328, "train_seconds": 35.24287239996556, "loss": 3.9484519958496094, "accuracy": 0.32080078125, "lr": 8.438359012012389e-05, "gradient_norm": 1.156474232673645, "derivatives": {}}
|
| 81 |
+
{"timestamp": "2026-11-25T06:53:45+00:00", "step": 376, "tokens": 1540096, "train_seconds": 35.54825019996861, "loss": 4.0268754959106445, "accuracy": 0.30810546875, "lr": 7.889398092065467e-05, "gradient_norm": 1.2102831602096558, "derivatives": {}}
|
| 82 |
+
{"timestamp": "2026-11-25T06:53:46+00:00", "step": 384, "tokens": 1572864, "train_seconds": 35.81992599997102, "loss": 3.9417507648468018, "accuracy": 0.322265625, "lr": 7.363459217424964e-05, "gradient_norm": 1.021830439567566, "derivatives": {}, "dev_nll": 3.9011770100623835, "dev_accuracy": 0.32275390625}
|
| 83 |
+
{"timestamp": "2026-11-25T06:53:48+00:00", "step": 388, "tokens": 1589248, "train_seconds": 36.599293099967326, "loss": 3.920675754547119, "accuracy": 0.319580078125, "lr": 7.109564991567032e-05, "gradient_norm": 1.1695970296859741, "derivatives": {"third": {"estimate": 11748061184.0, "raw_grad_norm": 466803032064.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0028374340354925414}
|
| 84 |
+
{"timestamp": "2026-11-25T06:53:49+00:00", "step": 389, "tokens": 1593344, "train_seconds": 37.346942599968315, "loss": 3.9883546829223633, "accuracy": 0.318603515625, "lr": 7.047065805143226e-05, "gradient_norm": 1.1918836832046509, "derivatives": {"third": {"estimate": 9307873280.0, "raw_grad_norm": 388209967104.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0022480710671385277}
|
| 85 |
+
{"timestamp": "2026-11-25T06:53:49+00:00", "step": 392, "tokens": 1605632, "train_seconds": 37.47129129996756, "loss": 3.885087490081787, "accuracy": 0.326904296875, "lr": 6.861948583468366e-05, "gradient_norm": 1.2756530046463013, "derivatives": {}}
|
| 86 |
+
{"timestamp": "2026-11-25T06:53:50+00:00", "step": 400, "tokens": 1638400, "train_seconds": 38.503013099969394, "loss": 4.004014492034912, "accuracy": 0.307861328125, "lr": 6.386207072129363e-05, "gradient_norm": 1.0438706874847412, "derivatives": {"third": {"estimate": 11879929856.0, "raw_grad_norm": 785386045440.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0028692834319408327}
|
| 87 |
+
{"timestamp": "2026-11-25T06:53:51+00:00", "step": 406, "tokens": 1662976, "train_seconds": 39.401476599963644, "loss": 4.072839736938477, "accuracy": 0.3017578125, "lr": 6.047079790294211e-05, "gradient_norm": 1.1474108695983887, "derivatives": {"third": {"estimate": 10794472448.0, "raw_grad_norm": 669785260032.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0026071198506231485}
|
| 88 |
+
{"timestamp": "2026-11-25T06:53:52+00:00", "step": 408, "tokens": 1671168, "train_seconds": 40.09422119996452, "loss": 3.8903799057006836, "accuracy": 0.33154296875, "lr": 5.937506666800685e-05, "gradient_norm": 1.2997562885284424, "derivatives": {"third": {"estimate": 8848420864.0, "raw_grad_norm": 1198381465600.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0021371024653897407}
|
| 89 |
+
{"timestamp": "2026-11-25T06:53:53+00:00", "step": 415, "tokens": 1699840, "train_seconds": 40.951153299960424, "loss": 3.8527297973632812, "accuracy": 0.333251953125, "lr": 5.5680209182797707e-05, "gradient_norm": 1.1725497245788574, "derivatives": {"third": {"estimate": 10720824320.0, "raw_grad_norm": 447405293568.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0025893320895820234}
|
| 90 |
+
{"timestamp": "2026-11-25T06:53:53+00:00", "step": 416, "tokens": 1703936, "train_seconds": 40.98504639996099, "loss": 3.9771265983581543, "accuracy": 0.3115234375, "lr": 5.517047051449939e-05, "gradient_norm": 1.1482620239257812, "derivatives": {}, "dev_nll": 3.8764175502292346, "dev_accuracy": 0.3218994140625}
|
| 91 |
+
{"timestamp": "2026-11-25T06:53:55+00:00", "step": 424, "tokens": 1736704, "train_seconds": 41.2668488999625, "loss": 3.9343953132629395, "accuracy": 0.321533203125, "lr": 5.125952403041481e-05, "gradient_norm": 1.2386479377746582, "derivatives": {}}
|
| 92 |
+
{"timestamp": "2026-11-25T06:53:55+00:00", "step": 432, "tokens": 1769472, "train_seconds": 41.55288769996696, "loss": 3.855048656463623, "accuracy": 0.327880859375, "lr": 4.765268385840255e-05, "gradient_norm": 1.3344863653182983, "derivatives": {}}
|
| 93 |
+
{"timestamp": "2026-11-25T06:53:56+00:00", "step": 439, "tokens": 1798144, "train_seconds": 42.40202559997124, "loss": 3.86661434173584, "accuracy": 0.322509765625, "lr": 4.475376250789764e-05, "gradient_norm": 1.0519979000091553, "derivatives": {"third": {"estimate": 9986562048.0, "raw_grad_norm": 396777881600.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.002411990421972363}
|
| 94 |
+
{"timestamp": "2026-11-25T06:53:56+00:00", "step": 440, "tokens": 1802240, "train_seconds": 42.43137719997321, "loss": 3.9732091426849365, "accuracy": 0.31689453125, "lr": 4.435959355633935e-05, "gradient_norm": 1.0232234001159668, "derivatives": {}}
|
| 95 |
+
{"timestamp": "2026-11-25T06:53:56+00:00", "step": 441, "tokens": 1806336, "train_seconds": 43.05345439997109, "loss": 3.9334938526153564, "accuracy": 0.33056640625, "lr": 4.3970465625544734e-05, "gradient_norm": 1.1640537977218628, "derivatives": {"third": {"estimate": 10986385408.0, "raw_grad_norm": 588745867264.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0026534713596957898}
|
| 96 |
+
{"timestamp": "2026-11-25T06:53:57+00:00", "step": 448, "tokens": 1835008, "train_seconds": 43.280059999968216, "loss": 3.7405543327331543, "accuracy": 0.345703125, "lr": 4.1389057813484204e-05, "gradient_norm": 1.0891798734664917, "derivatives": {}, "dev_nll": 3.854529206699226, "dev_accuracy": 0.3236083984375}
|
| 97 |
+
{"timestamp": "2026-11-25T06:53:57+00:00", "step": 456, "tokens": 1867776, "train_seconds": 43.576809399964986, "loss": 3.9720683097839355, "accuracy": 0.309326171875, "lr": 3.87490189095044e-05, "gradient_norm": 1.049809217453003, "derivatives": {}}
|
| 98 |
+
{"timestamp": "2026-11-25T06:53:58+00:00", "step": 463, "tokens": 1896448, "train_seconds": 44.481535599967174, "loss": 3.8821299076080322, "accuracy": 0.31982421875, "lr": 3.6715666657252646e-05, "gradient_norm": 1.0455021858215332, "derivatives": {"third": {"estimate": 7919499776.0, "raw_grad_norm": 329884925952.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0019127460996799961}
|
| 99 |
+
{"timestamp": "2026-11-25T06:53:58+00:00", "step": 464, "tokens": 1900544, "train_seconds": 44.51567539996904, "loss": 3.9288105964660645, "accuracy": 0.316162109375, "lr": 3.644653547931393e-05, "gradient_norm": 1.0509166717529297, "derivatives": {}}
|
| 100 |
+
{"timestamp": "2026-11-25T06:53:59+00:00", "step": 469, "tokens": 1921024, "train_seconds": 45.34516969997276, "loss": 3.9381537437438965, "accuracy": 0.315673828125, "lr": 3.5181671718470364e-05, "gradient_norm": 1.200372338294983, "derivatives": {"third": {"estimate": 14279085056.0, "raw_grad_norm": 780661227520.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0034487360338884766}
|
| 101 |
+
{"timestamp": "2026-11-25T06:53:59+00:00", "step": 472, "tokens": 1933312, "train_seconds": 45.45308899997326, "loss": 3.876171112060547, "accuracy": 0.336669921875, "lr": 3.448776364050062e-05, "gradient_norm": 1.153729796409607, "derivatives": {}}
|
| 102 |
+
{"timestamp": "2026-11-25T06:54:00+00:00", "step": 475, "tokens": 1945600, "train_seconds": 46.185072699976445, "loss": 3.891139030456543, "accuracy": 0.317626953125, "lr": 3.384293587706642e-05, "gradient_norm": 1.1733434200286865, "derivatives": {"third": {"estimate": 10670925824.0, "raw_grad_norm": 405991555072.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.002577280425170953}
|
| 103 |
+
{"timestamp": "2026-11-25T06:54:01+00:00", "step": 480, "tokens": 1966080, "train_seconds": 46.96660219997648, "loss": 3.9555654525756836, "accuracy": 0.314208984375, "lr": 3.2877940533801046e-05, "gradient_norm": 1.0777127742767334, "derivatives": {"third": {"estimate": 15629627392.0, "raw_grad_norm": 1250281783296.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0037749238814423357, "dev_nll": 3.8413407870102674, "dev_accuracy": 0.325927734375}
|
| 104 |
+
{"timestamp": "2026-11-25T06:54:02+00:00", "step": 487, "tokens": 1994752, "train_seconds": 47.831102699979965, "loss": 3.8127408027648926, "accuracy": 0.33056640625, "lr": 3.175899911303486e-05, "gradient_norm": 1.245995044708252, "derivatives": {"third": {"estimate": 12704176128.0, "raw_grad_norm": 446570102784.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.003068358359213585}
|
| 105 |
+
{"timestamp": "2026-11-25T06:54:02+00:00", "step": 488, "tokens": 1998848, "train_seconds": 47.86804109998047, "loss": 3.8884990215301514, "accuracy": 0.328857421875, "lr": 3.162137032063078e-05, "gradient_norm": 1.1359035968780518, "derivatives": {}}
|
| 106 |
+
{"timestamp": "2026-11-25T06:54:02+00:00", "step": 496, "tokens": 2031616, "train_seconds": 48.14906749997681, "loss": 3.8385584354400635, "accuracy": 0.315185546875, "lr": 3.0721412675108806e-05, "gradient_norm": 1.216956615447998, "derivatives": {}}
|
| 107 |
+
{"timestamp": "2026-11-25T06:54:03+00:00", "step": 504, "tokens": 2064384, "train_seconds": 48.421238999973866, "loss": 3.716902732849121, "accuracy": 0.335693359375, "lr": 3.0180473801343766e-05, "gradient_norm": 1.1593025922775269, "derivatives": {}}
|
| 108 |
+
{"timestamp": "2026-11-25T06:54:03+00:00", "step": 506, "tokens": 2072576, "train_seconds": 49.14197629997216, "loss": 3.9660849571228027, "accuracy": 0.307373046875, "lr": 3.0101526411928942e-05, "gradient_norm": 1.2876179218292236, "derivatives": {"third": {"estimate": 13764512768.0, "raw_grad_norm": 586380541952.0, "lambda": 3.0190450056526336e-14}}, "penalty": 0.0033244546821977845}
|
| 109 |
+
{"timestamp": "2026-11-25T06:54:04+00:00", "step": 512, "tokens": 2097152, "train_seconds": 49.36696609996943, "loss": 3.870722770690918, "accuracy": 0.32373046875, "lr": 2.9999999999999997e-05, "gradient_norm": 1.1502281427383423, "derivatives": {}, "dev_nll": 3.829090001003351, "dev_accuracy": 0.3262939453125}
|
research/results/stories-pilot-s00-third-r01/samples.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"timestamp": "2026-11-25T06:54:07+00:00", "split": "dev", "prompt": "Once upon a time, there was a clever little dog named Max. Max loved", "reference": " to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.\n\nMax went to his friend, the wise old owl,", "continuation": " to play on the cat.", "prompt_ids": [431, 447, 259, 396, 12, 399, 282, 259, 2199, 398, 628, 500, 709, 14, 709, 505], "generated_ids": [266, 360, 345, 263, 701, 14, 0], "tokens": 7, "sampling_seed": 7401, "temperature": 0.8}
|
| 2 |
+
{"timestamp": "2026-11-25T06:54:07+00:00", "split": "dev", "prompt": "Once there was a bear who loved spicy food. He always used to pick the", "reference": " spiciest of all the food in the village. One day, he was making his usual rounds at the village market when he saw his friend, the rabbit. The bear waved and the", "continuation": " books and be twins. But he couldriending the tree and open his friends. Timmy heard them and said, \"I worry, hug, here?\" Lily smiled and snake. She said on,", "prompt_ids": [431, 399, 282, 259, 799, 591, 505, 2474, 1035, 14, 314, 669, 1309, 266, 767, 263], "generated_ids": [1462, 265, 331, 1798, 14, 551, 279, 459, 415, 289, 263, 682, 265, 1182, 351, 478, 14, 524, 750, 448, 265, 327, 12, 333, 41, 1312, 12, 580, 12, 1191, 481, 363, 503, 265, 2264, 14, 313, 327, 345, 12], "tokens": 40, "sampling_seed": 7402, "temperature": 0.8}
|
| 3 |
+
{"timestamp": "2026-11-25T06:54:08+00:00", "split": "dev", "prompt": "Once upon a time there was a brilliant engine who lived in a car. One", "reference": " day, the car drove to a special place with a lot of cars. The engine met many other engines. They all said hello and introduced themselves. \n\nOne engine was", "continuation": " she showed her a sun.\n\nLily was too warm to eat his friends. The boy knew he heard the forest. He was cool and to play with her mom.\n\nLily was scared", "prompt_ids": [431, 447, 259, 396, 399, 282, 259, 3132, 3413, 591, 913, 316, 259, 566, 14, 508], "generated_ids": [338, 1097, 310, 259, 733, 14, 199, 199, 343, 282, 434, 1154, 266, 757, 351, 478, 14, 298, 526, 702, 279, 750, 263, 1077, 14, 314, 282, 1326, 265, 266, 360, 342, 310, 365, 14, 199, 199, 343, 282, 631], "tokens": 40, "sampling_seed": 7403, "temperature": 0.8}
|
research/results/stories-pilot-s00-third-r01/summary.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "stories-pilot-s00-third-r01",
|
| 3 |
+
"stage": "stories",
|
| 4 |
+
"method": "third",
|
| 5 |
+
"phase": "pilot",
|
| 6 |
+
"seed": 0,
|
| 7 |
+
"ratio": 0.01,
|
| 8 |
+
"token_budget": 2097152,
|
| 9 |
+
"batch_windows": 32,
|
| 10 |
+
"context": 128,
|
| 11 |
+
"data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
|
| 12 |
+
"microbatch": 32,
|
| 13 |
+
"coefficients": {
|
| 14 |
+
"third": 3.0190450056526336e-14
|
| 15 |
+
},
|
| 16 |
+
"device": "cuda",
|
| 17 |
+
"torch": "2.15.0+cu132",
|
| 18 |
+
"platform": "Windows-11-10.0.26200-SP0",
|
| 19 |
+
"gpu": "NVIDIA GeForce RTX 5070 Laptop GPU",
|
| 20 |
+
"git_revision": "9361628f261e742c824e79d9039d4acd2717d2b1",
|
| 21 |
+
"trainable_parameters": 2557632,
|
| 22 |
+
"weights_sha256": "e7f69d1672e1da28223c33dd2c19a520bb1e7401b583ea45af648db4f0ec0311",
|
| 23 |
+
"weights_name": "model.safetensors",
|
| 24 |
+
"matched_dev_nll": 3.829090001003351,
|
| 25 |
+
"tokens": 2097152,
|
| 26 |
+
"steps": 512,
|
| 27 |
+
"train_seconds": 49.36696609996943,
|
| 28 |
+
"tokens_per_sec": 42480.876701096255,
|
| 29 |
+
"peak_vram_mb": 608.21533203125,
|
| 30 |
+
"dev_nll": 3.8769312387212755,
|
| 31 |
+
"dev_accuracy": 0.3232589433558352,
|
| 32 |
+
"dev_tokens": 715643,
|
| 33 |
+
"finished_at": "2026-11-25T06:54:08+00:00",
|
| 34 |
+
"status": "complete"
|
| 35 |
+
}
|
research/src/thirdloss/report_paper.py
CHANGED
|
@@ -32,6 +32,8 @@ REFERENCES = {
|
|
| 32 |
"https://arxiv.org/pdf/2208.05924"),
|
| 33 |
"sketch": ("Bujanović and Kressner, Norm and trace estimation with random rank-one vectors",
|
| 34 |
"https://arxiv.org/pdf/2004.06433"),
|
|
|
|
|
|
|
| 35 |
"stories": ("Eldan and Li, TinyStories", "https://arxiv.org/pdf/2305.07759"),
|
| 36 |
"pythia": ("Biderman et al., Pythia", "https://arxiv.org/pdf/2304.01373"),
|
| 37 |
"lora": ("Hu et al., Low-rank adaptation of large language models", "https://arxiv.org/pdf/2106.09685"),
|
|
@@ -107,21 +109,49 @@ def _figure(path, max_width=477, max_height=240):
|
|
| 107 |
return image
|
| 108 |
|
| 109 |
|
| 110 |
-
def
|
| 111 |
-
"""
|
| 112 |
groups = {}
|
| 113 |
for run in study["runs"]:
|
| 114 |
if completed(run):
|
| 115 |
key = (run.get("stage"), run.get("phase"), run.get("method"),
|
| 116 |
run.get("ratio"), run.get("tokens"))
|
| 117 |
groups.setdefault(key, []).append(run)
|
| 118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
for (stage, phase, method, ratio, tokens), runs in groups.items():
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
return rows
|
| 126 |
|
| 127 |
|
|
@@ -154,6 +184,11 @@ def write_paper(study: dict, output: Path, figure_dir: Path, figures: dict) -> N
|
|
| 154 |
"The proposed local density adapts an order-three spline roughness measure. The "
|
| 155 |
"published signed-trace language experiments studied recurrent language models. "
|
| 156 |
f"{_cite('roughness')} · {_cite('trace')} · {_cite('coordinates')}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 157 |
p("The estimator and its update", "heading")
|
| 158 |
p("J(θ) = L(θ) + λ · ‖D³L(θ)‖²<sub>F</sub>", "equation")
|
| 159 |
p("For independent Rademacher vectors u and v, form r = ∇(uᵀHv). Squaring and summing "
|
|
@@ -182,6 +217,12 @@ def write_paper(study: dict, output: Path, figure_dir: Path, figures: dict) -> N
|
|
| 182 |
"test derivative order, gradient direction and incremental benefit. Initial checkpoints "
|
| 183 |
"and token unigrams supply untrained references. "
|
| 184 |
f"{_link(REPOSITORY + '/blob/main/reports/planned-runs.md', 'Run matrix')}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 185 |
p("Normalize and deduplicate whole documents before fitting the stories tokenizer. Prioritize "
|
| 186 |
"evaluation records when removing overlaps, and audit word-shingle similarity between "
|
| 187 |
"splits. Pack documents with an end-of-sequence token. Full evaluation counts each valid "
|
|
@@ -230,7 +271,7 @@ def write_paper(study: dict, output: Path, figure_dir: Path, figures: dict) -> N
|
|
| 230 |
p(f"In the development pilot at {pilots[0]['tokens']:,} training targets, third-order "
|
| 231 |
f"training recorded {changes}. The comparison uses one seed and "
|
| 232 |
f"{pilots[0]['strength_basis']}.")
|
| 233 |
-
evaluated =
|
| 234 |
if evaluated:
|
| 235 |
p("Scores across methods", "subheading")
|
| 236 |
flow.append(_grid(styles, ["Corpus", "Phase", "Method", "Ratio", "Runs", "Tokens/run", "Dev NLL", "Test NLL"],
|
|
@@ -265,6 +306,34 @@ def write_paper(study: dict, output: Path, figure_dir: Path, figures: dict) -> N
|
|
| 265 |
else:
|
| 266 |
p("The outstanding paired evaluations determine which claims can be made about prediction quality "
|
| 267 |
"at the registered horizons. The run ledger preserves every available observation and implementation failure.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 268 |
pair_rows = [[STAGES[stage], METHODS.get(base, base), pair["seed"],
|
| 269 |
fmt(pair["third_nll"], 5), fmt(pair["baseline_nll"], 5), fmt(pair["delta"], 5)]
|
| 270 |
for stage, outcome in study["stages"].items()
|
|
|
|
| 32 |
"https://arxiv.org/pdf/2208.05924"),
|
| 33 |
"sketch": ("Bujanović and Kressner, Norm and trace estimation with random rank-one vectors",
|
| 34 |
"https://arxiv.org/pdf/2004.06433"),
|
| 35 |
+
"fut": ("Yang et al., Estimating the effects of sample training orders for large language models without retraining",
|
| 36 |
+
"https://arxiv.org/pdf/2505.22042#page=16"),
|
| 37 |
"stories": ("Eldan and Li, TinyStories", "https://arxiv.org/pdf/2305.07759"),
|
| 38 |
"pythia": ("Biderman et al., Pythia", "https://arxiv.org/pdf/2304.01373"),
|
| 39 |
"lora": ("Hu et al., Low-rank adaptation of large language models", "https://arxiv.org/pdf/2106.09685"),
|
|
|
|
| 109 |
return image
|
| 110 |
|
| 111 |
|
| 112 |
+
def _result_tables(study):
|
| 113 |
+
"""Group scores at equal token horizons and compare resource use on like hardware."""
|
| 114 |
groups = {}
|
| 115 |
for run in study["runs"]:
|
| 116 |
if completed(run):
|
| 117 |
key = (run.get("stage"), run.get("phase"), run.get("method"),
|
| 118 |
run.get("ratio"), run.get("tokens"))
|
| 119 |
groups.setdefault(key, []).append(run)
|
| 120 |
+
scores, resources = [], {}
|
| 121 |
+
|
| 122 |
+
def middle(runs, key, digits):
|
| 123 |
+
values = [r[key] for r in runs if finite(r.get(key))]
|
| 124 |
+
return fmt(median(values), digits) if values else "—"
|
| 125 |
+
|
| 126 |
for (stage, phase, method, ratio, tokens), runs in groups.items():
|
| 127 |
+
arm = [STAGES.get(stage, stage), phase, METHODS.get(method, method), fmt(ratio)]
|
| 128 |
+
scores.append([*arm, len(runs), fmt(tokens, 0), middle(runs, "dev_nll", 4), middle(runs, "test_nll", 4)])
|
| 129 |
+
devices = {}
|
| 130 |
+
for run in runs:
|
| 131 |
+
hardware = run.get("gpu") or run.get("device") or "Hardware unrecorded"
|
| 132 |
+
devices.setdefault(hardware, []).append(run)
|
| 133 |
+
for device, subset in devices.items():
|
| 134 |
+
timed = [r for r in subset if finite(r.get("train_seconds")) and r["train_seconds"] > 0]
|
| 135 |
+
gpu = [r for r in subset if r.get("gpu") or str(r.get("device", "")).startswith("cuda")]
|
| 136 |
+
resources.setdefault(device, []).append([
|
| 137 |
+
*arm, len(subset), fmt(tokens, 0), middle(timed, "train_seconds", 1),
|
| 138 |
+
middle(timed, "tokens_per_sec", 0), middle(gpu, "peak_vram_mb", 1),
|
| 139 |
+
])
|
| 140 |
+
return scores, resources
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
def _matched_rows(study):
|
| 144 |
+
"""Print every matched seed, including each arm's distance from the shared cutoff."""
|
| 145 |
+
rows = []
|
| 146 |
+
for stage, outcome in study["stages"].items():
|
| 147 |
+
for entry in outcome.get("matched_time", []):
|
| 148 |
+
cutoff = entry["cutoff_seconds"]
|
| 149 |
+
losses = []
|
| 150 |
+
for method in ("ce", "trace", "third"):
|
| 151 |
+
point = entry["by_method"][method]
|
| 152 |
+
lag = cutoff - point["train_seconds"]
|
| 153 |
+
losses.append(f"{fmt(point['dev_nll'], 4)} ({fmt(lag, 1)})")
|
| 154 |
+
rows.append([STAGES[stage], entry["seed"], fmt(cutoff, 1), *losses])
|
| 155 |
return rows
|
| 156 |
|
| 157 |
|
|
|
|
| 184 |
"The proposed local density adapts an order-three spline roughness measure. The "
|
| 185 |
"published signed-trace language experiments studied recurrent language models. "
|
| 186 |
f"{_cite('roughness')} · {_cite('trace')} · {_cite('coordinates')}")
|
| 187 |
+
p("FUT++ approximates third weight derivatives of minibatch language-model loss with "
|
| 188 |
+
"differences between Hessian estimates at consecutive reference checkpoints. It uses "
|
| 189 |
+
"these terms to predict the effect of reordering training batches. Here the squared "
|
| 190 |
+
"norm enters the loss itself, so its gradient changes the training trajectory. "
|
| 191 |
+
f"{_cite('fut')}, Appendix A.1, equations 14–15.")
|
| 192 |
p("The estimator and its update", "heading")
|
| 193 |
p("J(θ) = L(θ) + λ · ‖D³L(θ)‖²<sub>F</sub>", "equation")
|
| 194 |
p("For independent Rademacher vectors u and v, form r = ∇(uᵀHv). Squaring and summing "
|
|
|
|
| 217 |
"test derivative order, gradient direction and incremental benefit. Initial checkpoints "
|
| 218 |
"and token unigrams supply untrained references. "
|
| 219 |
f"{_link(REPOSITORY + '/blob/main/reports/planned-runs.md', 'Run matrix')}")
|
| 220 |
+
p("Each update averages 32 windows for stories or eight for adapters. AdamW uses β₁ = 0.9, "
|
| 221 |
+
"β₂ = 0.95, matrix weight decay 0.1 and gradient norm clipping at one. Peak learning "
|
| 222 |
+
"rates are 0.0003 and 0.0001, respectively, with 5% warmup and cosine decay to 10% of peak. "
|
| 223 |
+
"Across 16 batches at the shared pilot initialization, the median ordinary-to-penalty "
|
| 224 |
+
"gradient-norm ratio sets the scale. Both regularizers try 1%, 3% and 10% of this scale. "
|
| 225 |
+
f"{_link(REPOSITORY + '/blob/main/reports/preregistration.md', 'Training and selection protocol')}")
|
| 226 |
p("Normalize and deduplicate whole documents before fitting the stories tokenizer. Prioritize "
|
| 227 |
"evaluation records when removing overlaps, and audit word-shingle similarity between "
|
| 228 |
"splits. Pack documents with an end-of-sequence token. Full evaluation counts each valid "
|
|
|
|
| 271 |
p(f"In the development pilot at {pilots[0]['tokens']:,} training targets, third-order "
|
| 272 |
f"training recorded {changes}. The comparison uses one seed and "
|
| 273 |
f"{pilots[0]['strength_basis']}.")
|
| 274 |
+
evaluated, resources = _result_tables(study)
|
| 275 |
if evaluated:
|
| 276 |
p("Scores across methods", "subheading")
|
| 277 |
flow.append(_grid(styles, ["Corpus", "Phase", "Method", "Ratio", "Runs", "Tokens/run", "Dev NLL", "Test NLL"],
|
|
|
|
| 306 |
else:
|
| 307 |
p("The outstanding paired evaluations determine which claims can be made about prediction quality "
|
| 308 |
"at the registered horizons. The run ledger preserves every available observation and implementation failure.")
|
| 309 |
+
p("Appendix · Computational cost", "heading")
|
| 310 |
+
if resources:
|
| 311 |
+
for device, rows in resources.items():
|
| 312 |
+
p(escape(str(device)), "subheading")
|
| 313 |
+
flow.append(_grid(styles, ["Corpus", "Phase", "Method", "Ratio", "Runs", "Targets/run",
|
| 314 |
+
"Train (s)", "Targets/s", "Peak GPU (MiB)"],
|
| 315 |
+
rows, [56, 49, 80, 35, 29, 66, 48, 57, 55]))
|
| 316 |
+
p("Times and rates are per-run medians within each hardware, method, phase, strength and "
|
| 317 |
+
"target budget. The clock sums synchronized training steps, including batch transfer and "
|
| 318 |
+
"the optimizer update. Evaluation, checkpointing and uploads take additional time. Peak "
|
| 319 |
+
"memory is PyTorch’s recorded maximum allocated GPU tensor memory during the run, including "
|
| 320 |
+
"evaluation. Untrained controls have no training speed.", "caption")
|
| 321 |
+
else:
|
| 322 |
+
p("Hardware, training speed and peak allocated memory will appear with the first completed run.")
|
| 323 |
+
p("Development NLL at matched GPU training time", "subheading")
|
| 324 |
+
p("For each seed the cutoff is the shortest completed training time across AdamW, trace and "
|
| 325 |
+
"third-order training. Fixed-window development evaluations occur at discrete checkpoints. "
|
| 326 |
+
"We take the latest checkpoint at or before the cutoff. Each cell gives NLL in nats per target "
|
| 327 |
+
"token, followed by its lag behind the cutoff in seconds. Larger lags make the time comparison "
|
| 328 |
+
"coarser. The archived per-seed table also records the token count at each checkpoint. "
|
| 329 |
+
f"{_link(REPOSITORY + '/blob/main/reports/summary.md', 'Per-seed timing records')}", "caption")
|
| 330 |
+
matched = _matched_rows(study)
|
| 331 |
+
if matched:
|
| 332 |
+
flow.append(_grid(styles, ["Corpus", "Seed", "Cutoff (s)", "AdamW NLL (lag s)",
|
| 333 |
+
"Trace NLL (lag s)", "Third NLL (lag s)"],
|
| 334 |
+
matched, [82, 34, 65, 98, 98, 98]))
|
| 335 |
+
else:
|
| 336 |
+
p("Awaiting a complete, timed three-method confirmatory seed with eligible development checkpoints.", "caption")
|
| 337 |
pair_rows = [[STAGES[stage], METHODS.get(base, base), pair["seed"],
|
| 338 |
fmt(pair["third_nll"], 5), fmt(pair["baseline_nll"], 5), fmt(pair["delta"], 5)]
|
| 339 |
for stage, outcome in study["stages"].items()
|