ydshieh HF staff commited on
Commit
c7c2f12
1 Parent(s): 12dbffe

Upload tiny models for ViTMAEModel

Browse files
Files changed (4) hide show
  1. config.json +28 -0
  2. preprocessor_config.json +23 -0
  3. pytorch_model.bin +3 -0
  4. tf_model.h5 +3 -0
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "temp/dummy/vit_mae/ViTMAEModel",
3
+ "architectures": [
4
+ "ViTMAEModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "decoder_hidden_size": 512,
8
+ "decoder_intermediate_size": 2048,
9
+ "decoder_num_attention_heads": 16,
10
+ "decoder_num_hidden_layers": 8,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 32,
14
+ "image_size": 30,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 37,
17
+ "layer_norm_eps": 1e-12,
18
+ "mask_ratio": 0.6,
19
+ "model_type": "vit_mae",
20
+ "norm_pix_loss": false,
21
+ "num_attention_heads": 4,
22
+ "num_channels": 3,
23
+ "num_hidden_layers": 5,
24
+ "patch_size": 2,
25
+ "qkv_bias": true,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.25.0.dev0"
28
+ }
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:d1f20d03c9e6c8dc61a2304b60e4bb5a08989a81bbebfb49bfec27a987873e6c
3
+ size 193843
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ece0ce78180171d41c0bd563d997665eef7dc984e47bbb9df82ff61b17cdef88
3
+ size 284408