Xenova HF Staff commited on
Commit
a3f361b
·
verified ·
1 Parent(s): 39dd2a5

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "facebook/dinov2-with-registers-small",
4
+ "apply_layernorm": true,
5
+ "architectures": [
6
+ "Dinov2WithRegistersModel"
7
+ ],
8
+ "attention_probs_dropout_prob": 0.0,
9
+ "drop_path_rate": 0.0,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.0,
12
+ "hidden_size": 384,
13
+ "image_size": 518,
14
+ "initializer_range": 0.02,
15
+ "interpolate_antialias": true,
16
+ "interpolate_offset": 0.0,
17
+ "layer_norm_eps": 1e-06,
18
+ "layerscale_value": 1.0,
19
+ "mlp_ratio": 4,
20
+ "model_type": "dinov2-with-registers-base",
21
+ "num_attention_heads": 6,
22
+ "num_channels": 3,
23
+ "num_hidden_layers": 12,
24
+ "num_register_tokens": 4,
25
+ "out_features": [
26
+ "stage12"
27
+ ],
28
+ "out_indices": [
29
+ 12
30
+ ],
31
+ "patch_size": 14,
32
+ "qkv_bias": true,
33
+ "reshape_hidden_states": true,
34
+ "stage_names": [
35
+ "stem",
36
+ "stage1",
37
+ "stage2",
38
+ "stage3",
39
+ "stage4",
40
+ "stage5",
41
+ "stage6",
42
+ "stage7",
43
+ "stage8",
44
+ "stage9",
45
+ "stage10",
46
+ "stage11",
47
+ "stage12"
48
+ ],
49
+ "transformers_version": "4.48.0.dev0",
50
+ "use_swiglu_ffn": false
51
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:815e440d222e60294bb5b165491c4760e7f08dc7ecd2488a5450e93d50887efe
3
+ size 88522426
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:511c6ec94e51eb0cce8f5d4f961e4396d242143a9e4771877f74d530207063d7
3
+ size 15542885
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e981a38fd9da2ab82ccf16beb1dd715eea61c327446812eb8ec99c328ae8e5e
3
+ size 44407543
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d91d7a3578382f1d67d272f162603a4b5cb1caec05deacb6754fbc064a856d5b
3
+ size 24436194
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00dc262cf9fd66da015681fd8cd8249a4d58123a29d7f1f625a7837314a956e2
3
+ size 16869533
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0476e9b898bb8a1157a9d4f5703f87666677419f479748589863158a1e919864
3
+ size 13894826
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7d5064eb17fd64cc6d1823198939180dd0ee7d274f78a12b9d6463037afacf9
3
+ size 24436194
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7d5064eb17fd64cc6d1823198939180dd0ee7d274f78a12b9d6463037afacf9
3
+ size 24436194
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
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.485,
13
+ 0.456,
14
+ 0.406
15
+ ],
16
+ "image_processor_type": "BitImageProcessor",
17
+ "image_std": [
18
+ 0.229,
19
+ 0.224,
20
+ 0.225
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 256
26
+ }
27
+ }
quantize_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modes": [
3
+ "fp16",
4
+ "q8",
5
+ "int8",
6
+ "uint8",
7
+ "q4",
8
+ "q4f16",
9
+ "bnb4"
10
+ ],
11
+ "per_channel": true,
12
+ "reduce_range": true,
13
+ "block_size": null,
14
+ "is_symmetric": true,
15
+ "accuracy_level": null,
16
+ "quant_type": 1,
17
+ "op_block_list": null
18
+ }