hf-transformers-bot commited on
Commit
ab79807
1 Parent(s): 0a674f9

Upload tiny models for Data2VecVisionForImageClassification

Browse files
Files changed (4) hide show
  1. config.json +47 -0
  2. preprocessor_config.json +28 -0
  3. pytorch_model.bin +3 -0
  4. tf_model.h5 +3 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "tiny_models/data2vec-vision/Data2VecVisionForImageClassification",
3
+ "architectures": [
4
+ "Data2VecVisionForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
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.1,
14
+ "hidden_size": 32,
15
+ "image_size": 30,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 37,
18
+ "layer_norm_eps": 1e-12,
19
+ "layer_scale_init_value": 0.1,
20
+ "model_type": "data2vec-vision",
21
+ "num_attention_heads": 4,
22
+ "num_channels": 3,
23
+ "num_hidden_layers": 4,
24
+ "out_indices": [
25
+ 0,
26
+ 1,
27
+ 2,
28
+ 3
29
+ ],
30
+ "patch_size": 2,
31
+ "pool_scales": [
32
+ 1,
33
+ 2,
34
+ 3,
35
+ 6
36
+ ],
37
+ "semantic_loss_ignore_index": 255,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.28.0.dev0",
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
+ }
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": "BeitImageProcessor",
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8498aa422c4e6768515e9707314f9455ddc747ded2b4df173f1980e757e66e83
3
+ size 135954
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9877e4c90702bb24541c89408d9d1f36bcc7f604376700f7ebd80e2862b901fb
3
+ size 220768