Xenova HF Staff commited on
Commit
2f26a38
·
verified ·
1 Parent(s): 5e2f90e

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +28 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +24 -0
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-ViTMAEModel",
4
+ "architectures": [
5
+ "ViTMAEModel"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "decoder_hidden_size": 512,
9
+ "decoder_intermediate_size": 2048,
10
+ "decoder_num_attention_heads": 16,
11
+ "decoder_num_hidden_layers": 8,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 32,
15
+ "image_size": 30,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 37,
18
+ "layer_norm_eps": 1e-12,
19
+ "mask_ratio": 0.6,
20
+ "model_type": "vit_mae",
21
+ "norm_pix_loss": false,
22
+ "num_attention_heads": 4,
23
+ "num_channels": 3,
24
+ "num_hidden_layers": 5,
25
+ "patch_size": 2,
26
+ "qkv_bias": true,
27
+ "transformers_version": "4.48.2"
28
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6148a159b7109c14c2278845d237861eac0b824a50c53a4b1e089c4c1c71ad94
3
+ size 287079
preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 30,
3
+ "do_convert_rgb": null,
4
+ "do_normalize": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "ViTFeatureExtractor",
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "height": 30,
22
+ "width": 30
23
+ }
24
+ }