Xenova HF Staff commited on
Commit
af822ce
·
verified ·
1 Parent(s): ffd425c

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 +27 -0
config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-DeiTForImageClassificationWithTeacher",
4
+ "architectures": [
5
+ "DeiTForImageClassificationWithTeacher"
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": "deit",
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:f5e35bc0bdac6ce982a359868ce9b99caafab3260d33d22c133f7e91f4ae22cb
3
+ size 296497
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 30,
4
+ "width": 30
5
+ },
6
+ "do_center_crop": true,
7
+ "do_normalize": true,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "image_mean": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "image_processor_type": "DeiTFeatureExtractor",
16
+ "image_std": [
17
+ 0.5,
18
+ 0.5,
19
+ 0.5
20
+ ],
21
+ "resample": 3,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "height": 30,
25
+ "width": 30
26
+ }
27
+ }