Record development results for stories-pilot-s00-trace-r10
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-trace-r10/experiment.md +55 -0
- research/reports/experiments/stories-pilot-s00-trace-r10/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-trace-r10/config.json +16 -0
- research/results/stories-pilot-s00-trace-r10/events.jsonl +109 -0
- research/results/stories-pilot-s00-trace-r10/samples.jsonl +3 -0
- research/results/stories-pilot-s00-trace-r10/summary.json +35 -0
- research/tests/test_derivatives.py +57 -0
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 |
|
|
@@ -39,6 +39,7 @@ Recorded 6 runs, including 6 with a completed summary.
|
|
| 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 | — |
|
|
|
|
| 42 |
|
| 43 |

|
| 44 |
|
|
|
|
| 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 7 runs, including 7 with a completed summary.
|
| 25 |
|
| 26 |
**TinyStories.** Awaiting paired test results (0 of 8 full-horizon training triplets).
|
| 27 |
|
|
|
|
| 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 | — |
|
| 42 |
+
| TinyStories | pilot | Hessian trace | 0.100 | 2,097,152 | 1 | 3.8979 | — |
|
| 43 |
|
| 44 |

|
| 45 |
|
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
|
@@ -12,3 +12,4 @@ NLL is negative log-likelihood in nats per target token. A smaller value assigns
|
|
| 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 |
|
|
|
|
|
|
| 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 |
|
| 15 |
+
| [stories-pilot-s00-trace-r10](./stories-pilot-s00-trace-r10/experiment.md) | TinyStories | Hessian trace | pilot | 0 | 0.100 | 2,097,152 | 3.8979 | — | 70,730 | complete |
|
research/reports/experiments/learnings.md
CHANGED
|
@@ -17,3 +17,5 @@ Independent random signs include mixed weight derivatives in the expected penalt
|
|
| 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.
|
| 18 |
|
| 19 |
- [stories-pilot-s00-trace-r03](./stories-pilot-s00-trace-r03/experiment.md) — Development NLL changed by -3.2115 nats per target token from 131,072 to 2,097,152 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
|
|
|
|
|
|
|
|
| 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.
|
| 18 |
|
| 19 |
- [stories-pilot-s00-trace-r03](./stories-pilot-s00-trace-r03/experiment.md) — Development NLL changed by -3.2115 nats per target token from 131,072 to 2,097,152 training targets. Attribution to the regularizer uses matched comparisons across seeds.
|
| 20 |
+
|
| 21 |
+
- [stories-pilot-s00-trace-r10](./stories-pilot-s00-trace-r10/experiment.md) — Development NLL changed by -3.2006 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-trace-r10/experiment.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TinyStories · Hessian trace
|
| 2 |
+
|
| 3 |
+
Run `stories-pilot-s00-trace-r10` · [raw records](../../../results/stories-pilot-s00-trace-r10/) · [registered design](../../preregistration.md)
|
| 4 |
+
|
| 5 |
+
| Stage | Method | Phase | Seed | Ratio | Train tokens | Dev NLL | Test NLL | Tokens/s | Status |
|
| 6 |
+
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
| 7 |
+
| TinyStories | Hessian trace | pilot | 0 | 0.100 | 2,097,152 | 3.8979 | — | 70,730 | complete |
|
| 8 |
+
|
| 9 |
+
Training time is 29.7 seconds. Peak allocated GPU memory is 608.2 MiB. Development token accuracy is 0.3206. Test token accuracy is —.
|
| 10 |
+
|
| 11 |
+
[Design and hyperparameter rationale](../../planned-runs.md) · [Saved configuration](../../../results/stories-pilot-s00-trace-r10/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. The shelf was very happy and he couldn't get about up.
|
| 54 |
+
|
| 55 |
+
One day, Lily opened him and asked, "Good what try that there should enjoyed a pulled
|
research/reports/experiments/stories-pilot-s00-trace-r10/learnings.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Run learnings
|
| 2 |
+
|
| 3 |
+
Development NLL changed by -3.2006 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:52:26+00:00.
|
| 4 |
|
| 5 |
+
7 training/control records and 0 final evaluations are complete. This is 5.8% of 120 planned model milestones.
|
| 6 |
|
| 7 |
## Current record
|
| 8 |
|
| 9 |
+
**stories** has 7 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 |
|
|
@@ -22,6 +22,7 @@ Recorded 6 runs, including 6 with a completed summary.
|
|
| 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 | — |
|
|
|
|
| 25 |
|
| 26 |

|
| 27 |
|
|
|
|
| 1 |
# Study summary
|
| 2 |
|
| 3 |
+
Recorded 7 runs, including 7 with a completed summary.
|
| 4 |
|
| 5 |
**TinyStories.** Awaiting paired test results (0 of 8 full-horizon training triplets).
|
| 6 |
|
|
|
|
| 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 | — |
|
| 25 |
+
| TinyStories | pilot | Hessian trace | 0.100 | 2,097,152 | 1 | 3.8979 | — |
|
| 26 |
|
| 27 |

|
| 28 |
|
research/results/stories-pilot-s00-trace-r10/config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "stories-pilot-s00-trace-r10",
|
| 3 |
+
"stage": "stories",
|
| 4 |
+
"method": "trace",
|
| 5 |
+
"phase": "pilot",
|
| 6 |
+
"seed": 0,
|
| 7 |
+
"ratio": 0.1,
|
| 8 |
+
"token_budget": 2097152,
|
| 9 |
+
"batch_windows": 32,
|
| 10 |
+
"context": 128,
|
| 11 |
+
"data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
|
| 12 |
+
"microbatch": 32,
|
| 13 |
+
"coefficients": {
|
| 14 |
+
"trace": 9.169227719425724e-07
|
| 15 |
+
}
|
| 16 |
+
}
|
research/results/stories-pilot-s00-trace-r10/events.jsonl
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"timestamp": "2026-11-25T06:51:45+00:00", "step": 1, "tokens": 4096, "train_seconds": 0.18704499999876134, "loss": 8.350095748901367, "accuracy": 0.003173828125, "lr": 1.1538461538461538e-05, "gradient_norm": 1.8839142322540283, "derivatives": {}}
|
| 2 |
+
{"timestamp": "2026-11-25T06:51:46+00:00", "step": 2, "tokens": 8192, "train_seconds": 0.5053489999991143, "loss": 8.342284202575684, "accuracy": 0.00439453125, "lr": 2.3076923076923076e-05, "gradient_norm": 2.3147692680358887, "derivatives": {"trace": {"estimate": 1190.8282470703125, "raw_grad_norm": 221462.234375, "lambda": 9.169227719425724e-07}}, "penalty": 0.008735180297689804}
|
| 3 |
+
{"timestamp": "2026-11-25T06:51:46+00:00", "step": 8, "tokens": 32768, "train_seconds": 0.7387179000033939, "loss": 8.16711711883545, "accuracy": 0.050048828125, "lr": 9.23076923076923e-05, "gradient_norm": 1.949288249015808, "derivatives": {}}
|
| 4 |
+
{"timestamp": "2026-11-25T06:51:46+00:00", "step": 11, "tokens": 45056, "train_seconds": 1.1090808999979345, "loss": 8.036948204040527, "accuracy": 0.06689453125, "lr": 0.0001269230769230769, "gradient_norm": 1.9265766143798828, "derivatives": {"trace": {"estimate": 3004.044921875, "raw_grad_norm": 112477.3203125, "lambda": 9.169227719425724e-07}}, "penalty": 0.022035817574445067}
|
| 5 |
+
{"timestamp": "2026-11-25T06:51:46+00:00", "step": 16, "tokens": 65536, "train_seconds": 1.2651448999968125, "loss": 7.8132219314575195, "accuracy": 0.0751953125, "lr": 0.0001846153846153846, "gradient_norm": 1.6061421632766724, "derivatives": {}}
|
| 6 |
+
{"timestamp": "2026-11-25T06:51:47+00:00", "step": 22, "tokens": 90112, "train_seconds": 1.702397099998052, "loss": 7.6106462478637695, "accuracy": 0.067138671875, "lr": 0.0002538461538461538, "gradient_norm": 1.4982845783233643, "derivatives": {"trace": {"estimate": 763.3071899414062, "raw_grad_norm": 11431.2646484375, "lambda": 9.169227719425724e-07}}, "penalty": 0.005599149955558159}
|
| 7 |
+
{"timestamp": "2026-11-25T06:51:47+00:00", "step": 24, "tokens": 98304, "train_seconds": 1.770959399997082, "loss": 7.490433216094971, "accuracy": 0.076416015625, "lr": 0.0002769230769230769, "gradient_norm": 1.6085063219070435, "derivatives": {}}
|
| 8 |
+
{"timestamp": "2026-11-25T06:51:47+00:00", "step": 25, "tokens": 102400, "train_seconds": 2.031066599996848, "loss": 7.460245609283447, "accuracy": 0.072265625, "lr": 0.00028846153846153843, "gradient_norm": 1.5702205896377563, "derivatives": {"trace": {"estimate": 780.066162109375, "raw_grad_norm": 19490.6875, "lambda": 9.169227719425724e-07}}, "penalty": 0.005722083421279458}
|
| 9 |
+
{"timestamp": "2026-11-25T06:51:47+00:00", "step": 32, "tokens": 131072, "train_seconds": 2.2707718999918143, "loss": 7.088663101196289, "accuracy": 0.072509765625, "lr": 0.00029989847358807104, "gradient_norm": 1.4841678142547607, "derivatives": {}, "dev_nll": 7.050397411629092, "dev_accuracy": 0.0682373046875}
|
| 10 |
+
{"timestamp": "2026-11-25T06:51:48+00:00", "step": 40, "tokens": 163840, "train_seconds": 2.529665299989574, "loss": 6.685197353363037, "accuracy": 0.078857421875, "lr": 0.00029944755299271124, "gradient_norm": 1.4424351453781128, "derivatives": {}}
|
| 11 |
+
{"timestamp": "2026-11-25T06:51:48+00:00", "step": 48, "tokens": 196608, "train_seconds": 2.7910551999921154, "loss": 6.488059997558594, "accuracy": 0.067138671875, "lr": 0.0002986371618644631, "gradient_norm": 1.2270511388778687, "derivatives": {}}
|
| 12 |
+
{"timestamp": "2026-11-25T06:51:49+00:00", "step": 50, "tokens": 204800, "train_seconds": 3.0932055999910517, "loss": 6.396085262298584, "accuracy": 0.090576171875, "lr": 0.0002983786296793692, "gradient_norm": 1.2318075895309448, "derivatives": {"trace": {"estimate": 746.01611328125, "raw_grad_norm": 12205.775390625, "lambda": 9.169227719425724e-07}}, "penalty": 0.005472313300029343}
|
| 13 |
+
{"timestamp": "2026-11-25T06:51:49+00:00", "step": 56, "tokens": 229376, "train_seconds": 3.288135599996167, "loss": 6.212737083435059, "accuracy": 0.093017578125, "lr": 0.00029746946693469693, "gradient_norm": 1.024733304977417, "derivatives": {}}
|
| 14 |
+
{"timestamp": "2026-11-25T06:51:49+00:00", "step": 64, "tokens": 262144, "train_seconds": 3.5501354999978503, "loss": 6.0289812088012695, "accuracy": 0.115478515625, "lr": 0.0002959475902529353, "gradient_norm": 0.907220721244812, "derivatives": {}, "dev_nll": 5.967894557135878, "dev_accuracy": 0.097900390625}
|
| 15 |
+
{"timestamp": "2026-11-25T06:51:50+00:00", "step": 72, "tokens": 294912, "train_seconds": 3.823324100005266, "loss": 5.894116401672363, "accuracy": 0.13330078125, "lr": 0.00029407560083947375, "gradient_norm": 0.7027631998062134, "derivatives": {}}
|
| 16 |
+
{"timestamp": "2026-11-25T06:51:50+00:00", "step": 74, "tokens": 303104, "train_seconds": 4.12713900000017, "loss": 5.815634727478027, "accuracy": 0.1455078125, "lr": 0.0002935534645206861, "gradient_norm": 0.8858504295349121, "derivatives": {"trace": {"estimate": 1513.6485595703125, "raw_grad_norm": 24368.517578125, "lambda": 9.169227719425724e-07}}, "penalty": 0.011103190663904743}
|
| 17 |
+
{"timestamp": "2026-11-25T06:51:50+00:00", "step": 80, "tokens": 327680, "train_seconds": 4.3070292999946105, "loss": 5.70700740814209, "accuracy": 0.140869140625, "lr": 0.00029185850380609757, "gradient_norm": 0.688163161277771, "derivatives": {}}
|
| 18 |
+
{"timestamp": "2026-11-25T06:51:51+00:00", "step": 84, "tokens": 344064, "train_seconds": 4.69188529999883, "loss": 5.61992073059082, "accuracy": 0.152587890625, "lr": 0.00029062235674941173, "gradient_norm": 0.7646082639694214, "derivatives": {"trace": {"estimate": 1188.8692626953125, "raw_grad_norm": 49819.1171875, "lambda": 9.169227719425724e-07}}, "penalty": 0.008720810398623265}
|
| 19 |
+
{"timestamp": "2026-11-25T06:51:51+00:00", "step": 86, "tokens": 352256, "train_seconds": 4.976381600001332, "loss": 5.526090145111084, "accuracy": 0.173095703125, "lr": 0.0002899727358513002, "gradient_norm": 0.8391827940940857, "derivatives": {"trace": {"estimate": 3102.061279296875, "raw_grad_norm": 65599.0859375, "lambda": 9.169227719425724e-07}}, "penalty": 0.022754805015588905}
|
| 20 |
+
{"timestamp": "2026-11-25T06:51:51+00:00", "step": 88, "tokens": 360448, "train_seconds": 5.043143400002009, "loss": 5.600346565246582, "accuracy": 0.1630859375, "lr": 0.0002893022269739857, "gradient_norm": 0.7440338730812073, "derivatives": {}}
|
| 21 |
+
{"timestamp": "2026-11-25T06:51:51+00:00", "step": 91, "tokens": 372736, "train_seconds": 5.3862478000010015, "loss": 5.499529838562012, "accuracy": 0.18115234375, "lr": 0.0002882575447980835, "gradient_norm": 0.8303843140602112, "derivatives": {"trace": {"estimate": 1708.07666015625, "raw_grad_norm": 44006.74609375, "lambda": 9.169227719425724e-07}}, "penalty": 0.01252939508736704}
|
| 22 |
+
{"timestamp": "2026-11-25T06:51:52+00:00", "step": 93, "tokens": 380928, "train_seconds": 5.685156500003359, "loss": 5.469390869140625, "accuracy": 0.182373046875, "lr": 0.00028753531386565553, "gradient_norm": 0.8171997666358948, "derivatives": {"trace": {"estimate": 1805.8819580078125, "raw_grad_norm": 67136.421875, "lambda": 9.169227719425724e-07}}, "penalty": 0.01324683432590083}
|
| 23 |
+
{"timestamp": "2026-11-25T06:51:52+00:00", "step": 96, "tokens": 393216, "train_seconds": 5.779702400010137, "loss": 5.451296806335449, "accuracy": 0.17822265625, "lr": 0.00028641360502457754, "gradient_norm": 0.8784987926483154, "derivatives": {}, "dev_nll": 5.423692346928874, "dev_accuracy": 0.1817626953125}
|
| 24 |
+
{"timestamp": "2026-11-25T06:51:53+00:00", "step": 100, "tokens": 409600, "train_seconds": 6.153877000007924, "loss": 5.328236103057861, "accuracy": 0.181640625, "lr": 0.00028484704399033055, "gradient_norm": 1.0193328857421875, "derivatives": {"trace": {"estimate": 2028.768310546875, "raw_grad_norm": 39142.9296875, "lambda": 9.169227719425724e-07}}, "penalty": 0.01488179090348712}
|
| 25 |
+
{"timestamp": "2026-11-25T06:51:53+00:00", "step": 104, "tokens": 425984, "train_seconds": 6.292300200006139, "loss": 5.330329895019531, "accuracy": 0.206298828125, "lr": 0.00028320036122578225, "gradient_norm": 1.0724393129348755, "derivatives": {}}
|
| 26 |
+
{"timestamp": "2026-11-25T06:51:53+00:00", "step": 106, "tokens": 434176, "train_seconds": 6.618865700009337, "loss": 5.311760902404785, "accuracy": 0.192138671875, "lr": 0.0002823473161415974, "gradient_norm": 0.8987259864807129, "derivatives": {"trace": {"estimate": 2405.08837890625, "raw_grad_norm": 44247.1640625, "lambda": 9.169227719425724e-07}}, "penalty": 0.017642242425228695}
|
| 27 |
+
{"timestamp": "2026-11-25T06:51:53+00:00", "step": 112, "tokens": 458752, "train_seconds": 6.815359100008209, "loss": 5.3302483558654785, "accuracy": 0.18408203125, "lr": 0.00027967108678238515, "gradient_norm": 0.892387866973877, "derivatives": {}}
|
| 28 |
+
{"timestamp": "2026-11-25T06:51:54+00:00", "step": 115, "tokens": 471040, "train_seconds": 7.165476200007106, "loss": 5.207666397094727, "accuracy": 0.20068359375, "lr": 0.00027826803173633353, "gradient_norm": 0.8268792033195496, "derivatives": {"trace": {"estimate": 3008.171875, "raw_grad_norm": 77031.21875, "lambda": 9.169227719425724e-07}}, "penalty": 0.022066090352837485}
|
| 29 |
+
{"timestamp": "2026-11-25T06:51:54+00:00", "step": 120, "tokens": 491520, "train_seconds": 7.336726700003055, "loss": 5.0867719650268555, "accuracy": 0.213134765625, "lr": 0.0002758352178658645, "gradient_norm": 0.7638705372810364, "derivatives": {}}
|
| 30 |
+
{"timestamp": "2026-11-25T06:51:54+00:00", "step": 121, "tokens": 495616, "train_seconds": 7.579163100002916, "loss": 5.087182521820068, "accuracy": 0.221923828125, "lr": 0.00027533467887102934, "gradient_norm": 0.8241957426071167, "derivatives": {"trace": {"estimate": 2725.589599609375, "raw_grad_norm": 58271.67578125, "lambda": 9.169227719425724e-07}}, "penalty": 0.019993241366813394}
|
| 31 |
+
{"timestamp": "2026-11-25T06:51:55+00:00", "step": 126, "tokens": 516096, "train_seconds": 8.019636700002593, "loss": 5.064611434936523, "accuracy": 0.213623046875, "lr": 0.0002727632530660655, "gradient_norm": 1.5125596523284912, "derivatives": {"trace": {"estimate": 3528.1904296875, "raw_grad_norm": 97010.3828125, "lambda": 9.169227719425724e-07}}, "penalty": 0.025880625189842545}
|
| 32 |
+
{"timestamp": "2026-11-25T06:51:55+00:00", "step": 127, "tokens": 520192, "train_seconds": 8.352388700001029, "loss": 5.130087852478027, "accuracy": 0.20849609375, "lr": 0.00027223537216784213, "gradient_norm": 0.9611631631851196, "derivatives": {"trace": {"estimate": 2470.34130859375, "raw_grad_norm": 78185.71875, "lambda": 9.169227719425724e-07}}, "penalty": 0.018120897602560183}
|
| 33 |
+
{"timestamp": "2026-11-25T06:51:55+00:00", "step": 128, "tokens": 524288, "train_seconds": 8.388009300000704, "loss": 5.099069595336914, "accuracy": 0.221435546875, "lr": 0.0002717030103850325, "gradient_norm": 0.9463624954223633, "derivatives": {}, "dev_nll": 4.984361226554029, "dev_accuracy": 0.2216796875}
|
| 34 |
+
{"timestamp": "2026-11-25T06:51:56+00:00", "step": 130, "tokens": 532480, "train_seconds": 8.710221200002707, "loss": 4.9756011962890625, "accuracy": 0.219482421875, "lr": 0.00027062493333199314, "gradient_norm": 1.1660103797912598, "derivatives": {"trace": {"estimate": 3034.01416015625, "raw_grad_norm": 97532.984375, "lambda": 9.169227719425724e-07}}, "penalty": 0.022255653390747875}
|
| 35 |
+
{"timestamp": "2026-11-25T06:51:56+00:00", "step": 131, "tokens": 536576, "train_seconds": 8.987017499999638, "loss": 4.930669784545898, "accuracy": 0.22216796875, "lr": 0.00027007926310976157, "gradient_norm": 0.9708982706069946, "derivatives": {"trace": {"estimate": 2881.13232421875, "raw_grad_norm": 67767.3359375, "lambda": 9.169227719425724e-07}}, "penalty": 0.02113420669644802}
|
| 36 |
+
{"timestamp": "2026-11-25T06:51:56+00:00", "step": 136, "tokens": 557056, "train_seconds": 9.14667520000512, "loss": 4.925002098083496, "accuracy": 0.218505859375, "lr": 0.0002672855125649559, "gradient_norm": 0.9791892170906067, "derivatives": {}}
|
| 37 |
+
{"timestamp": "2026-11-25T06:51:56+00:00", "step": 144, "tokens": 589824, "train_seconds": 9.428938899996865, "loss": 4.987575531005859, "accuracy": 0.21435546875, "lr": 0.000262594535407472, "gradient_norm": 1.044789433479309, "derivatives": {}}
|
| 38 |
+
{"timestamp": "2026-11-25T06:51:57+00:00", "step": 152, "tokens": 622592, "train_seconds": 9.723538999995071, "loss": 4.7584943771362305, "accuracy": 0.227783203125, "lr": 0.00025764262111227905, "gradient_norm": 1.05439293384552, "derivatives": {}}
|
| 39 |
+
{"timestamp": "2026-11-25T06:51:57+00:00", "step": 158, "tokens": 647168, "train_seconds": 10.171952999997302, "loss": 4.627571105957031, "accuracy": 0.25048828125, "lr": 0.00025376538475682355, "gradient_norm": 1.2448458671569824, "derivatives": {"trace": {"estimate": 4434.46826171875, "raw_grad_norm": 98993.9296875, "lambda": 9.169227719425724e-07}}, "penalty": 0.03252851944501214}
|
| 40 |
+
{"timestamp": "2026-11-25T06:51:57+00:00", "step": 160, "tokens": 655360, "train_seconds": 10.24414809999871, "loss": 4.771812438964844, "accuracy": 0.245361328125, "lr": 0.0002524430095430329, "gradient_norm": 0.8757323622703552, "derivatives": {}, "dev_nll": 4.65658158127917, "dev_accuracy": 0.2542724609375}
|
| 41 |
+
{"timestamp": "2026-11-25T06:51:58+00:00", "step": 164, "tokens": 671744, "train_seconds": 10.632742699996015, "loss": 4.753289222717285, "accuracy": 0.2431640625, "lr": 0.0002497546368307333, "gradient_norm": 1.3030577898025513, "derivatives": {"trace": {"estimate": 4188.4423828125, "raw_grad_norm": 81751.3828125, "lambda": 9.169227719425724e-07}}, "penalty": 0.030723825598161524}
|
| 42 |
+
{"timestamp": "2026-11-25T06:51:58+00:00", "step": 168, "tokens": 688128, "train_seconds": 10.75186439999743, "loss": 4.69763708114624, "accuracy": 0.24462890625, "lr": 0.00024700960282811026, "gradient_norm": 1.1081578731536865, "derivatives": {}}
|
| 43 |
+
{"timestamp": "2026-11-25T06:51:59+00:00", "step": 173, "tokens": 708608, "train_seconds": 11.132509099996241, "loss": 4.695739269256592, "accuracy": 0.25, "lr": 0.00024350142962388359, "gradient_norm": 1.1726800203323364, "derivatives": {"trace": {"estimate": 4321.1767578125, "raw_grad_norm": 102934.640625, "lambda": 9.169227719425724e-07}}, "penalty": 0.03169748296661804}
|
| 44 |
+
{"timestamp": "2026-11-25T06:51:59+00:00", "step": 176, "tokens": 720896, "train_seconds": 11.227659599997423, "loss": 4.636568069458008, "accuracy": 0.256103515625, "lr": 0.0002413569281906827, "gradient_norm": 0.7578110098838806, "derivatives": {}}
|
| 45 |
+
{"timestamp": "2026-11-25T06:51:59+00:00", "step": 178, "tokens": 729088, "train_seconds": 11.528015999996569, "loss": 4.551403045654297, "accuracy": 0.255126953125, "lr": 0.00023991125771830757, "gradient_norm": 1.2142870426177979, "derivatives": {"trace": {"estimate": 4902.224609375, "raw_grad_norm": 116142.390625, "lambda": 9.169227719425724e-07}}, "penalty": 0.03595969102010575}
|
| 46 |
+
{"timestamp": "2026-11-25T06:51:59+00:00", "step": 184, "tokens": 753664, "train_seconds": 11.732121299995924, "loss": 4.506631851196289, "accuracy": 0.255615234375, "lr": 0.00023550009910748468, "gradient_norm": 1.1706914901733398, "derivatives": {}}
|
| 47 |
+
{"timestamp": "2026-11-25T06:52:00+00:00", "step": 188, "tokens": 770048, "train_seconds": 12.129948399993737, "loss": 4.498213768005371, "accuracy": 0.2578125, "lr": 0.00023249999999999999, "gradient_norm": 1.5099494457244873, "derivatives": {"trace": {"estimate": 5461.9287109375, "raw_grad_norm": 136625.328125, "lambda": 9.169227719425724e-07}}, "penalty": 0.04006533451028427}
|
| 48 |
+
{"timestamp": "2026-11-25T06:52:00+00:00", "step": 192, "tokens": 786432, "train_seconds": 12.266608399997494, "loss": 4.605575084686279, "accuracy": 0.250244140625, "lr": 0.00022945477490012307, "gradient_norm": 1.0381118059158325, "derivatives": {}, "dev_nll": 4.432233860774431, "dev_accuracy": 0.2689208984375}
|
| 49 |
+
{"timestamp": "2026-11-25T06:52:01+00:00", "step": 200, "tokens": 819200, "train_seconds": 12.54377370000293, "loss": 4.490656852722168, "accuracy": 0.26171875, "lr": 0.0002232371188669692, "gradient_norm": 0.9600693583488464, "derivatives": {}}
|
| 50 |
+
{"timestamp": "2026-11-25T06:52:01+00:00", "step": 208, "tokens": 851968, "train_seconds": 12.851331400008348, "loss": 4.453110694885254, "accuracy": 0.26513671875, "lr": 0.00021686375506757487, "gradient_norm": 0.8898425698280334, "derivatives": {}}
|
| 51 |
+
{"timestamp": "2026-11-25T06:52:01+00:00", "step": 216, "tokens": 884736, "train_seconds": 13.375732000007702, "loss": 4.355359077453613, "accuracy": 0.272216796875, "lr": 0.00021035172387515817, "gradient_norm": 1.266840934753418, "derivatives": {"trace": {"estimate": 3022.07470703125, "raw_grad_norm": 98253.3203125, "lambda": 9.169227719425724e-07}}, "penalty": 0.022168072939109048}
|
| 52 |
+
{"timestamp": "2026-11-25T06:52:02+00:00", "step": 221, "tokens": 905216, "train_seconds": 13.781171100010397, "loss": 4.486282825469971, "accuracy": 0.253662109375, "lr": 0.00020621900968884028, "gradient_norm": 1.335225224494934, "derivatives": {"trace": {"estimate": 3407.39013671875, "raw_grad_norm": 134862.0625, "lambda": 9.169227719425724e-07}}, "penalty": 0.024994508873999496}
|
| 53 |
+
{"timestamp": "2026-11-25T06:52:02+00:00", "step": 224, "tokens": 917504, "train_seconds": 14.126200600010634, "loss": 4.3166704177856445, "accuracy": 0.271240234375, "lr": 0.00020371843641599718, "gradient_norm": 1.6595362424850464, "derivatives": {"trace": {"estimate": 4761.40234375, "raw_grad_norm": 123283.5703125, "lambda": 9.169227719425724e-07}}, "penalty": 0.03492670588292089, "dev_nll": 4.2765549320029095, "dev_accuracy": 0.279541015625}
|
| 54 |
+
{"timestamp": "2026-11-25T06:52:03+00:00", "step": 225, "tokens": 921600, "train_seconds": 14.400231100011297, "loss": 4.283416748046875, "accuracy": 0.274169921875, "lr": 0.00020288162974388773, "gradient_norm": 1.5380929708480835, "derivatives": {"trace": {"estimate": 4366.14013671875, "raw_grad_norm": 173108.453125, "lambda": 9.169227719425724e-07}}, "penalty": 0.03202730653479903}
|
| 55 |
+
{"timestamp": "2026-11-25T06:52:03+00:00", "step": 232, "tokens": 950272, "train_seconds": 14.6386300000122, "loss": 4.268531799316406, "accuracy": 0.287841796875, "lr": 0.00019698162801754605, "gradient_norm": 1.2306355237960815, "derivatives": {}}
|
| 56 |
+
{"timestamp": "2026-11-25T06:52:03+00:00", "step": 240, "tokens": 983040, "train_seconds": 14.914847400013969, "loss": 4.307300567626953, "accuracy": 0.28076171875, "lr": 0.00019015931078973959, "gradient_norm": 1.2393308877944946, "derivatives": {}}
|
| 57 |
+
{"timestamp": "2026-11-25T06:52:04+00:00", "step": 248, "tokens": 1015808, "train_seconds": 15.417136400006711, "loss": 4.349478721618652, "accuracy": 0.2802734375, "lr": 0.0001832697254662677, "gradient_norm": 1.5069392919540405, "derivatives": {"trace": {"estimate": 4996.6767578125, "raw_grad_norm": 126020.8984375, "lambda": 9.169227719425724e-07}}, "penalty": 0.03665253362619571}
|
| 58 |
+
{"timestamp": "2026-11-25T06:52:04+00:00", "step": 256, "tokens": 1048576, "train_seconds": 15.68621890000577, "loss": 4.204690933227539, "accuracy": 0.29345703125, "lr": 0.0001763312926345824, "gradient_norm": 0.9171586036682129, "derivatives": {}, "dev_nll": 4.162187252746662, "dev_accuracy": 0.2926025390625}
|
| 59 |
+
{"timestamp": "2026-11-25T06:52:05+00:00", "step": 262, "tokens": 1073152, "train_seconds": 16.087624000003416, "loss": 4.078912734985352, "accuracy": 0.29345703125, "lr": 0.00017110656802074535, "gradient_norm": 1.6623761653900146, "derivatives": {"trace": {"estimate": 4529.3466796875, "raw_grad_norm": 141765.875, "lambda": 9.169227719425724e-07}}, "penalty": 0.03322448890102359}
|
| 60 |
+
{"timestamp": "2026-11-25T06:52:05+00:00", "step": 264, "tokens": 1081344, "train_seconds": 16.15240220000487, "loss": 4.141406059265137, "accuracy": 0.291259765625, "lr": 0.00016936256348503193, "gradient_norm": 1.286117434501648, "derivatives": {}}
|
| 61 |
+
{"timestamp": "2026-11-25T06:52:05+00:00", "step": 268, "tokens": 1097728, "train_seconds": 16.555017000002408, "loss": 4.143558979034424, "accuracy": 0.302734375, "lr": 0.00016587265854853278, "gradient_norm": 1.4682196378707886, "derivatives": {"trace": {"estimate": 4259.40625, "raw_grad_norm": 114526.015625, "lambda": 9.169227719425724e-07}}, "penalty": 0.031244372684636142}
|
| 62 |
+
{"timestamp": "2026-11-25T06:52:06+00:00", "step": 272, "tokens": 1114112, "train_seconds": 16.683379199999763, "loss": 4.132314682006836, "accuracy": 0.29296875, "lr": 0.0001623821702108037, "gradient_norm": 1.2519938945770264, "derivatives": {}}
|
| 63 |
+
{"timestamp": "2026-11-25T06:52:06+00:00", "step": 280, "tokens": 1146880, "train_seconds": 16.95012069999939, "loss": 4.101914882659912, "accuracy": 0.297607421875, "lr": 0.00015540877619129144, "gradient_norm": 0.9607037305831909, "derivatives": {}}
|
| 64 |
+
{"timestamp": "2026-11-25T06:52:06+00:00", "step": 288, "tokens": 1179648, "train_seconds": 17.2226859999937, "loss": 4.102149963378906, "accuracy": 0.30322265625, "lr": 0.00014846102609207987, "gradient_norm": 1.0568479299545288, "derivatives": {}, "dev_nll": 4.071752710966393, "dev_accuracy": 0.3023681640625}
|
| 65 |
+
{"timestamp": "2026-11-25T06:52:07+00:00", "step": 296, "tokens": 1212416, "train_seconds": 17.484577599996555, "loss": 4.186497688293457, "accuracy": 0.293701171875, "lr": 0.0001415574960149644, "gradient_norm": 1.0310592651367188, "derivatives": {}}
|
| 66 |
+
{"timestamp": "2026-11-25T06:52:07+00:00", "step": 304, "tokens": 1245184, "train_seconds": 17.75019909999901, "loss": 4.120575904846191, "accuracy": 0.2890625, "lr": 0.0001347166438312889, "gradient_norm": 1.1324669122695923, "derivatives": {}}
|
| 67 |
+
{"timestamp": "2026-11-25T06:52:07+00:00", "step": 312, "tokens": 1277952, "train_seconds": 17.996754700001475, "loss": 3.952484607696533, "accuracy": 0.321044921875, "lr": 0.0001279567598313943, "gradient_norm": 1.2537257671356201, "derivatives": {}}
|
| 68 |
+
{"timestamp": "2026-11-25T06:52:08+00:00", "step": 318, "tokens": 1302528, "train_seconds": 18.429178300004423, "loss": 3.963650703430176, "accuracy": 0.31494140625, "lr": 0.00012295086423234265, "gradient_norm": 1.5786941051483154, "derivatives": {"trace": {"estimate": 3691.246826171875, "raw_grad_norm": 155483.0, "lambda": 9.169227719425724e-07}}, "penalty": 0.027076706174221907}
|
| 69 |
+
{"timestamp": "2026-11-25T06:52:08+00:00", "step": 320, "tokens": 1310720, "train_seconds": 18.49986610000633, "loss": 4.010334491729736, "accuracy": 0.297119140625, "lr": 0.00012129591782212666, "gradient_norm": 1.284138798713684, "derivatives": {}, "dev_nll": 4.012923396774568, "dev_accuracy": 0.30712890625}
|
| 70 |
+
{"timestamp": "2026-11-25T06:52:09+00:00", "step": 321, "tokens": 1314816, "train_seconds": 18.771132400008355, "loss": 4.159890174865723, "accuracy": 0.28857421875, "lr": 0.00012047116664350545, "gradient_norm": 1.177549958229065, "derivatives": {"trace": {"estimate": 3502.364501953125, "raw_grad_norm": 100104.359375, "lambda": 9.169227719425724e-07}}, "penalty": 0.025691182139873012}
|
| 71 |
+
{"timestamp": "2026-11-25T06:52:09+00:00", "step": 324, "tokens": 1327104, "train_seconds": 19.141895500008104, "loss": 4.11619234085083, "accuracy": 0.29736328125, "lr": 0.0001180082145277978, "gradient_norm": 1.3553696870803833, "derivatives": {"trace": {"estimate": 5282.9453125, "raw_grad_norm": 126712.46875, "lambda": 9.169227719425724e-07}}, "penalty": 0.03875242287966815}
|
| 72 |
+
{"timestamp": "2026-11-25T06:52:09+00:00", "step": 328, "tokens": 1343488, "train_seconds": 19.275617600007536, "loss": 4.007248878479004, "accuracy": 0.30712890625, "lr": 0.00011475192680315358, "gradient_norm": 1.3159267902374268, "derivatives": {}}
|
| 73 |
+
{"timestamp": "2026-11-25T06:52:10+00:00", "step": 334, "tokens": 1368064, "train_seconds": 19.73720740000863, "loss": 3.9264473915100098, "accuracy": 0.3134765625, "lr": 0.00010993115535669522, "gradient_norm": 1.5020662546157837, "derivatives": {"trace": {"estimate": 4758.67431640625, "raw_grad_norm": 137836.46875, "lambda": 9.169227719425724e-07}}, "penalty": 0.03490669475976916}
|
| 74 |
+
{"timestamp": "2026-11-25T06:52:10+00:00", "step": 335, "tokens": 1372160, "train_seconds": 20.00749490000817, "loss": 4.081955909729004, "accuracy": 0.297607421875, "lr": 0.00010913555219180621, "gradient_norm": 1.4760984182357788, "derivatives": {"trace": {"estimate": 4382.984375, "raw_grad_norm": 125742.0625, "lambda": 9.169227719425724e-07}}, "penalty": 0.03215086546004787}
|
| 75 |
+
{"timestamp": "2026-11-25T06:52:10+00:00", "step": 336, "tokens": 1376256, "train_seconds": 20.04155140000512, "loss": 3.9473485946655273, "accuracy": 0.320068359375, "lr": 0.00010834228335129206, "gradient_norm": 1.0110013484954834, "derivatives": {}}
|
| 76 |
+
{"timestamp": "2026-11-25T06:52:10+00:00", "step": 344, "tokens": 1409024, "train_seconds": 20.30552240000543, "loss": 4.075821876525879, "accuracy": 0.293212890625, "lr": 0.00010208412484015729, "gradient_norm": 1.126460313796997, "derivatives": {}}
|
| 77 |
+
{"timestamp": "2026-11-25T06:52:10+00:00", "step": 352, "tokens": 1441792, "train_seconds": 20.575962500006426, "loss": 4.136089324951172, "accuracy": 0.298583984375, "lr": 9.599418362020711e-05, "gradient_norm": 1.0686591863632202, "derivatives": {}, "dev_nll": 3.9603105499700177, "dev_accuracy": 0.3128662109375}
|
| 78 |
+
{"timestamp": "2026-11-25T06:52:11+00:00", "step": 360, "tokens": 1474560, "train_seconds": 20.848309200002404, "loss": 3.9981818199157715, "accuracy": 0.310791015625, "lr": 9.008874228169243e-05, "gradient_norm": 1.064282774925232, "derivatives": {}}
|
| 79 |
+
{"timestamp": "2026-11-25T06:52:12+00:00", "step": 367, "tokens": 1503232, "train_seconds": 21.313339400006953, "loss": 3.905707359313965, "accuracy": 0.317138671875, "lr": 8.508525408010976e-05, "gradient_norm": 1.5051703453063965, "derivatives": {"trace": {"estimate": 4293.61474609375, "raw_grad_norm": 141175.0, "lambda": 9.169227719425724e-07}}, "penalty": 0.031495305077134286}
|
| 80 |
+
{"timestamp": "2026-11-25T06:52:12+00:00", "step": 368, "tokens": 1507328, "train_seconds": 21.345624000005046, "loss": 3.968700885772705, "accuracy": 0.318603515625, "lr": 8.438359012012389e-05, "gradient_norm": 1.1151947975158691, "derivatives": {}}
|
| 81 |
+
{"timestamp": "2026-11-25T06:52:12+00:00", "step": 376, "tokens": 1540096, "train_seconds": 21.62875550001263, "loss": 4.047111988067627, "accuracy": 0.306884765625, "lr": 7.889398092065467e-05, "gradient_norm": 1.122643232345581, "derivatives": {}}
|
| 82 |
+
{"timestamp": "2026-11-25T06:52:12+00:00", "step": 384, "tokens": 1572864, "train_seconds": 21.893588100010675, "loss": 3.964454174041748, "accuracy": 0.31787109375, "lr": 7.363459217424964e-05, "gradient_norm": 1.014033555984497, "derivatives": {}, "dev_nll": 3.9230027138546575, "dev_accuracy": 0.3192138671875}
|
| 83 |
+
{"timestamp": "2026-11-25T06:52:13+00:00", "step": 388, "tokens": 1589248, "train_seconds": 22.263918300013756, "loss": 3.9419565200805664, "accuracy": 0.317626953125, "lr": 7.109564991567032e-05, "gradient_norm": 1.7159799337387085, "derivatives": {"trace": {"estimate": 6768.9375, "raw_grad_norm": 185621.484375, "lambda": 9.169227719425724e-07}}, "penalty": 0.04965274348484821}
|
| 84 |
+
{"timestamp": "2026-11-25T06:52:13+00:00", "step": 389, "tokens": 1593344, "train_seconds": 22.511800500011304, "loss": 4.0087666511535645, "accuracy": 0.31591796875, "lr": 7.047065805143226e-05, "gradient_norm": 1.6137282848358154, "derivatives": {"trace": {"estimate": 6181.5478515625, "raw_grad_norm": 141983.796875, "lambda": 9.169227719425724e-07}}, "penalty": 0.045344015927602725}
|
| 85 |
+
{"timestamp": "2026-11-25T06:52:13+00:00", "step": 392, "tokens": 1605632, "train_seconds": 22.60434760001226, "loss": 3.906049966812134, "accuracy": 0.326416015625, "lr": 6.861948583468366e-05, "gradient_norm": 1.1595704555511475, "derivatives": {}}
|
| 86 |
+
{"timestamp": "2026-11-25T06:52:14+00:00", "step": 400, "tokens": 1638400, "train_seconds": 23.17178030001378, "loss": 4.028077602386475, "accuracy": 0.30126953125, "lr": 6.386207072129363e-05, "gradient_norm": 1.5840462446212769, "derivatives": {"trace": {"estimate": 6407.294921875, "raw_grad_norm": 198377.234375, "lambda": 9.169227719425724e-07}}, "penalty": 0.046999956963353545}
|
| 87 |
+
{"timestamp": "2026-11-25T06:52:14+00:00", "step": 406, "tokens": 1662976, "train_seconds": 23.589813100017636, "loss": 4.090489387512207, "accuracy": 0.301513671875, "lr": 6.047079790294211e-05, "gradient_norm": 1.524788737297058, "derivatives": {"trace": {"estimate": 4478.1865234375, "raw_grad_norm": 149125.5, "lambda": 9.169227719425724e-07}}, "penalty": 0.03284920960276947}
|
| 88 |
+
{"timestamp": "2026-11-25T06:52:15+00:00", "step": 408, "tokens": 1671168, "train_seconds": 23.89433850002024, "loss": 3.910804033279419, "accuracy": 0.327880859375, "lr": 5.937506666800685e-05, "gradient_norm": 1.5118632316589355, "derivatives": {"trace": {"estimate": 3845.242919921875, "raw_grad_norm": 138827.09375, "lambda": 9.169227719425724e-07}}, "penalty": 0.028206326375418533}
|
| 89 |
+
{"timestamp": "2026-11-25T06:52:15+00:00", "step": 415, "tokens": 1699840, "train_seconds": 24.387312100021518, "loss": 3.8735709190368652, "accuracy": 0.33251953125, "lr": 5.5680209182797707e-05, "gradient_norm": 1.6078641414642334, "derivatives": {"trace": {"estimate": 5689.98046875, "raw_grad_norm": 159166.4375, "lambda": 9.169227719425724e-07}}, "penalty": 0.04173818130964278}
|
| 90 |
+
{"timestamp": "2026-11-25T06:52:15+00:00", "step": 416, "tokens": 1703936, "train_seconds": 24.419286100022873, "loss": 4.00063943862915, "accuracy": 0.308837890625, "lr": 5.517047051449939e-05, "gradient_norm": 1.1245770454406738, "derivatives": {}, "dev_nll": 3.899180283595342, "dev_accuracy": 0.3194580078125}
|
| 91 |
+
{"timestamp": "2026-11-25T06:52:16+00:00", "step": 424, "tokens": 1736704, "train_seconds": 24.716372400027467, "loss": 3.955423593521118, "accuracy": 0.318115234375, "lr": 5.125952403041481e-05, "gradient_norm": 1.1367881298065186, "derivatives": {}}
|
| 92 |
+
{"timestamp": "2026-11-25T06:52:16+00:00", "step": 432, "tokens": 1769472, "train_seconds": 25.006045100024494, "loss": 3.876844882965088, "accuracy": 0.327392578125, "lr": 4.765268385840255e-05, "gradient_norm": 1.2864115238189697, "derivatives": {}}
|
| 93 |
+
{"timestamp": "2026-11-25T06:52:17+00:00", "step": 439, "tokens": 1798144, "train_seconds": 25.511512500026583, "loss": 3.8841552734375, "accuracy": 0.317626953125, "lr": 4.475376250789764e-05, "gradient_norm": 1.8756663799285889, "derivatives": {"trace": {"estimate": 8282.767578125, "raw_grad_norm": 227443.25, "lambda": 9.169227719425724e-07}}, "penalty": 0.060757265656723534}
|
| 94 |
+
{"timestamp": "2026-11-25T06:52:17+00:00", "step": 440, "tokens": 1802240, "train_seconds": 25.54939070002729, "loss": 3.993340015411377, "accuracy": 0.318115234375, "lr": 4.435959355633935e-05, "gradient_norm": 1.0073238611221313, "derivatives": {}}
|
| 95 |
+
{"timestamp": "2026-11-25T06:52:17+00:00", "step": 441, "tokens": 1806336, "train_seconds": 25.80575270002737, "loss": 3.9547269344329834, "accuracy": 0.325927734375, "lr": 4.3970465625544734e-05, "gradient_norm": 1.4178355932235718, "derivatives": {"trace": {"estimate": 6225.4931640625, "raw_grad_norm": 152194.640625, "lambda": 9.169227719425724e-07}}, "penalty": 0.045666371589613786}
|
| 96 |
+
{"timestamp": "2026-11-25T06:52:17+00:00", "step": 448, "tokens": 1835008, "train_seconds": 26.04091500002687, "loss": 3.7647438049316406, "accuracy": 0.339599609375, "lr": 4.1389057813484204e-05, "gradient_norm": 1.0252667665481567, "derivatives": {}, "dev_nll": 3.875805886258604, "dev_accuracy": 0.3209228515625}
|
| 97 |
+
{"timestamp": "2026-11-25T06:52:18+00:00", "step": 456, "tokens": 1867776, "train_seconds": 26.321675600029266, "loss": 3.9952094554901123, "accuracy": 0.306396484375, "lr": 3.87490189095044e-05, "gradient_norm": 1.0143938064575195, "derivatives": {}}
|
| 98 |
+
{"timestamp": "2026-11-25T06:52:18+00:00", "step": 463, "tokens": 1896448, "train_seconds": 26.778412000025128, "loss": 3.9038822650909424, "accuracy": 0.3193359375, "lr": 3.6715666657252646e-05, "gradient_norm": 1.4559295177459717, "derivatives": {"trace": {"estimate": 6348.1142578125, "raw_grad_norm": 157275.484375, "lambda": 9.169227719425724e-07}}, "penalty": 0.04656584417505283}
|
| 99 |
+
{"timestamp": "2026-11-25T06:52:18+00:00", "step": 464, "tokens": 1900544, "train_seconds": 26.809916100024566, "loss": 3.9476122856140137, "accuracy": 0.315185546875, "lr": 3.644653547931393e-05, "gradient_norm": 0.9844360947608948, "derivatives": {}}
|
| 100 |
+
{"timestamp": "2026-11-25T06:52:19+00:00", "step": 469, "tokens": 1921024, "train_seconds": 27.210075400020287, "loss": 3.9557032585144043, "accuracy": 0.314697265625, "lr": 3.5181671718470364e-05, "gradient_norm": 1.8845605850219727, "derivatives": {"trace": {"estimate": 7362.583984375, "raw_grad_norm": 211507.609375, "lambda": 9.169227719425724e-07}}, "penalty": 0.054007367324904916}
|
| 101 |
+
{"timestamp": "2026-11-25T06:52:19+00:00", "step": 472, "tokens": 1933312, "train_seconds": 27.313997000022937, "loss": 3.899108409881592, "accuracy": 0.332275390625, "lr": 3.448776364050062e-05, "gradient_norm": 1.0938200950622559, "derivatives": {}}
|
| 102 |
+
{"timestamp": "2026-11-25T06:52:19+00:00", "step": 475, "tokens": 1945600, "train_seconds": 27.6604752000203, "loss": 3.9117913246154785, "accuracy": 0.31396484375, "lr": 3.384293587706642e-05, "gradient_norm": 1.5933480262756348, "derivatives": {"trace": {"estimate": 5919.6962890625, "raw_grad_norm": 166070.28125, "lambda": 9.169227719425724e-07}}, "penalty": 0.043423234643402774}
|
| 103 |
+
{"timestamp": "2026-11-25T06:52:20+00:00", "step": 480, "tokens": 1966080, "train_seconds": 28.06518550002147, "loss": 3.977926254272461, "accuracy": 0.309326171875, "lr": 3.2877940533801046e-05, "gradient_norm": 1.6179769039154053, "derivatives": {"trace": {"estimate": 8541.654296875, "raw_grad_norm": 174760.140625, "lambda": 9.169227719425724e-07}}, "penalty": 0.06265629867892647, "dev_nll": 3.861864589707693, "dev_accuracy": 0.3221435546875}
|
| 104 |
+
{"timestamp": "2026-11-25T06:52:21+00:00", "step": 487, "tokens": 1994752, "train_seconds": 28.533141900017654, "loss": 3.8323607444763184, "accuracy": 0.328125, "lr": 3.175899911303486e-05, "gradient_norm": 1.740658164024353, "derivatives": {"trace": {"estimate": 8109.5654296875, "raw_grad_norm": 187032.0, "lambda": 9.169227719425724e-07}}, "penalty": 0.05948676170430977}
|
| 105 |
+
{"timestamp": "2026-11-25T06:52:21+00:00", "step": 488, "tokens": 1998848, "train_seconds": 28.56886720001785, "loss": 3.9115872383117676, "accuracy": 0.32373046875, "lr": 3.162137032063078e-05, "gradient_norm": 1.1287132501602173, "derivatives": {}}
|
| 106 |
+
{"timestamp": "2026-11-25T06:52:21+00:00", "step": 496, "tokens": 2031616, "train_seconds": 28.874180500017246, "loss": 3.858711004257202, "accuracy": 0.310302734375, "lr": 3.0721412675108806e-05, "gradient_norm": 1.1213092803955078, "derivatives": {}}
|
| 107 |
+
{"timestamp": "2026-11-25T06:52:21+00:00", "step": 504, "tokens": 2064384, "train_seconds": 29.14581510001517, "loss": 3.7370362281799316, "accuracy": 0.333740234375, "lr": 3.0180473801343766e-05, "gradient_norm": 1.0968554019927979, "derivatives": {}}
|
| 108 |
+
{"timestamp": "2026-11-25T06:52:22+00:00", "step": 506, "tokens": 2072576, "train_seconds": 29.452699000015855, "loss": 3.9878549575805664, "accuracy": 0.3046875, "lr": 3.0101526411928942e-05, "gradient_norm": 1.7119166851043701, "derivatives": {"trace": {"estimate": 8271.18359375, "raw_grad_norm": 159991.828125, "lambda": 9.169227719425724e-07}}, "penalty": 0.06067229270421742}
|
| 109 |
+
{"timestamp": "2026-11-25T06:52:22+00:00", "step": 512, "tokens": 2097152, "train_seconds": 29.650253500014514, "loss": 3.8928956985473633, "accuracy": 0.322509765625, "lr": 2.9999999999999997e-05, "gradient_norm": 1.1297396421432495, "derivatives": {}, "dev_nll": 3.8497960159438662, "dev_accuracy": 0.3248291015625}
|
research/results/stories-pilot-s00-trace-r10/samples.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"timestamp": "2026-11-25T06:52:24+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:52:25+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:52:25+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. The shelf was very happy and he couldn't get about up. \n\nOne day, Lily opened him and asked, \"Good what try that there should enjoyed a pulled", "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, 298, 2516, 282, 388, 403, 265, 279, 745, 423, 602, 668, 358, 14, 410, 199, 420, 356, 12, 363, 967, 435, 265, 512, 12, 333, 2192, 541, 807, 357, 399, 931, 1427, 259, 1624], "tokens": 40, "sampling_seed": 7403, "temperature": 0.8}
|
research/results/stories-pilot-s00-trace-r10/summary.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "stories-pilot-s00-trace-r10",
|
| 3 |
+
"stage": "stories",
|
| 4 |
+
"method": "trace",
|
| 5 |
+
"phase": "pilot",
|
| 6 |
+
"seed": 0,
|
| 7 |
+
"ratio": 0.1,
|
| 8 |
+
"token_budget": 2097152,
|
| 9 |
+
"batch_windows": 32,
|
| 10 |
+
"context": 128,
|
| 11 |
+
"data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
|
| 12 |
+
"microbatch": 32,
|
| 13 |
+
"coefficients": {
|
| 14 |
+
"trace": 9.169227719425724e-07
|
| 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": "30eae3ea4a52767f768ce62fcc6b8cca4a68d8df",
|
| 21 |
+
"trainable_parameters": 2557632,
|
| 22 |
+
"weights_sha256": "1d2c129314baa56b12b4799eed0d2fa0c06e5642996590bca585cf59f6d0d5b7",
|
| 23 |
+
"weights_name": "model.safetensors",
|
| 24 |
+
"matched_dev_nll": 3.8497960159438662,
|
| 25 |
+
"tokens": 2097152,
|
| 26 |
+
"steps": 512,
|
| 27 |
+
"train_seconds": 29.650253500014514,
|
| 28 |
+
"tokens_per_sec": 70729.64823046027,
|
| 29 |
+
"peak_vram_mb": 608.21533203125,
|
| 30 |
+
"dev_nll": 3.897900642381824,
|
| 31 |
+
"dev_accuracy": 0.3205648626479963,
|
| 32 |
+
"dev_tokens": 715643,
|
| 33 |
+
"finished_at": "2026-11-25T06:52:26+00:00",
|
| 34 |
+
"status": "complete"
|
| 35 |
+
}
|
research/tests/test_derivatives.py
CHANGED
|
@@ -204,3 +204,60 @@ def test_production_story_model_exposes_full_weight_penalty_gradient():
|
|
| 204 |
assert penalty.isfinite() and penalty > 0
|
| 205 |
assert all(gradient.isfinite().all() for gradient in augmented)
|
| 206 |
assert any(not torch.allclose(a, b, atol=1e-10, rtol=1e-9) for a, b in zip(augmented, plain))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
assert penalty.isfinite() and penalty > 0
|
| 205 |
assert all(gradient.isfinite().all() for gradient in augmented)
|
| 206 |
assert any(not torch.allclose(a, b, atol=1e-10, rtol=1e-9) for a, b in zip(augmented, plain))
|
| 207 |
+
|
| 208 |
+
|
| 209 |
+
def test_pythia_adapter_fourth_derivative_and_portable_checkpoint(tmp_path, monkeypatch):
|
| 210 |
+
"""Exercise the production PEFT and GPT-NeoX code on a small, offline CPU backbone.
|
| 211 |
+
|
| 212 |
+
Compare the gradient with a finite difference along a fixed direction, then load the
|
| 213 |
+
updated adapter into a fresh copy. https://huggingface.co/docs/peft/developer_guides/checkpoint
|
| 214 |
+
"""
|
| 215 |
+
from peft import get_peft_model_state_dict, set_peft_model_state_dict
|
| 216 |
+
from safetensors.torch import load_file
|
| 217 |
+
from transformers import AutoModelForCausalLM, GPTNeoXConfig, GPTNeoXForCausalLM
|
| 218 |
+
from thirdloss.models import build_model, export_weights, logits_of, token_loss
|
| 219 |
+
|
| 220 |
+
def local_base(*args, **kwargs):
|
| 221 |
+
config = GPTNeoXConfig(vocab_size=17, hidden_size=16, num_hidden_layers=1,
|
| 222 |
+
num_attention_heads=2, intermediate_size=32, max_position_embeddings=32,
|
| 223 |
+
attention_dropout=0.0, hidden_dropout=0.0, use_cache=False)
|
| 224 |
+
config._attn_implementation = kwargs["attn_implementation"]
|
| 225 |
+
return GPTNeoXForCausalLM(config)
|
| 226 |
+
|
| 227 |
+
monkeypatch.setattr(AutoModelForCausalLM, "from_pretrained", local_base)
|
| 228 |
+
model = build_model("abstracts", 27, "cpu", tmp_path).double().eval()
|
| 229 |
+
named = [(name, p) for name, p in model.named_parameters() if p.requires_grad]
|
| 230 |
+
assert len(named) == 2 and all("query_key_value.lora_" in name for name, _ in named)
|
| 231 |
+
params = tuple(p for _, p in named)
|
| 232 |
+
rng = torch.Generator().manual_seed(19)
|
| 233 |
+
def signs():
|
| 234 |
+
return tuple(torch.randint(2, p.shape, generator=rng).to(p) * 2 - 1 for p in params)
|
| 235 |
+
|
| 236 |
+
u, v, direction = signs(), signs(), signs()
|
| 237 |
+
ids = torch.tensor([[2, 4, 5, 6], [3, 5, 6, 1]])
|
| 238 |
+
def penalty():
|
| 239 |
+
loss = token_loss(logits_of(model, ids), (ids + 1) % 17)
|
| 240 |
+
return estimate(loss, params, "third", u=u, v=v)
|
| 241 |
+
|
| 242 |
+
grad = torch.autograd.grad(penalty(), params)
|
| 243 |
+
projected = sum((g * d).sum() for g, d in zip(grad, direction, strict=True))
|
| 244 |
+
initial = tuple(p.detach().clone() for p in params)
|
| 245 |
+
def set_offset(distance):
|
| 246 |
+
with torch.no_grad():
|
| 247 |
+
for p, origin, d in zip(params, initial, direction, strict=True):
|
| 248 |
+
p.copy_(origin + distance * d)
|
| 249 |
+
|
| 250 |
+
h = 2e-6
|
| 251 |
+
set_offset(h)
|
| 252 |
+
plus = penalty().detach()
|
| 253 |
+
set_offset(-h)
|
| 254 |
+
minus = penalty().detach()
|
| 255 |
+
assert projected.abs() > 1e-7
|
| 256 |
+
torch.testing.assert_close(projected, (plus-minus)/(2*h), rtol=2e-5, atol=1e-8)
|
| 257 |
+
|
| 258 |
+
path = export_weights(model, tmp_path/"export")
|
| 259 |
+
payload = load_file(str(path))
|
| 260 |
+
fresh = build_model("abstracts", 27, "cpu", tmp_path).double().eval()
|
| 261 |
+
assert set(payload) == set(get_peft_model_state_dict(fresh))
|
| 262 |
+
set_peft_model_state_dict(fresh, payload)
|
| 263 |
+
torch.testing.assert_close(logits_of(fresh, ids), logits_of(model, ids), rtol=0, atol=0)
|