hf-transformers-bot commited on
Commit
bf739ec
·
verified ·
1 Parent(s): 113bbb0

Update tiny models for DeiTForImageClassificationWithTeacher

Browse files
Files changed (3) hide show
  1. config.json +25 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +27 -0
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DeiTForImageClassificationWithTeacher"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "dtype": "float32",
7
+ "encoder_stride": 2,
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
+ "is_decoder": false,
15
+ "layer_norm_eps": 1e-12,
16
+ "model_type": "deit",
17
+ "num_attention_heads": 4,
18
+ "num_channels": 3,
19
+ "num_hidden_layers": 2,
20
+ "patch_size": 2,
21
+ "pooler_act": "tanh",
22
+ "pooler_output_size": 32,
23
+ "qkv_bias": true,
24
+ "transformers_version": "5.16.0.dev0"
25
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a531f3f5020992c86c0501fac059a774ae546cd6bcda9a61cb5f39379fef7981
3
+ size 90584
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": "DeiTImageProcessor",
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
+ }