Upload config.json
Browse files- config.json +24 -0
config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "alibaba-damo/mgp-str-base",
|
3 |
+
"architectures":
|
4 |
+
[
|
5 |
+
"MGPSTRModel"
|
6 |
+
],
|
7 |
+
"img_size": {"height": 32, "width": 128},
|
8 |
+
"patch_size": 4,
|
9 |
+
"in_chans": 3,
|
10 |
+
"max_token_length": 27,
|
11 |
+
"char_num_classes": 38,
|
12 |
+
"bpe_num_classes": 50257,
|
13 |
+
"wp_num_classes": 30522,
|
14 |
+
"embed_dim": 768,
|
15 |
+
"depth": 12,
|
16 |
+
"num_heads": 12,
|
17 |
+
"mlp_ratio": 4,
|
18 |
+
"qkv_bias": true,
|
19 |
+
"drop_rate": 0.0,
|
20 |
+
"attn_drop_rate": 0.0,
|
21 |
+
"drop_path_rate": 0.0,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": null
|
24 |
+
}
|