hf-transformers-bot commited on
Commit
b4e7343
1 Parent(s): 2d58ef6

Upload tiny models for ViTMSNForImageClassification

Browse files
Files changed (3) hide show
  1. config.json +21 -0
  2. preprocessor_config.json +23 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTMSNForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "hidden_act": "gelu",
7
+ "hidden_dropout_prob": 0.1,
8
+ "hidden_size": 32,
9
+ "image_size": 30,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 37,
12
+ "layer_norm_eps": 1e-06,
13
+ "model_type": "vit_msn",
14
+ "num_attention_heads": 4,
15
+ "num_channels": 3,
16
+ "num_hidden_layers": 5,
17
+ "patch_size": 2,
18
+ "qkv_bias": true,
19
+ "torch_dtype": "float32",
20
+ "transformers_version": "4.28.0.dev0"
21
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 30,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 30,
21
+ "width": 30
22
+ }
23
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f236889bbfce14d62b507b87b8b97e07bfbff58958b39b06502a010a4f505620
3
+ size 195001