hf-transformers-bot commited on
Commit
dbf8d2f
·
1 Parent(s): c07116c

Upload tiny models for Dinov2Backbone

Browse files
Files changed (3) hide show
  1. config.json +38 -0
  2. preprocessor_config.json +27 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_out_features": [
3
+ "stage2"
4
+ ],
5
+ "_out_indices": [
6
+ 2
7
+ ],
8
+ "apply_layernorm": true,
9
+ "architectures": [
10
+ "Dinov2Backbone"
11
+ ],
12
+ "attention_probs_dropout_prob": 0.1,
13
+ "drop_path_rate": 0.0,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.1,
16
+ "hidden_size": 32,
17
+ "image_size": 30,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 37,
20
+ "layer_norm_eps": 1e-06,
21
+ "layerscale_value": 1.0,
22
+ "mlp_ratio": 4,
23
+ "model_type": "dinov2",
24
+ "num_attention_heads": 4,
25
+ "num_channels": 3,
26
+ "num_hidden_layers": 2,
27
+ "patch_size": 2,
28
+ "qkv_bias": true,
29
+ "reshape_hidden_states": true,
30
+ "stage_names": [
31
+ "stem",
32
+ "stage1",
33
+ "stage2"
34
+ ],
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.33.0.dev0",
37
+ "use_swiglu_ffn": false
38
+ }
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_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.48145466,
13
+ 0.4578275,
14
+ 0.40821073
15
+ ],
16
+ "image_processor_type": "BitImageProcessor",
17
+ "image_std": [
18
+ 0.26862954,
19
+ 0.26130258,
20
+ 0.27577711
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 30
26
+ }
27
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebba523462697ec19493ad39886b4aa22bc26ed7b1714093d1e9b635827ede99
3
+ size 146482