Xenova HF Staff commited on
Commit
3addb6c
·
verified ·
1 Parent(s): 9528f39

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +42 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +27 -0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-Dinov2ForImageClassification",
4
+ "apply_layernorm": true,
5
+ "architectures": [
6
+ "Dinov2ForImageClassification"
7
+ ],
8
+ "attention_probs_dropout_prob": 0.1,
9
+ "drop_path_rate": 0.0,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 32,
13
+ "image_size": 30,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 37,
16
+ "layer_norm_eps": 1e-06,
17
+ "layerscale_value": 1.0,
18
+ "mlp_ratio": 4,
19
+ "model_type": "dinov2",
20
+ "num_attention_heads": 4,
21
+ "num_channels": 3,
22
+ "num_hidden_layers": 5,
23
+ "out_features": [
24
+ "stage5"
25
+ ],
26
+ "out_indices": [
27
+ 5
28
+ ],
29
+ "patch_size": 2,
30
+ "qkv_bias": true,
31
+ "reshape_hidden_states": true,
32
+ "stage_names": [
33
+ "stem",
34
+ "stage1",
35
+ "stage2",
36
+ "stage3",
37
+ "stage4",
38
+ "stage5"
39
+ ],
40
+ "transformers_version": "4.48.2",
41
+ "use_swiglu_ffn": false
42
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90eebb1f6197d0bd98e9c8f656b7b19600c2018bc136dcb5dd2fa6e1313077f0
3
+ size 418015
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
+ }