Add clean Path A proof of concept
Spoken-English math to Typst with a small from-scratch encoder-decoder Transformer, following the build guide: compile-checked synthetic data generator, shared BPE tokenizer, nn.Transformer model, training loop with an overfit sanity check, greedy decoding CLI, and evaluation on synthetic and hand-written test sets. ./run.sh runs the whole pipeline. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
5926731546
commit
fa472f8abd
20 files changed
+2398
-1
No files matched your search
@@ -0,0 +1,32 @@
|
||||
{"en": "the integral from 0 to infinity of e to the minus x squared dx", "typ": "integral_0^infinity e^(-x^2) dif x"}
|
||||
{"en": "x squared plus y squared equals r squared", "typ": "x^2 + y^2 = r^2"}
|
||||
{"en": "a squared plus b squared equals c squared", "typ": "a^2 + b^2 = c^2"}
|
||||
{"en": "e to the x", "typ": "e^x"}
|
||||
{"en": "e to the minus x", "typ": "e^(-x)"}
|
||||
{"en": "one over x", "typ": "frac(1, x)"}
|
||||
{"en": "x over 2", "typ": "frac(x, 2)"}
|
||||
{"en": "the square root of 2", "typ": "sqrt(2)"}
|
||||
{"en": "square root of x plus one", "typ": "sqrt(x) + 1"}
|
||||
{"en": "the square root of the quantity x plus 1", "typ": "sqrt(x + 1)"}
|
||||
{"en": "sine of x", "typ": "sin(x)"}
|
||||
{"en": "sin x squared", "typ": "sin(x^2)"}
|
||||
{"en": "sine squared of x plus cosine squared of x equals 1", "typ": "sin(x)^2 + cos(x)^2 = 1"}
|
||||
{"en": "ln of x", "typ": "ln(x)"}
|
||||
{"en": "2 x plus 3", "typ": "2 x + 3"}
|
||||
{"en": "3x squared minus 2x plus 1", "typ": "3 x^2 - 2 x + 1"}
|
||||
{"en": "y equals m x plus b", "typ": "y = m x + b"}
|
||||
{"en": "the integral of x squared dx", "typ": "integral x^2 dif x"}
|
||||
{"en": "the integral from 0 to 1 of x squared dx", "typ": "integral_0^1 x^2 dif x"}
|
||||
{"en": "integral from 0 to pi of sine of x dx", "typ": "integral_0^pi sin(x) dif x"}
|
||||
{"en": "the sum from i equals 1 to n of i", "typ": "sum_(i = 1)^n i"}
|
||||
{"en": "the sum from k equals 0 to infinity of x to the k", "typ": "sum_(k = 0)^infinity x^k"}
|
||||
{"en": "the limit as x approaches 0 of sine of x over x", "typ": "lim_(x -> 0) frac(sin(x), x)"}
|
||||
{"en": "the limit as n goes to infinity of 1 over n", "typ": "lim_(n -> infinity) frac(1, n)"}
|
||||
{"en": "minus b over 2 a", "typ": "frac(-b, 2 a)"}
|
||||
{"en": "x to the n", "typ": "x^n"}
|
||||
{"en": "x cubed minus 1", "typ": "x^3 - 1"}
|
||||
{"en": "alpha plus beta", "typ": "alpha + beta"}
|
||||
{"en": "2 pi r", "typ": "2 pi r"}
|
||||
{"en": "e to the i pi plus 1 equals 0", "typ": "e^(i pi) + 1 = 0"}
|
||||
{"en": "one half", "typ": "frac(1, 2)"}
|
||||
{"en": "f equals m a", "typ": "f = m a"}
|
||||
Reference in new issue
Block a user