Xenova HF staff commited on
Commit
0527a26
1 Parent(s): a74ccb1

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/siglip-base-patch16-512",
3
+ "architectures": [
4
+ "SiglipModel"
5
+ ],
6
+ "initializer_factor": 1.0,
7
+ "model_type": "siglip",
8
+ "text_config": {
9
+ "model_type": "siglip_text_model"
10
+ },
11
+ "transformers_version": "4.37.0.dev0",
12
+ "vision_config": {
13
+ "image_size": 512,
14
+ "model_type": "siglip_vision_model"
15
+ }
16
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a9914c9fb9475eb9c712ab66914753383fe6cf31d96ea28515c4afc8935a0ad
3
+ size 815704360
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:246a3fa6be8c9058f56837a6ce228e6e2e7399dc04caac876498bc9a55390efc
3
+ size 211619969
onnx/text_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b50c8b788c3bae581e091be8ce1ce0a759d6441f6f232e5e50b4d032bd9729c
3
+ size 441332132
onnx/text_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4382445a30e786add98d9ccb601c6cfa89c07bb7e4972767b55a5404c71acc6e
3
+ size 111475220
onnx/vision_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f56c7c48e4a46e9fee040be2764ebd6c9ddaa8fc841b0d88c4bbc2b436713eb0
3
+ size 374370092
onnx/vision_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f11f98b37629e56659ae6ae00a881d0153f4c08368c539f8e3b9dec0f8ae5e1a
3
+ size 100141657
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "SiglipImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "processor_class": "SiglipProcessor",
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 512,
21
+ "width": 512
22
+ }
23
+ }
quantize_config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "text_model": {
6
+ "op_types": [
7
+ "Add",
8
+ "Concat",
9
+ "ReduceMean",
10
+ "Div",
11
+ "MatMul",
12
+ "Reshape",
13
+ "Sub",
14
+ "Cast",
15
+ "Shape",
16
+ "Gather",
17
+ "Mul",
18
+ "Unsqueeze",
19
+ "Sqrt",
20
+ "Constant",
21
+ "Tanh",
22
+ "Gemm",
23
+ "Transpose",
24
+ "Slice",
25
+ "Softmax",
26
+ "Pow"
27
+ ],
28
+ "weight_type": "QInt8"
29
+ },
30
+ "vision_model": {
31
+ "op_types": [
32
+ "Add",
33
+ "Concat",
34
+ "ReduceMean",
35
+ "Div",
36
+ "Tile",
37
+ "MatMul",
38
+ "ConstantOfShape",
39
+ "Reshape",
40
+ "Sub",
41
+ "Mod",
42
+ "Cast",
43
+ "Shape",
44
+ "Gather",
45
+ "Mul",
46
+ "Unsqueeze",
47
+ "Sqrt",
48
+ "Squeeze",
49
+ "Constant",
50
+ "Expand",
51
+ "Tanh",
52
+ "Gemm",
53
+ "Transpose",
54
+ "Slice",
55
+ "Softmax",
56
+ "Pow",
57
+ "Conv"
58
+ ],
59
+ "weight_type": "QUInt8"
60
+ }
61
+ }
62
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eos_token": {
3
+ "content": "</s>",
4
+ "lstrip": true,
5
+ "normalized": false,
6
+ "rstrip": true,
7
+ "single_word": false
8
+ },
9
+ "pad_token": {
10
+ "content": "</s>",
11
+ "lstrip": true,
12
+ "normalized": false,
13
+ "rstrip": true,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<unk>",
18
+ "lstrip": true,
19
+ "normalized": false,
20
+ "rstrip": true,
21
+ "single_word": false
22
+ }
23
+ }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e5036bed065526c3c212dfbe288752391797c4bb1a284aa18c9a0b23fcaf8ec
3
+ size 798330
tokenizer_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "1": {
4
+ "content": "</s>",
5
+ "lstrip": true,
6
+ "normalized": false,
7
+ "rstrip": true,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "2": {
12
+ "content": "<unk>",
13
+ "lstrip": true,
14
+ "normalized": false,
15
+ "rstrip": true,
16
+ "single_word": false,
17
+ "special": true
18
+ }
19
+ },
20
+ "additional_special_tokens": [],
21
+ "clean_up_tokenization_spaces": true,
22
+ "do_lower_case": true,
23
+ "eos_token": "</s>",
24
+ "model_input_names": [
25
+ "input_ids"
26
+ ],
27
+ "model_max_length": 64,
28
+ "pad_token": "</s>",
29
+ "processor_class": "SiglipProcessor",
30
+ "sp_model_kwargs": {},
31
+ "tokenizer_class": "SiglipTokenizer",
32
+ "trust_remote_code": false,
33
+ "unk_token": "<unk>"
34
+ }