hf-transformers-bot's picture
Update tiny models for PPOCRV6SmallRecForTextRecognition
81df15d verified
Raw
History Blame Contribute Delete
2.51 kB
{
"architectures": [
"PPOCRV6SmallRecForTextRecognition"
],
"attention_dropout": 0.0,
"backbone_config": {
"block_configs": [
[
[
3,
16,
16,
1,
true
]
],
[
[
3,
16,
16,
1,
false
],
[
3,
16,
16,
1,
false
]
],
[
[
3,
16,
16,
[
2,
1
],
false
],
[
3,
16,
16,
1,
true
],
[
3,
16,
16,
1,
false
],
[
3,
16,
16,
1,
true
],
[
3,
16,
16,
1,
false
],
[
3,
16,
16,
1,
true
],
[
3,
16,
16,
1,
false
]
],
[
[
3,
16,
16,
[
2,
1
],
false
],
[
3,
16,
16,
1,
true
],
[
3,
16,
16,
1,
false
]
]
],
"depths": [
1,
2,
7,
3
],
"hidden_act": "relu",
"model_type": "pp_lcnet_v4",
"num_channels": 3,
"out_features": [
"stage1",
"stage2",
"stage3",
"stage4"
],
"out_indices": [
1,
2,
3,
4
],
"reduction": 4,
"scale": 1.0,
"stage_names": [
"stem",
"stage1",
"stage2",
"stage3",
"stage4"
],
"stage_out_channels": [
16,
16,
16,
16
],
"stem_channels": [
3,
16,
16
],
"stem_strides": [
2,
1,
1,
2,
1
],
"stem_type": "large",
"use_learnable_affine_block": false
},
"conv_kernel_size": [
1,
7
],
"depth": 2,
"dtype": "float32",
"head_out_channels": 30,
"hidden_act": "silu",
"hidden_size": 10,
"layer_norm_eps": 1e-06,
"mlp_ratio": 2.0,
"model_type": "pp_ocrv6_small_rec",
"num_attention_heads": 2,
"qkv_bias": true,
"transformers_version": "5.16.0.dev0"
}