Spoken-English math to Typst math with a small from-scratch Transformer: synthetic data generator, BPE tokenizer, training, constrained/beam decoding, and evaluation against a hand-written test set. Ships the trained Path A model and tokenizer so the CLI works right after clone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 lines
169 B
Bash
Executable File
4 lines
169 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Translate English math to Typst: ./isotope "x squared plus one" (no argument = interactive)
|
|
cd "$(dirname "$0")" && exec uv run -q isotope "$@"
|