hf-transformers-bot commited on
Commit
a6905b4
1 Parent(s): a92cece

Upload tiny models for LevitForImageClassification

Browse files
Files changed (3) hide show
  1. config.json +67 -0
  2. preprocessor_config.json +26 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LevitForImageClassification"
4
+ ],
5
+ "attention_ratio": [
6
+ 2,
7
+ 2,
8
+ 2
9
+ ],
10
+ "depths": [
11
+ 2,
12
+ 3,
13
+ 4
14
+ ],
15
+ "down_ops": [
16
+ [
17
+ "Subsample",
18
+ 16,
19
+ 8,
20
+ 4,
21
+ 2,
22
+ 2
23
+ ],
24
+ [
25
+ "Subsample",
26
+ 16,
27
+ 16,
28
+ 4,
29
+ 2,
30
+ 2
31
+ ],
32
+ [
33
+ ""
34
+ ]
35
+ ],
36
+ "drop_path_rate": 0,
37
+ "hidden_sizes": [
38
+ 128,
39
+ 256,
40
+ 384
41
+ ],
42
+ "image_size": 64,
43
+ "initializer_range": 0.02,
44
+ "kernel_size": 3,
45
+ "key_dim": [
46
+ 16,
47
+ 16,
48
+ 16
49
+ ],
50
+ "mlp_ratio": [
51
+ 2,
52
+ 2,
53
+ 2
54
+ ],
55
+ "model_type": "levit",
56
+ "num_attention_heads": [
57
+ 4,
58
+ 6,
59
+ 8
60
+ ],
61
+ "num_channels": 3,
62
+ "padding": 1,
63
+ "patch_size": 16,
64
+ "stride": 2,
65
+ "torch_dtype": "float32",
66
+ "transformers_version": "4.28.0.dev0"
67
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 64,
4
+ "width": 64
5
+ },
6
+ "do_center_crop": true,
7
+ "do_normalize": true,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "image_mean": [
11
+ 0.485,
12
+ 0.456,
13
+ 0.406
14
+ ],
15
+ "image_processor_type": "LevitImageProcessor",
16
+ "image_std": [
17
+ 0.229,
18
+ 0.224,
19
+ 0.225
20
+ ],
21
+ "resample": 3,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "shortest_edge": 64
25
+ }
26
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f751a228aa815eb296fa46e2c06ff77956f09335e040ac92c501e02dc5c6392f
3
+ size 28282609