hf-transformers-bot's picture
Update tiny models for PPOCRV5MobileRecForTextRecognition
e3bbbfe verified
Raw
History Blame Contribute Delete
2.54 kB
{
"architectures": [
"PPOCRV5MobileRecForTextRecognition"
],
"attention_dropout": 0.0,
"backbone_config": {
"block_configs": [
[
[
3,
16,
32,
1,
false
]
],
[
[
3,
32,
32,
1,
false
],
[
3,
32,
32,
1,
false
]
],
[
[
3,
32,
32,
[
2,
1
],
false
],
[
3,
32,
32,
1,
false
]
],
[
[
3,
32,
32,
[
1,
2
],
false
],
[
5,
32,
32,
1,
false
],
[
5,
32,
32,
1,
false
],
[
5,
32,
32,
1,
false
],
[
5,
32,
32,
1,
false
]
],
[
[
5,
32,
32,
[
2,
1
],
true
],
[
5,
32,
32,
1,
true
],
[
5,
32,
32,
[
2,
1
],
false
],
[
5,
32,
32,
1,
false
]
]
],
"conv_symmetric_num": 4,
"depths": [
1,
2,
2,
5,
4
],
"divisor": 16,
"hidden_act": "hardswish",
"model_type": "pp_lcnet_v3",
"out_features": [
"stage2",
"stage3",
"stage4",
"stage5"
],
"out_indices": [
2,
3,
4,
5
],
"reduction": 4,
"scale": 0.95,
"stage_names": [
"stem",
"stage1",
"stage2",
"stage3",
"stage4",
"stage5"
],
"stem_channels": 16,
"stem_stride": 2
},
"conv_kernel_size": [
1,
3
],
"depth": 2,
"dtype": "float32",
"head_out_channels": 18385,
"hidden_act": "silu",
"hidden_size": 10,
"layer_norm_eps": 1e-06,
"mlp_ratio": 2.0,
"model_type": "pp_ocrv5_mobile_rec",
"num_attention_heads": 2,
"qkv_bias": true,
"transformers_version": "5.16.0.dev0"
}