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]>
14 lines
250 B
JSON
14 lines
250 B
JSON
{
|
|
"synthetic test": {
|
|
"n": 1000,
|
|
"exact": 0.963,
|
|
"compiles": 0.999,
|
|
"render_match": 0.963
|
|
},
|
|
"hand-written test": {
|
|
"n": 167,
|
|
"exact": 0.8323353293413174,
|
|
"compiles": 1.0,
|
|
"render_match": 0.8323353293413174
|
|
}
|
|
} |