Image-to-Text
MLX
Safetensors
mlx-weights
paddlepaddle-ocr
ppocrv5
ppocrv6
ppdoclayoutv3
pp-structure
apple-silicon
Instructions to use plaincompute/ppocr-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use plaincompute/ppocr-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir ppocr-mlx plaincompute/ppocr-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
| { | |
| "model_type": "uvdoc", | |
| "kernel_size": 5, | |
| "backbone_config": { | |
| "model_type": "uvdoc_backbone", | |
| "resnet_head": [ | |
| [3, 32], | |
| [32, 32] | |
| ], | |
| "resnet_configs": [ | |
| [ | |
| [32, 32, 1, false], | |
| [32, 32, 3, false], | |
| [32, 32, 3, false] | |
| ], | |
| [ | |
| [32, 64, 1, true], | |
| [64, 64, 3, false], | |
| [64, 64, 3, false], | |
| [64, 64, 3, false] | |
| ], | |
| [ | |
| [64, 128, 1, true], | |
| [128, 128, 3, false], | |
| [128, 128, 3, false], | |
| [128, 128, 3, false], | |
| [128, 128, 3, false], | |
| [128, 128, 3, false] | |
| ] | |
| ], | |
| "stage_configs": [ | |
| [[128, 1]], | |
| [[128, 2]], | |
| [[128, 5]], | |
| [[128, 8], [128, 3], [128, 2]], | |
| [[128, 12], [128, 7], [128, 4]], | |
| [[128, 18], [128, 12], [128, 6]] | |
| ], | |
| "out_features": ["stage1", "stage2", "stage3", "stage4", "stage5", "stage6"], | |
| "out_indices": [1, 2, 3, 4, 5, 6] | |
| }, | |
| "bridge_connector": [128, 128], | |
| "out_point_positions2D": [ | |
| [128, 32], | |
| [32, 2] | |
| ], | |
| "dilation_values": [[1], [2], [5], [8, 3, 2], [12, 7, 4], [18, 12, 6]], | |
| "padding_mode": "reflect", | |
| "hidden_act": "prelu" | |
| } |