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. The trained model is not tracked; ./run.sh produces it.
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 "$@"
|