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
File size: 1,421 Bytes
1e1b9bd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | {
"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"
} |