#180 · Primary category: Computer Vision

Texo

computer-vision deep-learning distillation-model formula formulanet hydra latex latex-ocr machine-learning math math-formula-recognition ocr ocr-recognition python pytorch pytorch-lightning transformers unimernet vision-encoder-decoder

A minimalist SOTA LaTeX OCR model with only 20M parameters, running in browser. Full training pipeline available for self-reproduction. | 超轻量SOTA LaTeX公式识别模型,仅20M参数量,可在浏览器中运行。训练全流程代码开源,以便自学复现。

Project last updated:08/17/26

GitHub Stars

893

Forks

51

Contributors

2

License

AGPL-3.0

Why we included this project

Turning a photo of a formula into working LaTeX is a narrow job, but one that anyone who keeps meeting notes in a markup editor, writes up lecture notes, or maintains a math-heavy knowledge base ends up doing constantly. Texo does it with a deliberately small model: 20 million parameters, small enough that inference runs on a consumer GPU and even in the browser. It is distilled from a larger formula-recognition model, and the repo includes the full training pipeline and datasets, so a team can retrain or fine-tune it on its own notation or handwriting instead of treating it as a frozen black box. Measured on the UniMERNet test set, the distilled weights stay close to the bigger models even at a fraction of their size. That combination of transparency and small footprint makes it a sensible default for adding math OCR to a product without committing to a heavyweight service.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category