update model
Browse files- dialoggen/openai/clip-vit-large-patch14-336 +0 -1
- dialoggen/openai/clip-vit-large-patch14-336/README.md +50 -0
- dialoggen/openai/clip-vit-large-patch14-336/config.json +179 -0
- dialoggen/openai/clip-vit-large-patch14-336/merges.txt +0 -0
- dialoggen/openai/clip-vit-large-patch14-336/preprocessor_config.json +19 -0
- dialoggen/openai/clip-vit-large-patch14-336/pytorch_model.bin +3 -0
- dialoggen/openai/clip-vit-large-patch14-336/special_tokens_map.json +1 -0
- dialoggen/openai/clip-vit-large-patch14-336/tf_model.h5 +3 -0
- dialoggen/openai/clip-vit-large-patch14-336/tokenizer.json +0 -0
- dialoggen/openai/clip-vit-large-patch14-336/tokenizer_config.json +1 -0
- dialoggen/openai/clip-vit-large-patch14-336/vocab.json +0 -0
dialoggen/openai/clip-vit-large-patch14-336
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
Subproject commit ce19dc912ca5cd21c8a653c79e251e808ccabcd1
|
|
|
|
dialoggen/openai/clip-vit-large-patch14-336/README.md
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_keras_callback
|
4 |
+
widget:
|
5 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/cat-dog-music.png
|
6 |
+
candidate_labels: playing music, playing sports
|
7 |
+
example_title: Cat & Dog
|
8 |
+
model-index:
|
9 |
+
- name: clip-vit-large-patch14-336
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
14 |
+
probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# clip-vit-large-patch14-336
|
17 |
+
|
18 |
+
This model was trained from scratch on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- optimizer: None
|
40 |
+
- training_precision: float32
|
41 |
+
|
42 |
+
### Training results
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
### Framework versions
|
47 |
+
|
48 |
+
- Transformers 4.21.3
|
49 |
+
- TensorFlow 2.8.2
|
50 |
+
- Tokenizers 0.12.1
|
dialoggen/openai/clip-vit-large-patch14-336/config.json
ADDED
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "openai/clip-vit-large-patch14-336",
|
3 |
+
"architectures": [
|
4 |
+
"CLIPModel"
|
5 |
+
],
|
6 |
+
"initializer_factor": 1.0,
|
7 |
+
"logit_scale_init_value": 2.6592,
|
8 |
+
"model_type": "clip",
|
9 |
+
"projection_dim": 768,
|
10 |
+
"text_config": {
|
11 |
+
"_name_or_path": "",
|
12 |
+
"add_cross_attention": false,
|
13 |
+
"architectures": null,
|
14 |
+
"attention_dropout": 0.0,
|
15 |
+
"bad_words_ids": null,
|
16 |
+
"bos_token_id": 0,
|
17 |
+
"chunk_size_feed_forward": 0,
|
18 |
+
"cross_attention_hidden_size": null,
|
19 |
+
"decoder_start_token_id": null,
|
20 |
+
"diversity_penalty": 0.0,
|
21 |
+
"do_sample": false,
|
22 |
+
"dropout": 0.0,
|
23 |
+
"early_stopping": false,
|
24 |
+
"encoder_no_repeat_ngram_size": 0,
|
25 |
+
"eos_token_id": 2,
|
26 |
+
"exponential_decay_length_penalty": null,
|
27 |
+
"finetuning_task": null,
|
28 |
+
"forced_bos_token_id": null,
|
29 |
+
"forced_eos_token_id": null,
|
30 |
+
"hidden_act": "quick_gelu",
|
31 |
+
"hidden_size": 768,
|
32 |
+
"id2label": {
|
33 |
+
"0": "LABEL_0",
|
34 |
+
"1": "LABEL_1"
|
35 |
+
},
|
36 |
+
"initializer_factor": 1.0,
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"intermediate_size": 3072,
|
39 |
+
"is_decoder": false,
|
40 |
+
"is_encoder_decoder": false,
|
41 |
+
"label2id": {
|
42 |
+
"LABEL_0": 0,
|
43 |
+
"LABEL_1": 1
|
44 |
+
},
|
45 |
+
"layer_norm_eps": 1e-05,
|
46 |
+
"length_penalty": 1.0,
|
47 |
+
"max_length": 20,
|
48 |
+
"max_position_embeddings": 77,
|
49 |
+
"min_length": 0,
|
50 |
+
"model_type": "clip_text_model",
|
51 |
+
"no_repeat_ngram_size": 0,
|
52 |
+
"num_attention_heads": 12,
|
53 |
+
"num_beam_groups": 1,
|
54 |
+
"num_beams": 1,
|
55 |
+
"num_hidden_layers": 12,
|
56 |
+
"num_return_sequences": 1,
|
57 |
+
"output_attentions": false,
|
58 |
+
"output_hidden_states": false,
|
59 |
+
"output_scores": false,
|
60 |
+
"pad_token_id": 1,
|
61 |
+
"prefix": null,
|
62 |
+
"problem_type": null,
|
63 |
+
"projection_dim": 768,
|
64 |
+
"pruned_heads": {},
|
65 |
+
"remove_invalid_values": false,
|
66 |
+
"repetition_penalty": 1.0,
|
67 |
+
"return_dict": true,
|
68 |
+
"return_dict_in_generate": false,
|
69 |
+
"sep_token_id": null,
|
70 |
+
"task_specific_params": null,
|
71 |
+
"temperature": 1.0,
|
72 |
+
"tf_legacy_loss": false,
|
73 |
+
"tie_encoder_decoder": false,
|
74 |
+
"tie_word_embeddings": true,
|
75 |
+
"tokenizer_class": null,
|
76 |
+
"top_k": 50,
|
77 |
+
"top_p": 1.0,
|
78 |
+
"torch_dtype": null,
|
79 |
+
"torchscript": false,
|
80 |
+
"transformers_version": "4.21.3",
|
81 |
+
"typical_p": 1.0,
|
82 |
+
"use_bfloat16": false,
|
83 |
+
"vocab_size": 49408
|
84 |
+
},
|
85 |
+
"text_config_dict": {
|
86 |
+
"hidden_size": 768,
|
87 |
+
"intermediate_size": 3072,
|
88 |
+
"num_attention_heads": 12,
|
89 |
+
"num_hidden_layers": 12,
|
90 |
+
"projection_dim": 768
|
91 |
+
},
|
92 |
+
"torch_dtype": "float32",
|
93 |
+
"transformers_version": null,
|
94 |
+
"vision_config": {
|
95 |
+
"_name_or_path": "",
|
96 |
+
"add_cross_attention": false,
|
97 |
+
"architectures": null,
|
98 |
+
"attention_dropout": 0.0,
|
99 |
+
"bad_words_ids": null,
|
100 |
+
"bos_token_id": null,
|
101 |
+
"chunk_size_feed_forward": 0,
|
102 |
+
"cross_attention_hidden_size": null,
|
103 |
+
"decoder_start_token_id": null,
|
104 |
+
"diversity_penalty": 0.0,
|
105 |
+
"do_sample": false,
|
106 |
+
"dropout": 0.0,
|
107 |
+
"early_stopping": false,
|
108 |
+
"encoder_no_repeat_ngram_size": 0,
|
109 |
+
"eos_token_id": null,
|
110 |
+
"exponential_decay_length_penalty": null,
|
111 |
+
"finetuning_task": null,
|
112 |
+
"forced_bos_token_id": null,
|
113 |
+
"forced_eos_token_id": null,
|
114 |
+
"hidden_act": "quick_gelu",
|
115 |
+
"hidden_size": 1024,
|
116 |
+
"id2label": {
|
117 |
+
"0": "LABEL_0",
|
118 |
+
"1": "LABEL_1"
|
119 |
+
},
|
120 |
+
"image_size": 336,
|
121 |
+
"initializer_factor": 1.0,
|
122 |
+
"initializer_range": 0.02,
|
123 |
+
"intermediate_size": 4096,
|
124 |
+
"is_decoder": false,
|
125 |
+
"is_encoder_decoder": false,
|
126 |
+
"label2id": {
|
127 |
+
"LABEL_0": 0,
|
128 |
+
"LABEL_1": 1
|
129 |
+
},
|
130 |
+
"layer_norm_eps": 1e-05,
|
131 |
+
"length_penalty": 1.0,
|
132 |
+
"max_length": 20,
|
133 |
+
"min_length": 0,
|
134 |
+
"model_type": "clip_vision_model",
|
135 |
+
"no_repeat_ngram_size": 0,
|
136 |
+
"num_attention_heads": 16,
|
137 |
+
"num_beam_groups": 1,
|
138 |
+
"num_beams": 1,
|
139 |
+
"num_channels": 3,
|
140 |
+
"num_hidden_layers": 24,
|
141 |
+
"num_return_sequences": 1,
|
142 |
+
"output_attentions": false,
|
143 |
+
"output_hidden_states": false,
|
144 |
+
"output_scores": false,
|
145 |
+
"pad_token_id": null,
|
146 |
+
"patch_size": 14,
|
147 |
+
"prefix": null,
|
148 |
+
"problem_type": null,
|
149 |
+
"projection_dim": 768,
|
150 |
+
"pruned_heads": {},
|
151 |
+
"remove_invalid_values": false,
|
152 |
+
"repetition_penalty": 1.0,
|
153 |
+
"return_dict": true,
|
154 |
+
"return_dict_in_generate": false,
|
155 |
+
"sep_token_id": null,
|
156 |
+
"task_specific_params": null,
|
157 |
+
"temperature": 1.0,
|
158 |
+
"tf_legacy_loss": false,
|
159 |
+
"tie_encoder_decoder": false,
|
160 |
+
"tie_word_embeddings": true,
|
161 |
+
"tokenizer_class": null,
|
162 |
+
"top_k": 50,
|
163 |
+
"top_p": 1.0,
|
164 |
+
"torch_dtype": null,
|
165 |
+
"torchscript": false,
|
166 |
+
"transformers_version": "4.21.3",
|
167 |
+
"typical_p": 1.0,
|
168 |
+
"use_bfloat16": false
|
169 |
+
},
|
170 |
+
"vision_config_dict": {
|
171 |
+
"hidden_size": 1024,
|
172 |
+
"image_size": 336,
|
173 |
+
"intermediate_size": 4096,
|
174 |
+
"num_attention_heads": 16,
|
175 |
+
"num_hidden_layers": 24,
|
176 |
+
"patch_size": 14,
|
177 |
+
"projection_dim": 768
|
178 |
+
}
|
179 |
+
}
|
dialoggen/openai/clip-vit-large-patch14-336/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
dialoggen/openai/clip-vit-large-patch14-336/preprocessor_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": 336,
|
3 |
+
"do_center_crop": true,
|
4 |
+
"do_normalize": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"feature_extractor_type": "CLIPFeatureExtractor",
|
7 |
+
"image_mean": [
|
8 |
+
0.48145466,
|
9 |
+
0.4578275,
|
10 |
+
0.40821073
|
11 |
+
],
|
12 |
+
"image_std": [
|
13 |
+
0.26862954,
|
14 |
+
0.26130258,
|
15 |
+
0.27577711
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"size": 336
|
19 |
+
}
|
dialoggen/openai/clip-vit-large-patch14-336/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6032c2e0caae3dc2d4fba35535fa6307dbb49df59c7e182b1bc4b3329b81801
|
3 |
+
size 1711974081
|
dialoggen/openai/clip-vit-large-patch14-336/special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": {"content": "<|startoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": "<|endoftext|>"}
|
dialoggen/openai/clip-vit-large-patch14-336/tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d12828ca8f0f3c92194f277b7d893da7f2fb7824d0b99dedb305eb48eb46bb7f
|
3 |
+
size 1712454232
|
dialoggen/openai/clip-vit-large-patch14-336/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
dialoggen/openai/clip-vit-large-patch14-336/tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<|startoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": "<|endoftext|>", "add_prefix_space": false, "errors": "replace", "do_lower_case": true, "name_or_path": "openai/clip-vit-base-patch32", "model_max_length": 77, "special_tokens_map_file": "/home/suraj/.cache/huggingface/transformers/18a566598f286c9139f88160c99f84eec492a26bd22738fa9cb44d5b7e0a5c76.cce1206abbad28826f000510f22f354e53e66a97f7c23745a7dfe27609cc07f5", "tokenizer_class": "CLIPTokenizer"}
|
dialoggen/openai/clip-vit-large-patch14-336/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|