Felladrin commited on
Commit
7246f83
·
verified ·
1 Parent(s): ef18e0e

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers.js
3
+ base_model:
4
+ - microsoft/rad-dino
5
+ ---
6
+
7
+ # rad-dino (ONNX)
8
+
9
+ This is an ONNX version of [microsoft/rad-dino](https://huggingface.co/microsoft/rad-dino). 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": "microsoft/rad-dino",
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:d11372c9edef26258392f88d4a1dc8b6dd20b49c22a855dd0e2c127b720e162b
3
+ size 346608174
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85ebe43a645863ba2fec57e12b57131cce2facf96ddd4c3bc8fec58a7b27dfb9
3
+ size 54656496
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddaf983fc9a51bfe54a73410347cea7ada8e2ecc263d8324867d5e0efd5f4fde
3
+ size 175551811
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:927d2240e7d5bf2143c0b8724960162f5c9625b6eed94046a54e8f930e4a06f4
3
+ size 90948899
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d811795c57f724a26180ed348b51c83ba42277c35be9026f6eacdd1164103793
3
+ size 59964384
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7924b64c2a04588374031e55ab6cfe655d1bfd972e9173095b9ee4669b996664
3
+ size 53469014
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24458e472f138f698575e6670d04c8d0798c864aa89123944ed0e01b2bb37ea9
3
+ size 90948899
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24458e472f138f698575e6670d04c8d0798c864aa89123944ed0e01b2bb37ea9
3
+ size 90948899
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 518,
4
+ "width": 518
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.5307,
13
+ 0.5307,
14
+ 0.5307
15
+ ],
16
+ "image_processor_type": "BitImageProcessor",
17
+ "image_std": [
18
+ 0.2583,
19
+ 0.2583,
20
+ 0.2583
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 518
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
+ }