Xenova HF Staff commited on
Commit
642050f
·
verified ·
1 Parent(s): 5c39a5e

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +23 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +24 -0
config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-ViTForImageClassification",
4
+ "architectures": [
5
+ "ViTForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "encoder_stride": 2,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 32,
12
+ "image_size": 30,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 37,
15
+ "layer_norm_eps": 1e-12,
16
+ "model_type": "vit",
17
+ "num_attention_heads": 4,
18
+ "num_channels": 3,
19
+ "num_hidden_layers": 5,
20
+ "patch_size": 2,
21
+ "qkv_bias": true,
22
+ "transformers_version": "4.48.2"
23
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01d62eae70ba7d3ef99f88b0e3609c6985ed61390ef40039eb63f25aa1f51cba
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
+ }