• paultal released this 2026-11-27 03:08:10 +02:00 | 0 commits to main since this release

    Includes the fixes for long equation left sides (#2) and the full variable alphabet (#4).

    Code: 4fb7726 on main.
    Training: ./run.sh: 200k generated pairs, seed 0, small config (~8M parameters), 8000 steps.

    Scores on the 102-row hand test (#12):

    model-v0 model-v1
    hand, overall 41.2% 61.8%
    basic 95.5% 95.5%
    bigop 100.0% 100.0%
    equation 42.9% 85.7%
    variables 0.0% 93.8%
    robustness 23.1% 23.1%
    long 33.3% 33.3%
    bigop-lhs 25.0% 25.0%
    bounds 16.7% 16.7%
    new-math 0.0% 0.0%
    numbers 0.0% 0.0%
    compiles / balanced 99.0 / 99.0% 100.0 / 100.0%

    Synthetic test set: 98.2% exact. This isn't comparable to v0's 99.6%: the generated data now has many more letters and equation shapes, so the test split is harder.

    Known failures:

    • an integral, sum or limit on the left of =, and bounds longer than one token (#6)
    • long sums drop or repeat terms (#7)
    • fractions and number words like "one third" or "forty two" (#9)
    • new kinds of math like f(x) or n! (#8)

    Files: model.pt and tokenizer.json (needed together), train_log.csv, errors_hand.txt (every hand-test row it got wrong).

    Downloads