hf-transformers-bot commited on
Commit
81df15d
·
verified ·
1 Parent(s): 044305d

Update tiny models for PPOCRV6SmallRecForTextRecognition

Browse files
Files changed (3) hide show
  1. config.json +180 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +0 -0
config.json ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "PPOCRV6SmallRecForTextRecognition"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "backbone_config": {
7
+ "block_configs": [
8
+ [
9
+ [
10
+ 3,
11
+ 16,
12
+ 16,
13
+ 1,
14
+ true
15
+ ]
16
+ ],
17
+ [
18
+ [
19
+ 3,
20
+ 16,
21
+ 16,
22
+ 1,
23
+ false
24
+ ],
25
+ [
26
+ 3,
27
+ 16,
28
+ 16,
29
+ 1,
30
+ false
31
+ ]
32
+ ],
33
+ [
34
+ [
35
+ 3,
36
+ 16,
37
+ 16,
38
+ [
39
+ 2,
40
+ 1
41
+ ],
42
+ false
43
+ ],
44
+ [
45
+ 3,
46
+ 16,
47
+ 16,
48
+ 1,
49
+ true
50
+ ],
51
+ [
52
+ 3,
53
+ 16,
54
+ 16,
55
+ 1,
56
+ false
57
+ ],
58
+ [
59
+ 3,
60
+ 16,
61
+ 16,
62
+ 1,
63
+ true
64
+ ],
65
+ [
66
+ 3,
67
+ 16,
68
+ 16,
69
+ 1,
70
+ false
71
+ ],
72
+ [
73
+ 3,
74
+ 16,
75
+ 16,
76
+ 1,
77
+ true
78
+ ],
79
+ [
80
+ 3,
81
+ 16,
82
+ 16,
83
+ 1,
84
+ false
85
+ ]
86
+ ],
87
+ [
88
+ [
89
+ 3,
90
+ 16,
91
+ 16,
92
+ [
93
+ 2,
94
+ 1
95
+ ],
96
+ false
97
+ ],
98
+ [
99
+ 3,
100
+ 16,
101
+ 16,
102
+ 1,
103
+ true
104
+ ],
105
+ [
106
+ 3,
107
+ 16,
108
+ 16,
109
+ 1,
110
+ false
111
+ ]
112
+ ]
113
+ ],
114
+ "depths": [
115
+ 1,
116
+ 2,
117
+ 7,
118
+ 3
119
+ ],
120
+ "hidden_act": "relu",
121
+ "model_type": "pp_lcnet_v4",
122
+ "num_channels": 3,
123
+ "out_features": [
124
+ "stage1",
125
+ "stage2",
126
+ "stage3",
127
+ "stage4"
128
+ ],
129
+ "out_indices": [
130
+ 1,
131
+ 2,
132
+ 3,
133
+ 4
134
+ ],
135
+ "reduction": 4,
136
+ "scale": 1.0,
137
+ "stage_names": [
138
+ "stem",
139
+ "stage1",
140
+ "stage2",
141
+ "stage3",
142
+ "stage4"
143
+ ],
144
+ "stage_out_channels": [
145
+ 16,
146
+ 16,
147
+ 16,
148
+ 16
149
+ ],
150
+ "stem_channels": [
151
+ 3,
152
+ 16,
153
+ 16
154
+ ],
155
+ "stem_strides": [
156
+ 2,
157
+ 1,
158
+ 1,
159
+ 2,
160
+ 1
161
+ ],
162
+ "stem_type": "large",
163
+ "use_learnable_affine_block": false
164
+ },
165
+ "conv_kernel_size": [
166
+ 1,
167
+ 7
168
+ ],
169
+ "depth": 2,
170
+ "dtype": "float32",
171
+ "head_out_channels": 30,
172
+ "hidden_act": "silu",
173
+ "hidden_size": 10,
174
+ "layer_norm_eps": 1e-06,
175
+ "mlp_ratio": 2.0,
176
+ "model_type": "pp_ocrv6_small_rec",
177
+ "num_attention_heads": 2,
178
+ "qkv_bias": true,
179
+ "transformers_version": "5.16.0.dev0"
180
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b2b5604f43a645d9ae6530bb07d55654e83ffd909e90661cfdb1ad0306601d5
3
+ size 149952
preprocessor_config.json ADDED
The diff for this file is too large to render. See raw diff