Xenova HF Staff commited on
Commit
a2d176d
·
verified ·
1 Parent(s): a70c62c

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +24 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +23 -0
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-vit",
4
+ "architectures": [
5
+ "ViTForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "encoder_stride": 16,
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
+ "vocab_size": {}
24
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17269810eebaf2a86510b75c4f0e9c3d96ebcc3d8692ea3306ecbb46daf977af
3
+ size 291034
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
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": "ViTFeatureExtractor",
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
+ }