sgugger commited on
Commit
f197d5b
·
1 Parent(s): 5a04496

Upload tiny models for MgpstrForSceneTextRecognition

Browse files
Files changed (2) hide show
  1. config.json +31 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MgpstrForSceneTextRecognition"
4
+ ],
5
+ "attn_drop_rate": 0.0,
6
+ "distilled": false,
7
+ "drop_path_rate": 0.0,
8
+ "drop_rate": 0.0,
9
+ "hidden_size": 32,
10
+ "image_size": [
11
+ 32,
12
+ 128
13
+ ],
14
+ "initializer_range": 0.02,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_token_length": 27,
17
+ "mlp_ratio": 4.0,
18
+ "model_type": "mgp-str",
19
+ "num_attention_heads": 4,
20
+ "num_bpe_labels": 99,
21
+ "num_channels": 3,
22
+ "num_character_labels": 38,
23
+ "num_hidden_layers": 5,
24
+ "num_wordpiece_labels": 99,
25
+ "output_a3_attentions": false,
26
+ "output_hidden_states": null,
27
+ "patch_size": 4,
28
+ "qkv_bias": true,
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.28.0.dev0"
31
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e23a0c7207bd4bb8dea7af10a9271947e8a4509003da435decf92e92598a73e
3
+ size 367682