Instructions to use echo840/MonkeyOCR-pro-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MonkeyOCR
How to use echo840/MonkeyOCR-pro-3B with MonkeyOCR:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload 4 files
Browse filesFiles changed (5)
33 unmodified lines34353633 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textRecognition/tokenizer.json filter=lfs diff=lfs merge=lfs -text33 unmodified lines343536373833 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textRecognition/tokenizer.json filter=lfs diff=lfs merge=lfs -textStructure/PP-DocLayoutV2/inference.pdiparams filter=lfs diff=lfs merge=lfs -textStructure/PP-DocLayoutV2/inference.pdmodel filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176{ "mode": "paddle", "draw_threshold": 0.5, "metric": "COCO", "use_dynamic_shape": false, "Global": { "model_name": "PP-DocLayoutV2" }, "arch": "DETR", "min_subgraph_size": 3, "Preprocess": [ { "interp": 2, "keep_ratio": false, "target_size": [ 800, 800 ], "type": "Resize" }, { "mean": [ 0.0, 0.0, 0.0 ], "norm_type": "none", "std": [ 1.0, 1.0, 1.0 ], "type": "NormalizeImage" }, { "type": "Permute" } ], "label_list": [ "abstract", "algorithm", "aside_text", "chart", "content", "display_formula", "doc_title", "figure_title", "footer", "footer_image", "footnote", "formula_number", "header", "header_image", "image", "inline_formula", "number", "paragraph_title", "reference", "reference_content", "seal", "table", "text", "vertical_text", "vision_footnote" ], "Hpi": { "backend_configs": { "paddle_infer": { "trt_dynamic_shapes": { "image": [ [ 1, 3, 800, 800 ], [ 1, 3, 800, 800 ], [ 8, 3, 800, 800 ] ], "scale_factor": [ [ 1, 2 ], [ 1, 2 ], [ 8, 2 ] ] }, "trt_dynamic_shape_input_data": { "scale_factor": [ [ 2, 2 ], [ 1, 1 ], [ 0.67, 0.67, 0.67, 0.67, 0.67, 0.67, 0.67, 0.67, 0.67, 0.67, 0.67, 0.67, 0.67, 0.67, 0.67, 0.67 ] ] } }, "tensorrt": { "dynamic_shapes": { "image": [ [ 1, 3, 800, 800 ], [ 1, 3, 800, 800 ], [ 8, 3, 800, 800 ] ], "scale_factor": [ [ 1, 2 ], [ 1, 2 ], [ 8, 2 ] ] } } } }}123version https://git-lfs.github.com/spec/v1oid sha256:45404a84c9fdf91d7bbc94bd47ac4c03649bda84167de04c62bff4726657869asize 212170944123version https://git-lfs.github.com/spec/v1oid sha256:fddd4b4359b95e6f1dd86c86f05e9516517bead9089287681838cdcbf003563bsize 1515181123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100mode: paddledraw_threshold: 0.5metric: COCOuse_dynamic_shape: falseGlobal: model_name: PP-DocLayoutV2arch: DETRmin_subgraph_size: 3Preprocess:- interp: 2 keep_ratio: false target_size: - 800 - 800 type: Resize- mean: - 0.0 - 0.0 - 0.0 norm_type: none std: - 1.0 - 1.0 - 1.0 type: NormalizeImage- type: Permutelabel_list:- abstract- algorithm- aside_text- chart- content- display_formula- doc_title- figure_title- footer- footer_image- footnote- formula_number- header- header_image- image- inline_formula- number- paragraph_title- reference- reference_content- seal- table- text- vertical_text- vision_footnoteHpi: backend_configs: paddle_infer: trt_dynamic_shapes: &id001 image: - - 1 - 3 - 800 - 800 - - 1 - 3 - 800 - 800 - - 8 - 3 - 800 - 800 scale_factor: - - 1 - 2 - - 1 - 2 - - 8 - 2 trt_dynamic_shape_input_data: scale_factor: - - 2 - 2 - - 1 - 1 - - 0.67 - 0.67 - 0.67 - 0.67 - 0.67 - 0.67 - 0.67 - 0.67 - 0.67 - 0.67 - 0.67 - 0.67 - 0.67 - 0.67 - 0.67 - 0.67 tensorrt: dynamic_shapes: *id001.gitattributes+2
Structure/PP-DocLayoutV2/config.jsonAdded+176
Structure/PP-DocLayoutV2/inference.pdiparamsAdded+3
Structure/PP-DocLayoutV2/inference.pdmodelAdded+3
Structure/PP-DocLayoutV2/inference.ymlAdded+100