Felladrin commited on
Commit
9a1732c
·
verified ·
1 Parent(s): 29957ee

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers.js
3
+ base_model:
4
+ - facebook/dinov2-base
5
+ ---
6
+
7
+ # dinov2-base (ONNX)
8
+
9
+ This is an ONNX version of [facebook/dinov2-base](https://huggingface.co/facebook/dinov2-base). It was automatically converted and uploaded using [this space](https://huggingface.co/spaces/onnx-community/convert-to-onnx).
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "facebook/dinov2-base",
4
+ "apply_layernorm": true,
5
+ "architectures": [
6
+ "Dinov2Model"
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": 768,
13
+ "image_size": 518,
14
+ "initializer_range": 0.02,
15
+ "layer_norm_eps": 1e-06,
16
+ "layerscale_value": 1.0,
17
+ "mlp_ratio": 4,
18
+ "model_type": "dinov2",
19
+ "num_attention_heads": 12,
20
+ "num_channels": 3,
21
+ "num_hidden_layers": 12,
22
+ "out_features": [
23
+ "stage12"
24
+ ],
25
+ "out_indices": [
26
+ 12
27
+ ],
28
+ "patch_size": 14,
29
+ "qkv_bias": true,
30
+ "reshape_hidden_states": true,
31
+ "stage_names": [
32
+ "stem",
33
+ "stage1",
34
+ "stage2",
35
+ "stage3",
36
+ "stage4",
37
+ "stage5",
38
+ "stage6",
39
+ "stage7",
40
+ "stage8",
41
+ "stage9",
42
+ "stage10",
43
+ "stage11",
44
+ "stage12"
45
+ ],
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.49.0",
48
+ "use_mask_token": true,
49
+ "use_swiglu_ffn": false
50
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f16115e628d65b7cc7b1e16c504e2af682169aabf3fff4edfe906118f522e204
3
+ size 346608174
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47a0b769bb13f55b37d03b4aa9c2abd8185c79d083fa5cc74e30e1156a63745d
3
+ size 54656496
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6409de19d46a799fca715e12abdd5ba680bd4c8a3594b9f83e6aa98fc09e6a96
3
+ size 175551811
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3006646af1ed07acceeefdd701e9be6e46e0b701ac0a1ab8e4ba7260e338302
3
+ size 90948899
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ea55469ed0d3260e2c77e5e40dec0927dd62880f92dcaca7f80a7acfa36a477
3
+ size 59964384
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be70729bf84107a9e572d2d4e8fa9511f475d9155cbc5a0087aae7ea83910dfd
3
+ size 53469014
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:553e226967f5a58344a9f5abbe4355acd8316ea96edff09b1cd478b0831d7ebd
3
+ size 90948899
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:553e226967f5a58344a9f5abbe4355acd8316ea96edff09b1cd478b0831d7ebd
3
+ size 90948899
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
+ }