Lemon MTL models

The three models Lemon MTL downloads on demand: the Android app ships the small parts (LaMa inpainting, the OCR tokenizer, the patchifier) and fetches these on the first run that needs them, so the APK stays around 160 MB instead of 900 MB.

File Size What it does
layout.tflite 131.0 MiB Text, bubble and panel detection (RF-DETR Seg 2XL at 528 px)
ocr_encoder.tflite 327.6 MiB OCR encoder (Hayai OCR, vision half)
ocr_textdecoder.tflite 249.6 MiB OCR decoder (Hayai OCR, token half)

Each file is the TFLite conversion of the corresponding koharu checkpoint (mayocream/koharu-layout-highres and the Hayai OCR weights), made with the same conversion notes as the desktop project. The app verifies a file's size and SHA-256 against the manifest bundled in the APK before it keeps it.

manifest.json lists the three files with their sizes and SHA-256; it is the same manifest the app ships, so an upload that does not match it will be refused by every install.

Licence

The checkpoints these are converted from are Apache-2.0 / MIT (see the desktop project); this conversion carries the same terms. LaMa inpainting weights, the tokenizer and the patchifier are not in this repository.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support