Xenova HF Staff commited on
Commit
378fcc8
·
verified ·
1 Parent(s): 885c62b

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +47 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +28 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-Data2VecVisionForImageClassification",
4
+ "architectures": [
5
+ "Data2VecVisionForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "auxiliary_channels": 256,
9
+ "auxiliary_concat_input": false,
10
+ "auxiliary_loss_weight": 0.4,
11
+ "auxiliary_num_convs": 1,
12
+ "drop_path_rate": 0.1,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 32,
16
+ "image_size": 30,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 37,
19
+ "layer_norm_eps": 1e-12,
20
+ "layer_scale_init_value": 0.1,
21
+ "model_type": "data2vec-vision",
22
+ "num_attention_heads": 4,
23
+ "num_channels": 3,
24
+ "num_hidden_layers": 4,
25
+ "out_indices": [
26
+ 0,
27
+ 1,
28
+ 2,
29
+ 3
30
+ ],
31
+ "patch_size": 2,
32
+ "pool_scales": [
33
+ 1,
34
+ 2,
35
+ 3,
36
+ 6
37
+ ],
38
+ "semantic_loss_ignore_index": 255,
39
+ "transformers_version": "4.48.2",
40
+ "use_absolute_position_embeddings": false,
41
+ "use_auxiliary_head": true,
42
+ "use_mask_token": false,
43
+ "use_mean_pooling": true,
44
+ "use_relative_position_bias": false,
45
+ "use_shared_relative_position_bias": false,
46
+ "vocab_size": 100
47
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a49d1812ee21c8c880146966b163f12e7d74aaa3e9b46b67e794e7a32f451a1f
3
+ size 224620
preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 30,
4
+ "width": 30
5
+ },
6
+ "do_center_crop": true,
7
+ "do_normalize": true,
8
+ "do_reduce_labels": false,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "image_processor_type": "BeitFeatureExtractor",
17
+ "image_std": [
18
+ 0.5,
19
+ 0.5,
20
+ 0.5
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "height": 30,
26
+ "width": 30
27
+ }
28
+ }