Xenova HF staff commited on
Commit
9ba49a3
1 Parent(s): 4c27510

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/dit-base",
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": 768,
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "layer_norm_eps": 1e-12,
19
+ "layer_scale_init_value": 0.1,
20
+ "model_type": "beit",
21
+ "num_attention_heads": 12,
22
+ "num_channels": 3,
23
+ "num_hidden_layers": 12,
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.33.2",
39
+ "use_absolute_position_embeddings": true,
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": false,
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:8c11338c08b802437f06c94eb8d6632284b7c1dc0f1e270668f5322390ca1a05
3
+ size 343470558
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79328b2e77488659c667b723ca19349941ca032601b13da8fd04f20cb8a5703b
3
+ size 87482889
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,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Pow",
8
+ "ReduceMean",
9
+ "Expand",
10
+ "Softmax",
11
+ "Constant",
12
+ "Unsqueeze",
13
+ "Div",
14
+ "Gather",
15
+ "Conv",
16
+ "Sqrt",
17
+ "Erf",
18
+ "Concat",
19
+ "ConstantOfShape",
20
+ "Add",
21
+ "Sub",
22
+ "Where",
23
+ "Slice",
24
+ "MatMul",
25
+ "Mul",
26
+ "Equal",
27
+ "Reshape",
28
+ "Shape",
29
+ "Transpose"
30
+ ],
31
+ "weight_type": "QUInt8"
32
+ }
33
+ }
34
+ }