Model Zoo

This page lists the 12 model presets documented for version 0.1.13. The model registry and model files are hosted separately from the library and can be updated independently of the installed package. The official registry is registry.json on GitHub, with a GitVerse mirror. When you select a preset by its model key, the required files are downloaded automatically.

Detection

Model key

Class

License

Artifacts

east_50_g1

EAST

MIT

weights (required): east_50_g1.onnx
checkpoint (optional): east_50_g1.pth
config (required): east_50_g1.json
license (required): east_50_g1.LICENSE.txt

east_50_yenisei_gov_reports_g1

EAST

MIT

mask2former_line_v0_prev

Mask2Former

CC-BY-NC-3.0

weights (required): mask2former_line_v0_prev.onnx
external_data (required): mask2former_line_v0_prev.onnx.data

yolo26s_obb_text_g1

YOLO26 OBB

AGPL-3.0-only

checkpoint (optional): yolo26s_obb_text_g1.pt
weights (required): yolo26s_obb_text_g1.raw.onnx
config (required): yolo26s_obb_text_g1.raw.json

yolo26x_obb_text_g1

YOLO26 OBB

AGPL-3.0-only

checkpoint (optional): yolo26x_obb_text_g1.pt
weights (required): yolo26x_obb_text_g1.raw.onnx
config (required): yolo26x_obb_text_g1.raw.json
from manuscript.detectors import EAST

detector = EAST(weights="east_50_g1")

Layout

Model key

Class

License

Artifacts

SimpleSorting

Algorithmic

MIT

None

ReadingSorting

Algorithmic

MIT

None

Layouts are included with the library and are created directly, without weights.

from manuscript.layouts import SimpleSorting

layout = SimpleSorting()

Recognition

Model key

Class

License

Artifacts

trba_base_g0

TRBA

MIT

Training checkpoint only (for fine-tuning; no ONNX inference).
checkpoint (optional): trba_base_g0.pth
license (required): trba_base_g0.LICENSE.txt

trba_base_g1

TRBA

MIT

config (required): trba_base_g1.json
weights (required): trba_base_g1.onnx
checkpoint (optional): trba_base_g1.pth
charset (required): trba_base_g1.txt
license (required): trba_base_g1.LICENSE.txt

trba_lite_g1

TRBA

MIT

config (required): trba_lite_g1.json
weights (required): trba_lite_g1.onnx
checkpoint (optional): trba_lite_g1.pth
charset (required): trba_lite_g1.txt
license (required): trba_lite_g1.LICENSE.txt

trba_lite_g2

TRBA

MIT

config (required): trba_lite_g2.json
weights (required): trba_lite_g2.onnx
checkpoint (optional): trba_lite_g2.pth
charset (required): trba_lite_g2.txt
license (required): trba_lite_g2.LICENSE.txt

trba_lite_g3_prt

TRBA

MIT

config (required): trba_lite_g3_prt.json
weights (required): trba_lite_g3_prt.onnx
checkpoint (optional): trba_lite_g3_prt.pth
charset (required): trba_lite_g3_prt.txt
license (required): trba_lite_g3_prt.LICENSE.txt
from manuscript.recognizers import TRBA

recognizer = TRBA(weights="trba_lite_g2")

Correction

Model key

Class

License

Artifacts

modern_charlm_g1

CharLM

MIT

vocab (required): modern_charlm_g1.json
weights (required): modern_charlm_g1.onnx
checkpoint (optional): modern_charlm_g1.pt
lexicon (optional): modern_words.txt
license (required): modern_charlm_g1.LICENSE.txt

prereform_charlm_g1

CharLM

MIT

vocab (required): prereform_charlm_g1.json
weights (required): prereform_charlm_g1.onnx
checkpoint (optional): prereform_charlm_g1.pt
lexicon (optional): prereform_words.txt
from manuscript.correctors import CharLM

corrector = CharLM(weights="prereform_charlm_g1")