Xenova HF staff commited on
Commit
b69829c
1 Parent(s): 8a08b82

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ onnx/model.onnx_data filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/siglip-large-patch16-256",
3
+ "architectures": [
4
+ "SiglipModel"
5
+ ],
6
+ "initializer_factor": 1.0,
7
+ "model_type": "siglip",
8
+ "text_config": {
9
+ "hidden_size": 1024,
10
+ "intermediate_size": 4096,
11
+ "model_type": "siglip_text_model",
12
+ "num_attention_heads": 16,
13
+ "num_hidden_layers": 24
14
+ },
15
+ "transformers_version": "4.37.0.dev0",
16
+ "vision_config": {
17
+ "hidden_size": 1024,
18
+ "image_size": 256,
19
+ "intermediate_size": 4096,
20
+ "model_type": "siglip_vision_model",
21
+ "num_attention_heads": 16,
22
+ "num_hidden_layers": 24
23
+ }
24
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb34349413f30a37f8c7e8fb5424a1af768354e48e5b660e3385b15112dc5acb
3
+ size 1145410
onnx/model.onnx_data ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02b39c33d0cd0642a2b7c78246b509b55659bb7ab24e48d2b4da7240476154b3
3
+ size 2608603136
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:167afac6511e6cb770a8250d40e85c7d3012cb2083dd809a33c2de932b8d5d93
3
+ size 667617329
onnx/text_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43baadea51870eabfa9477dc23963aa4d5527c547169f9355669eff064ccc735
3
+ size 1345265982
onnx/text_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e3a2cea7ef54a9a45505cd2e6528362d033befac4eee726d6385687f78beb4c
3
+ size 339106051
onnx/vision_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6d48a3f044bab5aac54ad9608b81d3e4ee5673a1e485da0f88f6a3348cb79c2
3
+ size 1264358284
onnx/vision_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee8476f5e7565ab8ee31b6ff7c2f6311582cf08157e91c178b3feb58657d874f
3
+ size 328435576
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": 256,
21
+ "width": 256
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
+ "Pow",
8
+ "Div",
9
+ "Add",
10
+ "Constant",
11
+ "MatMul",
12
+ "Tanh",
13
+ "Reshape",
14
+ "Gemm",
15
+ "Shape",
16
+ "Mul",
17
+ "Sqrt",
18
+ "ReduceMean",
19
+ "Transpose",
20
+ "Concat",
21
+ "Unsqueeze",
22
+ "Gather",
23
+ "Cast",
24
+ "Softmax",
25
+ "Sub",
26
+ "Slice"
27
+ ],
28
+ "weight_type": "QInt8"
29
+ },
30
+ "vision_model": {
31
+ "op_types": [
32
+ "Conv",
33
+ "Pow",
34
+ "Mod",
35
+ "Squeeze",
36
+ "Div",
37
+ "Add",
38
+ "Constant",
39
+ "MatMul",
40
+ "Tanh",
41
+ "Reshape",
42
+ "Expand",
43
+ "Gemm",
44
+ "Shape",
45
+ "Tile",
46
+ "ConstantOfShape",
47
+ "Mul",
48
+ "Sqrt",
49
+ "ReduceMean",
50
+ "Transpose",
51
+ "Concat",
52
+ "Unsqueeze",
53
+ "Gather",
54
+ "Cast",
55
+ "Softmax",
56
+ "Sub",
57
+ "Slice"
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
+ }