Zero-Shot Image Classification
OpenCLIP
Safetensors
clip
File size: 820 Bytes
968309b
 
 
 
 
 
 
 
 
 
 
dcc2626
 
968309b
 
 
 
 
dcc2626
 
 
968309b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
  "model_cfg": {
    "embed_dim": 1280,
    "vision_cfg": {
      "image_size": 336,
      "layers": 48,
      "width": 1664,
      "head_width": 104,
      "mlp_ratio": 4.9231,
      "patch_size": 14,
      "no_ln_pre": true,
      "pool_type": "avg",
      "final_ln_after_pool": true
    },
    "text_cfg": {
      "context_length": 32,
      "vocab_size": 32000,
      "hf_tokenizer_name": "bert-base-uncased",
      "tokenizer_kwargs": {
          "strip_sep_token": true
      },
      "width": 1280,
      "heads": 20,
      "layers": 32,
      "pool_type": "last",
      "no_causal_mask": true
    }
  },
  "preprocess_cfg": {
    "mean": [
      0.485,
      0.456,
      0.406
    ],
    "std": [
      0.229,
      0.224,
      0.225
    ],
    "interpolation": "bilinear",
    "resize_mode": "squash"
  }
}