hf-transformers-bot's picture
Update tiny models for PPOCRV5ServerRecModel
d505c9f verified
Raw
History Blame Contribute Delete
2.16 kB
{
"architectures": [
"PPOCRV5ServerRecModel"
],
"attention_dropout": 0.0,
"backbone_config": {
"arch": "L",
"depths": [
3,
4,
6,
3
],
"embedding_size": 64,
"freeze_at": 0,
"freeze_norm": true,
"freeze_stem_only": true,
"hidden_act": "relu",
"hidden_sizes": [
16,
16,
16,
16
],
"initializer_range": 0.02,
"lr_mult_list": [
1.0,
1.0,
1.0,
1.0,
1.0
],
"model_type": "hgnet_v2",
"num_channels": 3,
"out_features": [
"stage1",
"stage2",
"stage3",
"stage4"
],
"out_indices": [
1,
2,
3,
4
],
"return_idx": [
0,
1,
2,
3
],
"stage_downsample": [
true,
true,
true,
true
],
"stage_downsample_strides": [
[
2,
1
],
[
1,
2
],
[
2,
1
],
[
2,
1
]
],
"stage_in_channels": [
16,
16,
16,
16
],
"stage_kernel_size": [
3,
3,
5,
5
],
"stage_light_block": [
false,
false,
true,
true
],
"stage_mid_channels": [
16,
16,
16,
16
],
"stage_names": [
"stem",
"stage1",
"stage2",
"stage3",
"stage4"
],
"stage_num_blocks": [
1,
1,
3,
1
],
"stage_numb_of_layers": [
6,
6,
6,
6
],
"stage_out_channels": [
16,
16,
16,
16
],
"stem_channels": [
3,
16,
16
],
"stem_strides": [
2,
1,
1,
1,
1
],
"use_learnable_affine_block": false
},
"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_server_rec",
"num_attention_heads": 2,
"qkv_bias": true,
"transformers_version": "5.16.0.dev0"
}