Upload folder using huggingface_hub
Browse files- config.json +32 -0
- onnx/model.onnx +3 -0
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "hf-internal-testing/tiny-random-MgpstrForSceneTextRecognition",
|
4 |
+
"architectures": [
|
5 |
+
"MgpstrForSceneTextRecognition"
|
6 |
+
],
|
7 |
+
"attn_drop_rate": 0.0,
|
8 |
+
"distilled": false,
|
9 |
+
"drop_path_rate": 0.0,
|
10 |
+
"drop_rate": 0.0,
|
11 |
+
"hidden_size": 32,
|
12 |
+
"image_size": [
|
13 |
+
32,
|
14 |
+
128
|
15 |
+
],
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"layer_norm_eps": 1e-05,
|
18 |
+
"max_token_length": 27,
|
19 |
+
"mlp_ratio": 4.0,
|
20 |
+
"model_type": "mgp-str",
|
21 |
+
"num_attention_heads": 4,
|
22 |
+
"num_bpe_labels": 99,
|
23 |
+
"num_channels": 3,
|
24 |
+
"num_character_labels": 38,
|
25 |
+
"num_hidden_layers": 5,
|
26 |
+
"num_wordpiece_labels": 99,
|
27 |
+
"output_a3_attentions": false,
|
28 |
+
"output_hidden_states": null,
|
29 |
+
"patch_size": 4,
|
30 |
+
"qkv_bias": true,
|
31 |
+
"transformers_version": "4.48.2"
|
32 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a35aee9e99313bd8f0b7d6dcfeefaa2df7490765fb25c47b2d742dba4ca59709
|
3 |
+
size 436332
|