hf-transformers-bot commited on
Commit
ef2cde5
·
verified ·
1 Parent(s): 799a54e

Update tiny models for ViTModel

Browse files
Files changed (3) hide show
  1. config.json +25 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +26 -0
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "dtype": "float32",
7
+ "encoder_stride": 2,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 32,
11
+ "image_size": 30,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 37,
14
+ "is_decoder": false,
15
+ "layer_norm_eps": 1e-12,
16
+ "model_type": "vit",
17
+ "num_attention_heads": 4,
18
+ "num_channels": 3,
19
+ "num_hidden_layers": 2,
20
+ "patch_size": 2,
21
+ "pooler_act": "tanh",
22
+ "pooler_output_size": 32,
23
+ "qkv_bias": true,
24
+ "transformers_version": "5.16.0.dev0"
25
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d1e915a0ade49c3b4a43122708fe52b2ee7e20d9845295e10fb20de146f4eaa
3
+ size 93568
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
+ }