Upload folder using huggingface_hub
Browse files- config.json +59 -0
- onnx/model.onnx +3 -0
- onnx/model_bnb4.onnx +3 -0
- onnx/model_fp16.onnx +3 -0
- onnx/model_int8.onnx +3 -0
- onnx/model_q4.onnx +3 -0
- onnx/model_q4f16.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- onnx/model_uint8.onnx +3 -0
- preprocessor_config.json +27 -0
- quantize_config.json +17 -0
config.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/dinov2-large",
|
3 |
+
"apply_layernorm": true,
|
4 |
+
"architectures": [
|
5 |
+
"Dinov2Model"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"drop_path_rate": 0.0,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.0,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"image_size": 518,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"layer_norm_eps": 1e-06,
|
15 |
+
"layerscale_value": 1.0,
|
16 |
+
"mlp_ratio": 4,
|
17 |
+
"model_type": "dinov2",
|
18 |
+
"num_attention_heads": 16,
|
19 |
+
"num_channels": 3,
|
20 |
+
"num_hidden_layers": 24,
|
21 |
+
"out_features": [
|
22 |
+
"stage24"
|
23 |
+
],
|
24 |
+
"out_indices": [
|
25 |
+
24
|
26 |
+
],
|
27 |
+
"patch_size": 14,
|
28 |
+
"qkv_bias": true,
|
29 |
+
"reshape_hidden_states": true,
|
30 |
+
"stage_names": [
|
31 |
+
"stem",
|
32 |
+
"stage1",
|
33 |
+
"stage2",
|
34 |
+
"stage3",
|
35 |
+
"stage4",
|
36 |
+
"stage5",
|
37 |
+
"stage6",
|
38 |
+
"stage7",
|
39 |
+
"stage8",
|
40 |
+
"stage9",
|
41 |
+
"stage10",
|
42 |
+
"stage11",
|
43 |
+
"stage12",
|
44 |
+
"stage13",
|
45 |
+
"stage14",
|
46 |
+
"stage15",
|
47 |
+
"stage16",
|
48 |
+
"stage17",
|
49 |
+
"stage18",
|
50 |
+
"stage19",
|
51 |
+
"stage20",
|
52 |
+
"stage21",
|
53 |
+
"stage22",
|
54 |
+
"stage23",
|
55 |
+
"stage24"
|
56 |
+
],
|
57 |
+
"transformers_version": "4.45.0.dev0",
|
58 |
+
"use_swiglu_ffn": false
|
59 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:305351060a1939d944e2dbe97dd64e4937ce5a220dce254e4cd74c7e4777d6ac
|
3 |
+
size 1218081901
|
onnx/model_bnb4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ea95035544724156c146702636209f955bc270acea526712d784b9cef81efdd
|
3 |
+
size 180014287
|
onnx/model_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b7c36be6c4deee062b08aff382af209da683317d72da61f8b8f0484712855ca7
|
3 |
+
size 609346866
|
onnx/model_int8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:148c5b2d1b4c4313641561be3e32697a501b4ff760784076ca78344488b534eb
|
3 |
+
size 311580425
|
onnx/model_q4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c984e8e061f9c375cd31ba8c90a57c0d7d1de6ed28a68ba619f71cc51c23f5c
|
3 |
+
size 198887479
|
onnx/model_q4f16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e32b02d9ceb3bb64b9772d9bf52efe1049c7a4969b345242dc7ae274dd77a26
|
3 |
+
size 175257852
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d379df2944b13e30642166b04aae12ed96c6fa5d45f5cf757f1b433222a309c
|
3 |
+
size 311580425
|
onnx/model_uint8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d379df2944b13e30642166b04aae12ed96c6fa5d45f5cf757f1b433222a309c
|
3 |
+
size 311580425
|
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,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
}
|