hf-transformers-bot commited on
Commit
8d29b8c
·
verified ·
1 Parent(s): 78e60c7

Update tiny models for MobileViTForImageClassification

Browse files
Files changed (3) hide show
  1. config.json +45 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +28 -0
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MobileViTForImageClassification"
4
+ ],
5
+ "aspp_dropout_prob": 0.1,
6
+ "aspp_out_channels": 256,
7
+ "atrous_rates": [
8
+ 6,
9
+ 12,
10
+ 18
11
+ ],
12
+ "attention_probs_dropout_prob": 0.1,
13
+ "classifier_dropout_prob": 0.1,
14
+ "conv_kernel_size": 3,
15
+ "dtype": "float32",
16
+ "expand_ratio": 4.0,
17
+ "hidden_act": "silu",
18
+ "hidden_dropout_prob": 0.1,
19
+ "hidden_sizes": [
20
+ 12,
21
+ 16,
22
+ 20
23
+ ],
24
+ "image_size": 32,
25
+ "initializer_range": 0.02,
26
+ "layer_norm_eps": 1e-05,
27
+ "mlp_ratio": 2.0,
28
+ "model_type": "mobilevit",
29
+ "neck_hidden_sizes": [
30
+ 8,
31
+ 8,
32
+ 16,
33
+ 16,
34
+ 32,
35
+ 32,
36
+ 32
37
+ ],
38
+ "num_attention_heads": 4,
39
+ "num_channels": 3,
40
+ "output_stride": 32,
41
+ "patch_size": 2,
42
+ "qkv_bias": true,
43
+ "semantic_loss_ignore_index": 255,
44
+ "transformers_version": "5.16.0.dev0"
45
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb098fbcbcaf626320cb2864aba18130b049298b29c43927c9444edef67760f0
3
+ size 509536
preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "longest_edge": 32,
4
+ "shortest_edge": 32
5
+ },
6
+ "do_center_crop": true,
7
+ "do_flip_channel_order": 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": "MobileViTImageProcessor",
17
+ "image_std": [
18
+ 0.5,
19
+ 0.5,
20
+ 0.5
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "longest_edge": 32,
26
+ "shortest_edge": 32
27
+ }
28
+ }