Xenova HF Staff commited on
Commit
6415765
·
1 Parent(s): 1c5c4c5

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/beit-large-patch16-224-pt22k",
3
+ "architectures": [
4
+ "BeitForMaskedImageModeling"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "auxiliary_channels": 256,
8
+ "auxiliary_concat_input": false,
9
+ "auxiliary_loss_weight": 0.4,
10
+ "auxiliary_num_convs": 1,
11
+ "drop_path_rate": 0.1,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.0,
14
+ "hidden_size": 1024,
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 4096,
18
+ "layer_norm_eps": 1e-12,
19
+ "layer_scale_init_value": 0.1,
20
+ "model_type": "beit",
21
+ "num_attention_heads": 16,
22
+ "num_channels": 3,
23
+ "num_hidden_layers": 24,
24
+ "out_indices": [
25
+ 3,
26
+ 5,
27
+ 7,
28
+ 11
29
+ ],
30
+ "patch_size": 16,
31
+ "pool_scales": [
32
+ 1,
33
+ 2,
34
+ 3,
35
+ 6
36
+ ],
37
+ "semantic_loss_ignore_index": 255,
38
+ "transformers_version": "4.34.0.dev0",
39
+ "use_absolute_position_embeddings": false,
40
+ "use_auxiliary_head": true,
41
+ "use_mask_token": true,
42
+ "use_mean_pooling": true,
43
+ "use_relative_position_bias": false,
44
+ "use_shared_relative_position_bias": true,
45
+ "vocab_size": 8192
46
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b618b681bca3bfee1a508348f6fd874922c44f71873d6be1f8d7b4ab7babac26
3
+ size 1215527952
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6bf8ffa15196ae16289eac393f69a326b10b6d5534388e4e4bc3f7d53776f3e
3
+ size 308665720
preprocessor_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": false,
7
+ "do_normalize": true,
8
+ "do_reduce_labels": false,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "feature_extractor_type": "BeitFeatureExtractor",
12
+ "image_mean": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "image_processor_type": "BeitFeatureExtractor",
18
+ "image_std": [
19
+ 0.5,
20
+ 0.5,
21
+ 0.5
22
+ ],
23
+ "resample": 2,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "height": 224,
27
+ "width": 224
28
+ }
29
+ }
quantize_config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Unsqueeze",
8
+ "ReduceMean",
9
+ "Add",
10
+ "Where",
11
+ "Slice",
12
+ "Transpose",
13
+ "Concat",
14
+ "Equal",
15
+ "Shape",
16
+ "Mul",
17
+ "Div",
18
+ "Gather",
19
+ "Reshape",
20
+ "Pow",
21
+ "Softmax",
22
+ "Sqrt",
23
+ "Conv",
24
+ "MatMul",
25
+ "ConstantOfShape",
26
+ "Expand",
27
+ "Constant",
28
+ "Erf",
29
+ "Sub",
30
+ "Gemm"
31
+ ],
32
+ "weight_type": "QUInt8"
33
+ }
34
+ }
35
+ }