Add model
Browse files- README.md +8 -0
 - merges.txt +0 -0
 - open_clip_config.json +40 -0
 - open_clip_model.safetensors +3 -0
 - open_clip_pytorch_model.bin +3 -0
 - special_tokens_map.json +30 -0
 - tokenizer.json +0 -0
 - tokenizer_config.json +31 -0
 - vocab.json +0 -0
 
    	
        README.md
    ADDED
    
    | 
         @@ -0,0 +1,8 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            ---
         
     | 
| 2 | 
         
            +
            tags:
         
     | 
| 3 | 
         
            +
            - clip
         
     | 
| 4 | 
         
            +
            library_name: open_clip
         
     | 
| 5 | 
         
            +
            pipeline_tag: zero-shot-image-classification
         
     | 
| 6 | 
         
            +
            license: mit
         
     | 
| 7 | 
         
            +
            ---
         
     | 
| 8 | 
         
            +
            # Model card for openMaMMUT-ViT-B-32-pt_DFN2B-ft_DFN512x512-s300M-b73k
         
     | 
    	
        merges.txt
    ADDED
    
    | 
         The diff for this file is too large to render. 
		See raw diff 
     | 
| 
         | 
    	
        open_clip_config.json
    ADDED
    
    | 
         @@ -0,0 +1,40 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "model_cfg": {
         
     | 
| 3 | 
         
            +
                "embed_dim": 512,
         
     | 
| 4 | 
         
            +
                "vision_cfg": {
         
     | 
| 5 | 
         
            +
                  "image_size": 512,
         
     | 
| 6 | 
         
            +
                  "layers": 12,
         
     | 
| 7 | 
         
            +
                  "width": 768,
         
     | 
| 8 | 
         
            +
                  "patch_size": 32,
         
     | 
| 9 | 
         
            +
                  "output_tokens": true,
         
     | 
| 10 | 
         
            +
                  "pool_type": "avg_all",
         
     | 
| 11 | 
         
            +
                  "final_ln_after_pool": true
         
     | 
| 12 | 
         
            +
                },
         
     | 
| 13 | 
         
            +
                "text_cfg": {
         
     | 
| 14 | 
         
            +
                  "context_length": 77,
         
     | 
| 15 | 
         
            +
                  "vocab_size": 49408,
         
     | 
| 16 | 
         
            +
                  "width": 512,
         
     | 
| 17 | 
         
            +
                  "heads": 8,
         
     | 
| 18 | 
         
            +
                  "layers": 12,
         
     | 
| 19 | 
         
            +
                  "output_tokens": true,
         
     | 
| 20 | 
         
            +
                  "cross_attn_ratio": 2,
         
     | 
| 21 | 
         
            +
                  "does_full_decoding": true,
         
     | 
| 22 | 
         
            +
                  "has_mlp": false
         
     | 
| 23 | 
         
            +
                },
         
     | 
| 24 | 
         
            +
                "custom_text": true
         
     | 
| 25 | 
         
            +
              },
         
     | 
| 26 | 
         
            +
              "preprocess_cfg": {
         
     | 
| 27 | 
         
            +
                "mean": [
         
     | 
| 28 | 
         
            +
                  0.48145466,
         
     | 
| 29 | 
         
            +
                  0.4578275,
         
     | 
| 30 | 
         
            +
                  0.40821073
         
     | 
| 31 | 
         
            +
                ],
         
     | 
| 32 | 
         
            +
                "std": [
         
     | 
| 33 | 
         
            +
                  0.26862954,
         
     | 
| 34 | 
         
            +
                  0.26130258,
         
     | 
| 35 | 
         
            +
                  0.27577711
         
     | 
| 36 | 
         
            +
                ],
         
     | 
| 37 | 
         
            +
                "interpolation": "bicubic",
         
     | 
| 38 | 
         
            +
                "resize_mode": "shortest"
         
     | 
| 39 | 
         
            +
              }
         
     | 
| 40 | 
         
            +
            }
         
     | 
    	
        open_clip_model.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:a74a7f27a9f78b5b26565ed7bfc08ad9c42833504d557eefece5a725735b9b7e
         
     | 
| 3 | 
         
            +
            size 732759100
         
     | 
    	
        open_clip_pytorch_model.bin
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:99fc6216ba26e1e273a80d4de7a8b9e271d07ce9b8f35c13dab4ccf612b0ae7f
         
     | 
| 3 | 
         
            +
            size 732853476
         
     | 
    	
        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": "<|endoftext|>",
         
     | 
| 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,31 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "add_prefix_space": false,
         
     | 
| 3 | 
         
            +
              "added_tokens_decoder": {
         
     | 
| 4 | 
         
            +
                "49406": {
         
     | 
| 5 | 
         
            +
                  "content": "<|startoftext|>",
         
     | 
| 6 | 
         
            +
                  "lstrip": false,
         
     | 
| 7 | 
         
            +
                  "normalized": true,
         
     | 
| 8 | 
         
            +
                  "rstrip": false,
         
     | 
| 9 | 
         
            +
                  "single_word": false,
         
     | 
| 10 | 
         
            +
                  "special": true
         
     | 
| 11 | 
         
            +
                },
         
     | 
| 12 | 
         
            +
                "49407": {
         
     | 
| 13 | 
         
            +
                  "content": "<|endoftext|>",
         
     | 
| 14 | 
         
            +
                  "lstrip": false,
         
     | 
| 15 | 
         
            +
                  "normalized": false,
         
     | 
| 16 | 
         
            +
                  "rstrip": false,
         
     | 
| 17 | 
         
            +
                  "single_word": false,
         
     | 
| 18 | 
         
            +
                  "special": true
         
     | 
| 19 | 
         
            +
                }
         
     | 
| 20 | 
         
            +
              },
         
     | 
| 21 | 
         
            +
              "bos_token": "<|startoftext|>",
         
     | 
| 22 | 
         
            +
              "clean_up_tokenization_spaces": false,
         
     | 
| 23 | 
         
            +
              "do_lower_case": true,
         
     | 
| 24 | 
         
            +
              "eos_token": "<|endoftext|>",
         
     | 
| 25 | 
         
            +
              "errors": "replace",
         
     | 
| 26 | 
         
            +
              "extra_special_tokens": {},
         
     | 
| 27 | 
         
            +
              "model_max_length": 77,
         
     | 
| 28 | 
         
            +
              "pad_token": "<|endoftext|>",
         
     | 
| 29 | 
         
            +
              "tokenizer_class": "CLIPTokenizer",
         
     | 
| 30 | 
         
            +
              "unk_token": "<|endoftext|>"
         
     | 
| 31 | 
         
            +
            }
         
     | 
    	
        vocab.json
    ADDED
    
    | 
         The diff for this file is too large to render. 
		See raw diff 
     | 
| 
         |