Skip to content

Commit d2d6ed6

Browse files
physicsrobclaude
andcommitted
publish calculator_memorize n=2: card fields, family blurb
CARD_TASK / DEMO_PROMPTS (2-digit width) so the memorize bundle gets the same demo gate and signpost card as the rest of the family, and the card's family paragraph now names all four variants. Published 2026-07-27 at the canonical geometry (its depth IS the fact-capacity term, so unlike the n=3 trio it genuinely uses d_hidden=16384): 16 layers, 32.8GB — the fact table fills the FFN width the computing variants leave empty. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 4c451ad commit d2d6ed6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

examples/calculator_memorize.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,15 @@
9494
# parameters, ~12 GB fp32) — expressible only through the formulas above.
9595
MAX_SUPPORTED_DIGITS = 2
9696

97+
# Model-card fields consumed by ``examples.compile`` when publishing this
98+
# example as a Hugging Face bundle. Prompts stay within the 2-digit width.
99+
CARD_TASK = (
100+
"a computation graph for integer arithmetic (`A op B` with `op` in `+ - *`) "
101+
"that computes nothing: every answer is a memorized fact, looked up from "
102+
"the operand pair"
103+
)
104+
DEMO_PROMPTS = ["12*34\n", "7+8\n", "10-99\n", "99*99\n"]
105+
97106

98107
def n_facts(max_digits: int) -> int:
99108
"""One lane per possible expression: ``3 * 10^(2n)``."""

0 commit comments

Comments
 (0)