Downloads · 30 days
0
inYourOwnBrowser/rapid-latex-ocr-onnx
rapid-latex-ocr-onnx is a image-to-text model from inYourOwnBrowser. Use it when you need a caption or text from an image. The card lists the license as mit.
This repository is a re-hosted, unmodified copy of the ONNX model weights from RapidAI/RapidLatexOCR, used to recognize handwritten/typeset math formulas and convert them to LaTeX, fully client-side in the browser via…
Downloads · 30 days
0
Access
Public
Updated Aug 8, 2026
Repo size
179 MB
Likes
0
Public
Click a slice to open those files.
.onnx179 MB · 100%
From the Hugging Face model README
This repository is a re-hosted, unmodified copy of the ONNX model weights from
RapidAI/RapidLatexOCR, used to
recognize handwritten/typeset math formulas and convert them to LaTeX, fully
client-side in the browser via onnxruntime-web.
No training, fine-tuning, or modification has been done to these weights. They are mirrored here only so we can fetch them from a stable, CORS-enabled, pinned URL without committing ~179 MB of binary files to our own git repository.
| File | Description |
|---|---|
image_resizer.onnx | Predicts the input size bucket for a formula crop |
encoder.onnx | Vision transformer encoder |
decoder.onnx | Autoregressive LaTeX token decoder |
tokenizer.json | Hugging Face tokenizers BPE vocabulary for the LaTeX token stream |
All credit for training and exporting these weights belongs to the original authors:
MIT, matching the license of both upstream projects. See LICENSE in this repo.
These weights are consumed directly by web-app I am working on. They are not intended to be a general-purpose published model — for the canonical, actively maintained version, use the upstream RapidLatexOCR repository or PyPI package instead.