Xenova HF staff commited on
Commit
db5ab6a
1 Parent(s): bf7931f

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/owlv2-base-patch16",
3
+ "architectures": [
4
+ "Owlv2ForObjectDetection"
5
+ ],
6
+ "initializer_factor": 1.0,
7
+ "logit_scale_init_value": 2.6592,
8
+ "model_type": "owlv2",
9
+ "projection_dim": 512,
10
+ "text_config": {
11
+ "model_type": "owlv2_text_model"
12
+ },
13
+ "transformers_version": "4.37.2",
14
+ "vision_config": {
15
+ "image_size": 960,
16
+ "model_type": "owlv2_vision_model"
17
+ }
18
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26875cf596cdbe97e6fdc13bc325e0c12e2480e555c771e1bb29620b99973438
3
+ size 614400346
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:279a4827037e076fc62cff27c84258cab4562f14512aa2ba30fda8b156451167
3
+ size 155312754
preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_pad": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.48145466,
8
+ 0.4578275,
9
+ 0.40821073
10
+ ],
11
+ "image_processor_type": "Owlv2ImageProcessor",
12
+ "image_std": [
13
+ 0.26862954,
14
+ 0.26130258,
15
+ 0.27577711
16
+ ],
17
+ "processor_class": "Owlv2Processor",
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "height": 960,
22
+ "width": 960
23
+ }
24
+ }
quantize_config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": false,
3
+ "reduce_range": false,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "ReduceSum",
8
+ "Softmax",
9
+ "Div",
10
+ "Einsum",
11
+ "Constant",
12
+ "Cast",
13
+ "Neg",
14
+ "Shape",
15
+ "Reshape",
16
+ "Sqrt",
17
+ "Range",
18
+ "Expand",
19
+ "Abs",
20
+ "Slice",
21
+ "Flatten",
22
+ "Mul",
23
+ "Log",
24
+ "ArgMax",
25
+ "Add",
26
+ "Gather",
27
+ "Elu",
28
+ "ConstantOfShape",
29
+ "Conv",
30
+ "Sigmoid",
31
+ "Reciprocal",
32
+ "ReduceMean",
33
+ "Erf",
34
+ "Transpose",
35
+ "Concat",
36
+ "Greater",
37
+ "Less",
38
+ "Squeeze",
39
+ "Equal",
40
+ "Pow",
41
+ "Sub",
42
+ "MatMul",
43
+ "Unsqueeze",
44
+ "Where"
45
+ ],
46
+ "weight_type": "QUInt8"
47
+ }
48
+ }
49
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "!",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "!",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "49406": {
13
+ "content": "<|startoftext|>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "49407": {
21
+ "content": "<|endoftext|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ }
28
+ },
29
+ "additional_special_tokens": [],
30
+ "bos_token": "<|startoftext|>",
31
+ "clean_up_tokenization_spaces": true,
32
+ "do_lower_case": true,
33
+ "eos_token": "<|endoftext|>",
34
+ "errors": "replace",
35
+ "model_max_length": 16,
36
+ "pad_token": "!",
37
+ "processor_class": "Owlv2Processor",
38
+ "tokenizer_class": "CLIPTokenizer",
39
+ "trust_remote_code": false,
40
+ "unk_token": "<|endoftext|>"
41
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff