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: 706 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 | {
"model_type": "slanext",
"vision_config":{
"image_size": 512,
"output_channels":256,
"num_channels":3,
"patch_size":16,
"hidden_act":"gelu",
"layer_norm_eps":1e-6,
"attention_dropout":0.0,
"qkv_bias":true,
"use_abs_pos":true,
"use_rel_pos":true,
"window_size":14,
"hidden_size": 768,
"num_hidden_layers": 12,
"num_attention_heads": 12,
"global_attn_indexes": [2, 5, 8, 11],
"mlp_dim": 3072
},
"post_conv_in_channels": 256,
"post_conv_out_channels": 512,
"out_channels": 50,
"hidden_size": 512,
"max_text_length": 500,
"loc_reg_num": 8
} |