Xenova HF staff commited on
Commit
2c0d8e1
1 Parent(s): d49fa3c

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/siglip-base-patch16-256",
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": 256,
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:2f7ade638319022a4dca834b5ef03427f957cd2fe230d6e180f986804b6ee92c
3
+ size 813338918
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d4762b0ac5fd248597d84860d4761c6c985efe026d9044cd8658b0b5dfb0622
3
+ size 211024001
onnx/text_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9a308fc168506df6b5e0fc829b0bf7b5e40cf65fa25eaff8bb9407a8d59f299
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:a731158aabcc091bc5f0ae0f9d7879243e8e526fe10e018c9d6f834aa93b2d88
3
+ size 111475221
onnx/vision_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:599b3417453ca99f7ec586c19dadfba7088e515c405089ed7e48ee3ce51341c5
3
+ size 372004650
onnx/vision_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b9d2787227f8926e2993672fd15adceb83d33dca5538ecb207a38fb39c3c58e
3
+ size 99545689
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,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "ReduceSum",
8
+ "Tanh",
9
+ "MatMul",
10
+ "Unsqueeze",
11
+ "Constant",
12
+ "Add",
13
+ "Concat",
14
+ "Pow",
15
+ "Mul",
16
+ "Gemm",
17
+ "Slice",
18
+ "Exp",
19
+ "Transpose",
20
+ "Sub",
21
+ "Softmax",
22
+ "Cast",
23
+ "Gather",
24
+ "ReduceMean",
25
+ "Tile",
26
+ "Shape",
27
+ "Div",
28
+ "Conv",
29
+ "Mod",
30
+ "Squeeze",
31
+ "Sqrt",
32
+ "ConstantOfShape",
33
+ "Expand",
34
+ "Abs",
35
+ "Reshape"
36
+ ],
37
+ "weight_type": "QUInt8"
38
+ }
39
+ }
40
+ }
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
+ }