ydshieh HF staff commited on
Commit
5401098
1 Parent(s): 43b6465

Upload tiny models for ViTModel

Browse files
Files changed (4) hide show
  1. config.json +23 -0
  2. preprocessor_config.json +18 -0
  3. pytorch_model.bin +3 -0
  4. tf_model.h5 +3 -0
config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": ".temp/dummy/vit/ViTModel",
3
+ "architectures": [
4
+ "ViTModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
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
+ "layer_norm_eps": 1e-12,
15
+ "model_type": "vit",
16
+ "num_attention_heads": 4,
17
+ "num_channels": 3,
18
+ "num_hidden_layers": 5,
19
+ "patch_size": 2,
20
+ "qkv_bias": true,
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.24.0.dev0"
23
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 30,
3
+ "do_normalize": true,
4
+ "do_resize": true,
5
+ "feature_extractor_type": "ViTFeatureExtractor",
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "size": 30
18
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:953bd47762ae481ab52e0af29c4b529eb2ae46261ba2cd2eb01b458412d11d19
3
+ size 197597
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:945b6d03a0bfe41e43cd0f9d5d9c90f48f56210eb8b801008a03f6c9a5a56348
3
+ size 291152