slightlycodic commited on
Commit
3a48524
·
verified ·
1 Parent(s): fba49d5

Upload from Colab

Browse files
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CLIPModel"
4
+ ],
5
+ "initializer_factor": 1.0,
6
+ "logit_scale_init_value": 2.6592,
7
+ "model_type": "clip",
8
+ "projection_dim": 512,
9
+ "text_config": {
10
+ "attention_dropout": 0.0,
11
+ "dropout": 0.0,
12
+ "hidden_act": "gelu",
13
+ "hidden_size": 256,
14
+ "initializer_factor": 1.0,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 1024,
17
+ "layer_norm_eps": 1e-05,
18
+ "max_position_embeddings": 77,
19
+ "model_type": "clip_text_model",
20
+ "num_attention_heads": 4,
21
+ "num_hidden_layers": 3,
22
+ "projection_dim": 512,
23
+ "torch_dtype": "float32",
24
+ "vocab_size": 49408
25
+ },
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.54.0",
28
+ "vision_config": {
29
+ "attention_dropout": 0.0,
30
+ "dropout": 0.0,
31
+ "hidden_act": "gelu",
32
+ "hidden_size": 256,
33
+ "image_size": 224,
34
+ "initializer_factor": 1.0,
35
+ "initializer_range": 0.02,
36
+ "intermediate_size": 1024,
37
+ "layer_norm_eps": 1e-05,
38
+ "model_type": "clip_vision_model",
39
+ "num_attention_heads": 4,
40
+ "num_channels": 3,
41
+ "num_hidden_layers": 10,
42
+ "patch_size": 16,
43
+ "projection_dim": 512,
44
+ "torch_dtype": "float32"
45
+ }
46
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29f608c1cf09f07609d21944b2cece7fd7256f44686c43db9a4518636f45c7ba
3
+ size 93810076
preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.48145466,
13
+ 0.4578275,
14
+ 0.40821073
15
+ ],
16
+ "image_processor_type": "CLIPImageProcessor",
17
+ "image_std": [
18
+ 0.26862954,
19
+ 0.26130258,
20
+ 0.27577711
21
+ ],
22
+ "processor_class": "CLIPProcessor",
23
+ "resample": 3,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "shortest_edge": 224
27
+ }
28
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|startoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": "<|endoftext|>",
5
+ "unk_token": "<|endoftext|>"
6
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "49406": {
4
+ "content": "<|startoftext|>",
5
+ "lstrip": false,
6
+ "normalized": true,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "49407": {
12
+ "content": "<|endoftext|>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ }
19
+ },
20
+ "bos_token": "<|startoftext|>",
21
+ "clean_up_tokenization_spaces": false,
22
+ "eos_token": "<|endoftext|>",
23
+ "extra_special_tokens": {},
24
+ "model_max_length": 1000000000000000019884624838656,
25
+ "pad_token": "<|endoftext|>",
26
+ "processor_class": "CLIPProcessor",
27
+ "tokenizer_class": "CLIPTokenizer",
28
+ "unk_token": "<|endoftext|>"
29
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff