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 |
|---|---|---|---|
|
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
|
|
|
MIT |
weights (required): east_50_yenisei_gov_reports_g1.onnx
checkpoint (optional): east_50_yenisei_gov_reports_g1.pth
config (required): east_50_yenisei_gov_reports_g1.json
license (required): east_50_yenisei_gov_reports_g1.LICENSE.txt
|
|
|
CC-BY-NC-3.0 |
weights (required): mask2former_line_v0_prev.onnx
external_data (required): mask2former_line_v0_prev.onnx.data
config (required): mask2former_line_v0_prev.json
license (required): mask2former_line_v0_prev.LICENSE.txt
|
|
|
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
license (required): yolo26s_obb_text_g1.LICENSE.txt
|
|
|
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
license (required): yolo26x_obb_text_g1.LICENSE.txt
|
from manuscript.detectors import EAST
detector = EAST(weights="east_50_g1")
Layout
Model key |
Class |
License |
Artifacts |
|---|---|---|---|
|
Algorithmic |
MIT |
None |
|
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 |
|---|---|---|---|
|
MIT |
Training checkpoint only (for fine-tuning; no ONNX inference).
checkpoint (optional): trba_base_g0.pth
license (required): trba_base_g0.LICENSE.txt
|
|
|
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
|
|
|
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
|
|
|
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
|
|
|
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 |
|---|---|---|---|
|
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
|
|
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
license (required): prereform_charlm_g1.LICENSE.txt
|
from manuscript.correctors import CharLM
corrector = CharLM(weights="prereform_charlm_g1")