Files
isotope-typst/README.md
T
paultal 473a9358d6 Simplify README to a description and how to run it (#11)
Cuts README.md down to one paragraph about the project and a short "Running it" section. Removes the command table, the code layout, the English conventions and the "not yet" list.

Adds a README section to AGENTS.md: keep the README short, never use it as documentation, document code in docstrings next to it, and track planned work in Gitea issues.

The issues that pointed at README sections (#3, #10) have been updated.

Reviewed-on: #11
Co-authored-by: Paul Tal <[email protected]>
2026-11-27 00:57:12 +02:00

14 lines
667 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# isotope-typst
isotope-typst turns math written in plain English into [Typst](https://typst.app) 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](https://docs.astral.sh/uv/) and the Typst CLI (`brew install typst`).
```bash
./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
```