hf-transformers-bot commited on
Commit
ea23b83
·
verified ·
1 Parent(s): 2fe96c1

Update tiny models for ViTMSNForImageClassification

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