ppocr-mlx / en_rec /config.json
jasonni2's picture
Upload folder using huggingface_hub
1e1b9bd verified
Raw
History Blame Contribute Delete
2.09 kB
{
"model_type": "pp_ocrv5_mobile_rec",
"backbone_config": {
"model_type": "pp_lcnet_v3",
"scale": 0.95,
"out_features": [
"stage2",
"stage3",
"stage4",
"stage5"
],
"out_indices": [
2,
3,
4,
5
],
"divisor": 16,
"block_configs": [
[
[
3,
16,
32,
1,
false
]
],
[
[
3,
32,
64,
1,
false
],
[
3,
64,
64,
1,
false
]
],
[
[
3,
64,
128,
[
2,
1
],
false
],
[
3,
128,
128,
1,
false
]
],
[
[
3,
128,
256,
[
1,
2
],
false
],
[
5,
256,
256,
1,
false
],
[
5,
256,
256,
1,
false
],
[
5,
256,
256,
1,
false
],
[
5,
256,
256,
1,
false
]
],
[
[
5,
256,
512,
[
2,
1
],
true
],
[
5,
512,
512,
1,
true
],
[
5,
512,
512,
[
2,
1
],
false
],
[
5,
512,
512,
1,
false
]
]
]
},
"hidden_act": "silu",
"hidden_size": 120,
"mlp_ratio": 2.0,
"depth": 2,
"head_out_channels": 438,
"conv_kernel_size": [
1,
3
],
"qkv_bias": true,
"num_attention_heads": 8,
"attention_dropout": 0.0
}