Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use at study design, implementation and experimentation when the brief's deliverable is a model you have to build — it names an architecture family (graph network, autoencoder, diffusion module, surrogate net) or a training regime (pre-training, fine-tuning, self-supervised, inverse design). Covers why a cheaper model class scores near zero however well it performs, why a scaled-down run of the named architecture beats a released checkpoint on every architecture criterion, and what to ablate.
.claude/skills/tangxiangru-train-the-named-architecture/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 30% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -31% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 1% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 55% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -53% | 0% |
The reasoning that loses this is good reasoning. Building the named architecture from scratch is expensive; a cheaper model class will reach a better number on the supplied data; a released checkpoint will reach the published number exactly. All three are true, and all three lose, because a brief that names an architecture is graded on the architecture: its components, its training dynamics, its ablations. Those questions have no answer that a different model can give.
So: if the budget will not carry everything, cut seeds, cut substrates, cut your own extension. Never cut the model the brief names.
The trade that looks obvious — "a from-scratch version at this budget would be far worse than the published one, so it cannot win" — is a prediction, and it is usually wrong about what is being graded. A small, honest re-implementation that keeps the named components and trains for a fraction of the source's budget answers every architecture-shaped criterion. A number obtained from something else answers none of them, however good the number is.
Budget one small training arm before you budget a second inference sweep.
A released checkpoint and a small re-implementation answer different questions, and a task that names an architecture usually asks both:
| the criterion says | what answers it | |---|---| | accuracy, success rate, benchmark score | the released code, run as published | | architecture, components, convergence, ablation, training | your own trained re-implementation, at whatever scale you can afford |
This is the one place to override the usual advice to install and run the authors' release rather than reimplement it. Run the release and build the scale model; they are not alternatives here.
If the brief says "a graph encoder with gated convolutions, a self-supervised decoder and a classifier head", the ablations are: remove the gating, remove the decoder, replace the head. Removing an input — a feature, a modality, a conditioning signal — is a different experiment, and it does not answer a component question. Match each ablation against a parameter-matched control so the delta is about the component and not about capacity.
Inside the training loop, before anything else changes, append (step, train_loss, val_loss, val_metric) to a result file — for every arm, including the subordinate ones you do not expect to report. A convergence curve is one of the most frequently graded artifacts of a model-building task and one of the easiest to lose: the numbers exist in memory for the length of the run and then do not exist at all. There is nothing to recover at writing time.
Then, before the analysis stage: grep your own figure captions for an epoch axis. If the brief named an architecture and no figure has one, go back to experimentation rather than forward to writing.
A criterion about architecture is a paragraph about layers, and it is answered by a paragraph about layers, in the report body: layer count, width, pooling, dropout, optimiser, learning rate, batch size, epoch count. "A graph network pre-trained with masked reconstruction" is a description of a category. A config file in code/ is not in the report.
You will sometimes prove the supplied file is trivial — a closed-form function of its own index, a leak, a surrogate. Audit it, in its own section. Then train the named model on it anyway and report what happened, because the architecture criteria are still there and they are still graded. Switching to a model class the brief did not name, on the grounds that the data does not deserve the named one, scores worse than training the named one on bad data.
"This is a statement about a 3,400-step budget, not about the architecture in the limit" costs nothing and protects everything. An honest scale disclaimer next to a real comparison is worth far more than a missing arm.
See also run-the-conditions-the-source-ran for the experiment list this model has to be run through, and publish-what-the-run-already-computed for the sweep that catches a training log you kept and did not plot. On a materials run, material-as-specified-run-and-stage-diagnostics covers the "run the named method family" and "leave the stage diagnostics behind you" halves of this from the field side; what is here and not there is the trade against a released checkpoint, the component-versus-input ablation distinction, and what to do when the supplied data turns out to be degenerate.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 45,849 | 25,967 | -43% | 1 | 1 | 0% | 8,290 | 4,677 | -44% | 0 | 0 | — |
case-02 | fail→pass | 20,070 | 19,170 | -4% | 1 | 1 | 0% | 3,151 | 4,098 | +30% | 0 | 0 | — |
case-03 | fail→pass | 57,419 | 32,858 | -43% | 1 | 1 | 0% | 6,158 | 4,236 | -31% | 0 | 0 | — |
case-04 | pass→pass | 61,322 | 29,319 | -52% | 1 | 1 | 0% | 3,438 | 4,216 | +23% | 0 | 0 | — |
case-05 | pass→pass | 24,518 | 36,866 | +50% | 1 | 1 | 0% | 3,623 | 5,290 | +46% | 0 | 0 | — |
case-06 | pass→pass | 49,019 | 59,186 | +21% | 1 | 1 | 0% | 3,797 | 6,166 | +62% | 0 | 0 | — |
case-07 | pass→pass | 31,855 | 56,276 | +77% | 1 | 1 | 0% | 4,198 | 6,118 | +46% | 0 | 0 | — |
case-08 | pass→pass | 14,969 | 22,571 | +51% | 1 | 1 | 0% | 2,321 | 2,542 | +10% | 0 | 0 | — |
case-09 | pass→pass | 15,051 | 12,949 | -14% | 1 | 1 | 0% | 2,095 | 2,839 | +36% | 0 | 0 | — |
case-10 | pass→pass | 31,281 | 27,420 | -12% | 1 | 1 | 0% | 2,212 | 2,490 | +13% | 0 | 0 | — |
case-11 | fail→pass | 31,105 | 8,031 | -74% | 1 | 1 | 0% | 2,092 | 2,106 | +1% | 0 | 0 | — |
case-12 | fail→pass | 11,772 | 10,828 | -8% | 1 | 1 | 0% | 1,820 | 2,817 | +55% | 0 | 0 | — |
case-13 | fail→pass | 35,673 | 5,494 | -85% | 1 | 1 | 0% | 3,517 | 1,640 | -53% | 0 | 0 | — |
case-14 | fail→fail | 15,525 | 15,000 | -3% | 1 | 1 | 0% | 2,239 | 2,600 | +16% | 0 | 0 | — |
case-15 | fail→pass | 22,714 | 8,185 | -64% | 1 | 1 | 0% | 1,830 | 2,251 | +23% | 0 | 0 | — |
case-16 | pass→pass | 28,870 | 11,830 | -59% | 1 | 1 | 0% | 2,193 | 2,745 | +25% | 0 | 0 | — |
case-17 | pass→pass | 22,205 | 8,210 | -63% | 1 | 1 | 0% | 1,459 | 2,183 | +50% | 0 | 0 | — |
case-18 | fail→pass | 11,492 | 5,871 | -49% | 1 | 1 | 0% | 1,316 | 1,761 | +34% | 0 | 0 | — |
case-19 | pass→pass | 35,925 | 6,583 | -82% | 1 | 1 | 0% | 1,253 | 2,099 | +68% | 0 | 0 | — |
case-20 | pass→pass | 53,778 | 7,536 | -86% | 1 | 1 | 0% | 1,757 | 1,882 | +7% | 0 | 0 | — |
case-21 | pass→pass | 11,707 | 8,059 | -31% | 1 | 1 | 0% | 1,699 | 1,946 | +15% | 0 | 0 | — |
case-22 | fail→pass | 58,509 | 12,196 | -79% | 1 | 1 | 0% | 2,244 | 2,561 | +14% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +36 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.