Upload folder using huggingface_hub
Browse files- config.json +25 -0
- merges.txt +0 -0
- onnx/model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- preprocessor_config.json +30 -0
- quantize_config.json +49 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer_config.json +40 -0
- vocab.json +0 -0
    	
        config.json
    ADDED
    
    | @@ -0,0 +1,25 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "_name_or_path": "google/owlvit-base-patch32",
         | 
| 3 | 
            +
              "architectures": [
         | 
| 4 | 
            +
                "OwlViTForObjectDetection"
         | 
| 5 | 
            +
              ],
         | 
| 6 | 
            +
              "initializer_factor": 1.0,
         | 
| 7 | 
            +
              "logit_scale_init_value": 2.6592,
         | 
| 8 | 
            +
              "model_type": "owlvit",
         | 
| 9 | 
            +
              "projection_dim": 512,
         | 
| 10 | 
            +
              "text_config": {
         | 
| 11 | 
            +
                "bos_token_id": 0,
         | 
| 12 | 
            +
                "dropout": 0.0,
         | 
| 13 | 
            +
                "eos_token_id": 2,
         | 
| 14 | 
            +
                "max_length": 16,
         | 
| 15 | 
            +
                "model_type": "owlvit_text_model",
         | 
| 16 | 
            +
                "pad_token_id": 1
         | 
| 17 | 
            +
              },
         | 
| 18 | 
            +
              "text_config_dict": null,
         | 
| 19 | 
            +
              "transformers_version": "4.36.0.dev0",
         | 
| 20 | 
            +
              "vision_config": {
         | 
| 21 | 
            +
                "dropout": 0.0,
         | 
| 22 | 
            +
                "model_type": "owlvit_vision_model"
         | 
| 23 | 
            +
              },
         | 
| 24 | 
            +
              "vision_config_dict": null
         | 
| 25 | 
            +
            }
         | 
    	
        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:d4c23b7c559ccfa10dab4894a971997cbc7f0a2102326e26e2a70dde37958ffa
         | 
| 3 | 
            +
            size 612150529
         | 
    	
        onnx/model_quantized.onnx
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:2a51b7d3180ddce982bc208e629ebd2537745368feb6c0113959f68e509c99bb
         | 
| 3 | 
            +
            size 155431700
         | 
    	
        preprocessor_config.json
    ADDED
    
    | @@ -0,0 +1,30 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "crop_size": {
         | 
| 3 | 
            +
                "height": 768,
         | 
| 4 | 
            +
                "width": 768
         | 
| 5 | 
            +
              },
         | 
| 6 | 
            +
              "do_center_crop": false,
         | 
| 7 | 
            +
              "do_convert_rgb": true,
         | 
| 8 | 
            +
              "do_normalize": true,
         | 
| 9 | 
            +
              "do_rescale": true,
         | 
| 10 | 
            +
              "do_resize": true,
         | 
| 11 | 
            +
              "feature_extractor_type": "OwlViTFeatureExtractor",
         | 
| 12 | 
            +
              "image_mean": [
         | 
| 13 | 
            +
                0.48145466,
         | 
| 14 | 
            +
                0.4578275,
         | 
| 15 | 
            +
                0.40821073
         | 
| 16 | 
            +
              ],
         | 
| 17 | 
            +
              "image_processor_type": "OwlViTFeatureExtractor",
         | 
| 18 | 
            +
              "image_std": [
         | 
| 19 | 
            +
                0.26862954,
         | 
| 20 | 
            +
                0.26130258,
         | 
| 21 | 
            +
                0.27577711
         | 
| 22 | 
            +
              ],
         | 
| 23 | 
            +
              "processor_class": "OwlViTProcessor",
         | 
| 24 | 
            +
              "resample": 3,
         | 
| 25 | 
            +
              "rescale_factor": 0.00392156862745098,
         | 
| 26 | 
            +
              "size": {
         | 
| 27 | 
            +
                "height": 768,
         | 
| 28 | 
            +
                "width": 768
         | 
| 29 | 
            +
              }
         | 
| 30 | 
            +
            }
         | 
    	
        quantize_config.json
    ADDED
    
    | @@ -0,0 +1,49 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
                "per_channel": true,
         | 
| 3 | 
            +
                "reduce_range": true,
         | 
| 4 | 
            +
                "per_model_config": {
         | 
| 5 | 
            +
                    "model": {
         | 
| 6 | 
            +
                        "op_types": [
         | 
| 7 | 
            +
                            "Where",
         | 
| 8 | 
            +
                            "Expand",
         | 
| 9 | 
            +
                            "Pow",
         | 
| 10 | 
            +
                            "Range",
         | 
| 11 | 
            +
                            "Log",
         | 
| 12 | 
            +
                            "Reciprocal",
         | 
| 13 | 
            +
                            "ConstantOfShape",
         | 
| 14 | 
            +
                            "Squeeze",
         | 
| 15 | 
            +
                            "Add",
         | 
| 16 | 
            +
                            "Reshape",
         | 
| 17 | 
            +
                            "Sqrt",
         | 
| 18 | 
            +
                            "MatMul",
         | 
| 19 | 
            +
                            "ReduceSum",
         | 
| 20 | 
            +
                            "Einsum",
         | 
| 21 | 
            +
                            "Slice",
         | 
| 22 | 
            +
                            "Gather",
         | 
| 23 | 
            +
                            "Div",
         | 
| 24 | 
            +
                            "Cast",
         | 
| 25 | 
            +
                            "Transpose",
         | 
| 26 | 
            +
                            "Sigmoid",
         | 
| 27 | 
            +
                            "Elu",
         | 
| 28 | 
            +
                            "Greater",
         | 
| 29 | 
            +
                            "Flatten",
         | 
| 30 | 
            +
                            "Unsqueeze",
         | 
| 31 | 
            +
                            "Less",
         | 
| 32 | 
            +
                            "Shape",
         | 
| 33 | 
            +
                            "ArgMax",
         | 
| 34 | 
            +
                            "Constant",
         | 
| 35 | 
            +
                            "ReduceMean",
         | 
| 36 | 
            +
                            "Mul",
         | 
| 37 | 
            +
                            "Equal",
         | 
| 38 | 
            +
                            "Softmax",
         | 
| 39 | 
            +
                            "Erf",
         | 
| 40 | 
            +
                            "Neg",
         | 
| 41 | 
            +
                            "Abs",
         | 
| 42 | 
            +
                            "Concat",
         | 
| 43 | 
            +
                            "Conv",
         | 
| 44 | 
            +
                            "Sub"
         | 
| 45 | 
            +
                        ],
         | 
| 46 | 
            +
                        "weight_type": "QUInt8"
         | 
| 47 | 
            +
                    }
         | 
| 48 | 
            +
                }
         | 
| 49 | 
            +
            }
         | 
    	
        special_tokens_map.json
    ADDED
    
    | @@ -0,0 +1,24 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 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": true,
         | 
| 13 | 
            +
                "rstrip": false,
         | 
| 14 | 
            +
                "single_word": false
         | 
| 15 | 
            +
              },
         | 
| 16 | 
            +
              "pad_token": "!",
         | 
| 17 | 
            +
              "unk_token": {
         | 
| 18 | 
            +
                "content": "<|endoftext|>",
         | 
| 19 | 
            +
                "lstrip": false,
         | 
| 20 | 
            +
                "normalized": true,
         | 
| 21 | 
            +
                "rstrip": false,
         | 
| 22 | 
            +
                "single_word": false
         | 
| 23 | 
            +
              }
         | 
| 24 | 
            +
            }
         | 
    	
        tokenizer.json
    ADDED
    
    | The diff for this file is too large to render. 
		See raw diff | 
|  | 
    	
        tokenizer_config.json
    ADDED
    
    | @@ -0,0 +1,40 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 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": true,
         | 
| 24 | 
            +
                  "rstrip": false,
         | 
| 25 | 
            +
                  "single_word": false,
         | 
| 26 | 
            +
                  "special": true
         | 
| 27 | 
            +
                }
         | 
| 28 | 
            +
              },
         | 
| 29 | 
            +
              "bos_token": "<|startoftext|>",
         | 
| 30 | 
            +
              "clean_up_tokenization_spaces": true,
         | 
| 31 | 
            +
              "do_lower_case": true,
         | 
| 32 | 
            +
              "eos_token": "<|endoftext|>",
         | 
| 33 | 
            +
              "errors": "replace",
         | 
| 34 | 
            +
              "model_max_length": 16,
         | 
| 35 | 
            +
              "pad_token": "!",
         | 
| 36 | 
            +
              "processor_class": "OwlViTProcessor",
         | 
| 37 | 
            +
              "tokenizer_class": "CLIPTokenizer",
         | 
| 38 | 
            +
              "trust_remote_code": false,
         | 
| 39 | 
            +
              "unk_token": "<|endoftext|>"
         | 
| 40 | 
            +
            }
         | 
    	
        vocab.json
    ADDED
    
    | The diff for this file is too large to render. 
		See raw diff | 
|  | 
