40145d1fced5f6e760aa7d15400644e452cb93ec
isotope-eval reports a balanced column next to exact and compiles, and breaks hand-test exact match down by category. eval/hand_test.jsonl grows from 32 to 102 tagged rows built from the stress-test failures in #2 and #4-#9. Closes #3 Co-authored-by: Paul Tal <[email protected]>
isotope-typst
isotope-typst turns math written in plain English into Typst markup. For example, the integral from 0 to infinity of e to the minus x squared dx becomes $integral_0^infinity e^(-x^2) dif x$. It is a small encoder–decoder Transformer, built and trained from scratch in PyTorch on synthetic data.
Running it
You need uv and the Typst CLI (brew install typst).
./run.sh # generate data, train, and evaluate (~20 min on an M-series Mac)
uv run isotope "x squared plus 1" # translate a sentence
uv run isotope # interactive prompt
Languages
Python
98.2%
Shell
1.8%