Xenova HF Staff commited on
Commit
b448783
·
verified ·
1 Parent(s): 942c678

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +22 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +24 -0
config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-ViTMSNForImageClassification",
4
+ "architectures": [
5
+ "ViTMSNForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
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-06,
15
+ "model_type": "vit_msn",
16
+ "num_attention_heads": 4,
17
+ "num_channels": 3,
18
+ "num_hidden_layers": 5,
19
+ "patch_size": 2,
20
+ "qkv_bias": true,
21
+ "transformers_version": "4.48.2"
22
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:575ade12e35eea8deb8a936f5124e3228b6979890a6de91c2a2c39a95de94a05
3
+ size 291034
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
+ }