Skip to page content
SAVRN
Search Plan a project

Open-weight model · Image to text

ohmyshot-ppformulanet-plus-l-coreml

by Moraxcheng MoraxCheng/ohmyshot-ppformulanet-plus-l-coreml

ohmyshot-ppformulanet-plus-l-coreml is an open-weight model for image to text from Moraxcheng, released under Apache License 2.0. Its published files total 184.9 MB.

PaddlePaddle's PP-FormulaNetplus-L, which reads a picture of a formula as LaTeX, converted to Core ML ML programs with 8-bit weights for OhMyShot, a screenshot app for macOS, which downloads them as a model pack to copy the formula in a selection as LaTeX.

Parameters—
Context—
Weights184.5 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Model Card

By Moraxcheng, published under apache-2.0, revision 192ccb089d5a.

PaddlePaddle's PP-FormulaNetplus-L, which reads a picture of a formula as LaTeX, converted to Core ML ML programs with 8-bit weights for OhMyShot, a screenshot app for macOS, which downloads them as a model pack to copy the formula in a selection as LaTeX. The weights are PaddlePaddle's, quantized; see LICENSE.txt for the license and what was changed. Decoding starts from token 2 at position 0 and ends when the decoder gives 2. Run on the CPU (.cpuOnly). Made with Tools/model-packs/formulapack.py from this upstream revision: - https://huggingface.co/PaddlePaddle/PP-FormulaNetplus-Lsafetensors/tree/6cc004a8e91ea3f3819b05317f40b290cbe99c2b Checked against the OhMyShot formula corpus…

Read Moraxcheng's full model card

PP-FormulaNet_plus-L for Core ML (OhMyShot model pack)

PaddlePaddle's PP-FormulaNet_plus-L, which reads a picture of a formula as LaTeX, converted to Core ML ML programs with 8-bit weights for OhMyShot, a screenshot app for macOS, which downloads them as a model pack to copy the formula in a selection as LaTeX. The weights are PaddlePaddle's, quantized; see LICENSE.txt for the license and what was changed.

File What it is
encoder.mlpackage Input pixel_values, 1 × 3 × 768 × 768; outputs cross_k and cross_v, 8 × 1 × 16 × 144 × 32: each decoder layer's cross-attention keys and values.
decoder.mlpackage One step: inputs ids (1 × 1, the last token), pos (1, its position), mask (1 × 1 × 1 × 1024, 0 for positions up to pos, -∞ after), cross_k, cross_v; output next, the likeliest next token, and logits. States k_cache and v_cache hold the self-attention keys and values.
tokens.txt The tokenizer's tokens, one a line in id order (GPT-2 byte-level characters); ids below 23 are special.
config.json Pre- and post-processing: inversion of dark pictures, cropping, scaling, normalization, the start and end tokens.
LICENSE.txt Apache License 2.0, with what was changed.

Decoding starts from token 2 at position 0 and ends when the decoder gives 2. Run on the CPU (.cpuOnly).

Made with Tools/model-packs/formula_pack.py from this upstream revision:

  • https://huggingface.co/PaddlePaddle/PP-FormulaNet_plus-L_safetensors/tree/6cc004a8e91ea3f3819b05317f40b290cbe99c2b

Checked against the OhMyShot formula corpus (Tools/l3-spike: 40 formulas drawn with LaTeX): read through these models on the CPU, with the app's own decoding, the share whose LaTeX draws exactly the formula drawn, by picture: 95.0% at 2x (192 dpi), 82.5% at 1x (96 dpi), 95.0% in dark mode (inverted first, as config.json has it), 75.0% in STIX Two Math, and 90.0% in TeX Gyre Pagella Math.

Identity and Version

Repository
MoraxCheng/ohmyshot-ppformulanet-plus-l-coreml
Publisher
Moraxcheng
Task
Image to text
Modality
Image and text
Library
coreml
Parameters
Not stated by the source
Languages
ocr
Revision
192ccb089d5a44384f84ad4283317c7692d2dc93
First published
2026-10-18
Last updated
2026-10-18

Files and Weights

11 files, 184.9 MB in total. The weights are 4 files totalling 184.5 MB in bin, mlmodel.

Weights4 files · 184.5 MB
Configuration3 files · 2.1 KB
Documentation2 files · 15.2 KB
Other1 file · 424.1 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
decoder.mlpackage/Data/com.apple.CoreML/model.mlmodelWeights213.3 KB 65076981addc
decoder.mlpackage/Data/com.apple.CoreML/weights/weight.binWeights82.4 MB 7e3e7ea8340e
encoder.mlpackage/Data/com.apple.CoreML/model.mlmodelWeights248.2 KB 001a7421192c
encoder.mlpackage/Data/com.apple.CoreML/weights/weight.binWeights101.6 MB 3c298327ddbb
config.jsonConfiguration841 B —
decoder.mlpackage/Manifest.jsonConfiguration617 B —
encoder.mlpackage/Manifest.jsonConfiguration617 B —
LICENSE.txtDocumentation12.9 KB —
README.mdDocumentation2.3 KB —
tokens.txtOther424.1 KB —
.gitattributesRepository1.5 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
184.5 MB
Download from Moraxcheng

Released by Moraxcheng through its official repository on Hugging Face. Read the license.

Built From

  • Derived from PaddlePaddle/PP-FormulaNet_plus-L_safetensors
  • Quantized from PaddlePaddle/PP-FormulaNet_plus-L_safetensors

Memory Requirements

PrecisionWeights in memory
As published184.5 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About ohmyshot-ppformulanet-plus-l-coreml

Can I use ohmyshot-ppformulanet-plus-l-coreml commercially?

Yes. ohmyshot-ppformulanet-plus-l-coreml is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

captioning pretrained on COCO dataset - base architecture (with ViT base backbone). Authors from the paper write in the abstract: Vision-Language Pre-training (VLP) has advanced the performance for many vision-language tasks. However, most existing pre-trained models only excel in either understanding-based tasks or generation-based tasks. Furthermore, performance improvement has been largely achieved by scaling up the dataset with noisy image-text pairs collected from the web, which is a suboptimal source of supervision. In this paper, we propose BLIP, a new VLP framework which transfers flexibly to both vision-language understanding and generation tasks. BLIP effectively utilizes the…

Open weights bsd-3-clause 512 tokens transformers

Model · Image to text

manga-ocr-base

Maciej Budyś

Optical character recognition for Japanese text, with the main focus being Japanese manga. It uses Vision Encoder Decoder framework. Manga OCR can be used as a general purpose printed Japanese OCR, but its main goal was to provide a high quality text recognition, robust against various scenarios specific to manga: - both vertical and horizontal text - text with furigana - text overlaid on images - wide variety of fonts and font styles - low quality images Code is available here.

Open weights apache-2.0 transformers

Model · Image to text

PP-OCRv5_server_det

PaddlePaddle

PP-OCRv5serverdet is one of the PP-OCRv5det series, the latest generation of text detection models developed by the PaddleOCR team. Designed for high-performance applications, it supports the detection of text in diverse scenarios—including handwriting, vertical, rotated, and curved text—across multiple languages such as Simplified Chinese, Traditional Chinese, English, and Japanese. Key features include robust handling of complex layouts, varying text sizes, and challenging backgrounds, making it suitable for practical applications like document analysis, license plate recognition, and scene text detection. The key accuracy metrics are as follow: Please refer to the following commands to…

Open weights apache-2.0 PaddleOCR

Model · Image to text

UVDoc

PaddlePaddle

The main purpose of text image correction is to carry out geometric transformation on the image to correct the document distortion, inclination, perspective deformation and other problems in the image, so that the subsequent text recognition can be more accurate. Please refer to the following commands to install PaddlePaddle using pip: For details about PaddlePaddle installation, please refer to the PaddlePaddle official website. Install the latest version of the PaddleOCR inference package from PyPI: You can quickly experience the functionality with a single command: You can also integrate the model inference of the TextImageUnwarping module into your project. Before running the following…

Open weights apache-2.0 PaddleOCR

Model · Image to text

en_PP-OCRv5_mobile_rec

PaddlePaddle

enPP-OCRv5mobilerec is one of the PP-OCRv5rec that are the latest generation text line recognition models developed by PaddleOCR team. It aims to efficiently and accurately support the recognition of English. The key accuracy metrics are as follow: Note: If any character (including punctuation) in a line was incorrect, the entire line was marked as wrong. This ensures higher accuracy in practical applications. Please refer to the following commands to install PaddlePaddle using pip: For details about PaddlePaddle installation, please refer to the PaddlePaddle official website. Install the latest version of the PaddleOCR inference package from PyPI: You can quickly experience the…

Open weights apache-2.0 PaddleOCR

Model · Image to text

PP-LCNet_x1_0_doc_ori

PaddlePaddle

The Document Image Orientation Classification Module is primarily designed to distinguish the orientation of document images and correct them through post-processing. During processes such as document scanning or ID photo capturing, the device might be rotated to achieve clearer images, resulting in images with various orientations. Standard OCR pipelines may not handle these images effectively. By leveraging image classification techniques, the orientation of documents or IDs containing text regions can be pre-determined and adjusted, thereby improving the accuracy of OCR processing. The key accuracy metrics are as follow: Please refer to the following commands to install PaddlePaddle…

Open weights apache-2.0 PaddleOCR