Update config
Browse files- .gitattributes +2 -1
- config.json +154 -3
.gitattributes
CHANGED
@@ -16,4 +16,5 @@
|
|
16 |
*.pth filter=lfs diff=lfs merge=lfs -text
|
17 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
18 |
track filter=lfs diff=lfs merge=lfs -text
|
19 |
-
|
|
|
|
16 |
*.pth filter=lfs diff=lfs merge=lfs -text
|
17 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
18 |
track filter=lfs diff=lfs merge=lfs -text
|
19 |
+
data/train_dataset.json filter=lfs diff=lfs merge=lfs -tex
|
20 |
+
data/valid.json filter=lfs diff=lfs merge=lfs -tex
|
config.json
CHANGED
@@ -1,3 +1,154 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"HybridCLIP"
|
4 |
+
],
|
5 |
+
"initializer_factor": 1.0,
|
6 |
+
"model_type": "hybrid-clip",
|
7 |
+
"projection_dim": 512,
|
8 |
+
"seed": 42,
|
9 |
+
"text_config": {
|
10 |
+
"_name_or_path": "",
|
11 |
+
"add_cross_attention": false,
|
12 |
+
"architectures": null,
|
13 |
+
"attention_probs_dropout_prob": 0.1,
|
14 |
+
"bad_words_ids": null,
|
15 |
+
"bos_token_id": null,
|
16 |
+
"chunk_size_feed_forward": 0,
|
17 |
+
"decoder_start_token_id": null,
|
18 |
+
"diversity_penalty": 0.0,
|
19 |
+
"do_sample": false,
|
20 |
+
"early_stopping": false,
|
21 |
+
"encoder_no_repeat_ngram_size": 0,
|
22 |
+
"eos_token_id": null,
|
23 |
+
"finetuning_task": null,
|
24 |
+
"forced_bos_token_id": null,
|
25 |
+
"forced_eos_token_id": null,
|
26 |
+
"gradient_checkpointing": false,
|
27 |
+
"hidden_act": "gelu",
|
28 |
+
"hidden_dropout_prob": 0.1,
|
29 |
+
"hidden_size": 768,
|
30 |
+
"id2label": {
|
31 |
+
"0": "LABEL_0",
|
32 |
+
"1": "LABEL_1"
|
33 |
+
},
|
34 |
+
"initializer_range": 0.02,
|
35 |
+
"intermediate_size": 3072,
|
36 |
+
"is_decoder": false,
|
37 |
+
"is_encoder_decoder": false,
|
38 |
+
"label2id": {
|
39 |
+
"LABEL_0": 0,
|
40 |
+
"LABEL_1": 1
|
41 |
+
},
|
42 |
+
"layer_norm_eps": 1e-12,
|
43 |
+
"length_penalty": 1.0,
|
44 |
+
"max_length": 20,
|
45 |
+
"max_position_embeddings": 512,
|
46 |
+
"min_length": 0,
|
47 |
+
"model_type": "bert",
|
48 |
+
"no_repeat_ngram_size": 0,
|
49 |
+
"num_attention_heads": 12,
|
50 |
+
"num_beam_groups": 1,
|
51 |
+
"num_beams": 1,
|
52 |
+
"num_hidden_layers": 12,
|
53 |
+
"num_return_sequences": 1,
|
54 |
+
"output_attentions": false,
|
55 |
+
"output_hidden_states": false,
|
56 |
+
"output_scores": false,
|
57 |
+
"pad_token_id": 0,
|
58 |
+
"position_embedding_type": "absolute",
|
59 |
+
"prefix": null,
|
60 |
+
"problem_type": null,
|
61 |
+
"pruned_heads": {},
|
62 |
+
"remove_invalid_values": false,
|
63 |
+
"repetition_penalty": 1.0,
|
64 |
+
"return_dict": true,
|
65 |
+
"return_dict_in_generate": false,
|
66 |
+
"sep_token_id": null,
|
67 |
+
"task_specific_params": null,
|
68 |
+
"temperature": 1.0,
|
69 |
+
"tie_encoder_decoder": false,
|
70 |
+
"tie_word_embeddings": true,
|
71 |
+
"tokenizer_class": null,
|
72 |
+
"top_k": 50,
|
73 |
+
"top_p": 1.0,
|
74 |
+
"torch_dtype": null,
|
75 |
+
"torchscript": false,
|
76 |
+
"transformers_version": "4.9.0.dev0",
|
77 |
+
"type_vocab_size": 2,
|
78 |
+
"use_bfloat16": false,
|
79 |
+
"use_cache": true,
|
80 |
+
"vocab_size": 31090
|
81 |
+
},
|
82 |
+
"transformers_version": null,
|
83 |
+
"vision_config": {
|
84 |
+
"_name_or_path": "",
|
85 |
+
"add_cross_attention": false,
|
86 |
+
"architectures": null,
|
87 |
+
"attention_dropout": 0.0,
|
88 |
+
"bad_words_ids": null,
|
89 |
+
"bos_token_id": null,
|
90 |
+
"chunk_size_feed_forward": 0,
|
91 |
+
"decoder_start_token_id": null,
|
92 |
+
"diversity_penalty": 0.0,
|
93 |
+
"do_sample": false,
|
94 |
+
"dropout": 0.0,
|
95 |
+
"early_stopping": false,
|
96 |
+
"encoder_no_repeat_ngram_size": 0,
|
97 |
+
"eos_token_id": null,
|
98 |
+
"finetuning_task": null,
|
99 |
+
"forced_bos_token_id": null,
|
100 |
+
"forced_eos_token_id": null,
|
101 |
+
"gradient_checkpointing": false,
|
102 |
+
"hidden_act": "quick_gelu",
|
103 |
+
"hidden_size": 768,
|
104 |
+
"id2label": {
|
105 |
+
"0": "LABEL_0",
|
106 |
+
"1": "LABEL_1"
|
107 |
+
},
|
108 |
+
"image_size": 224,
|
109 |
+
"initializer_factor": 1.0,
|
110 |
+
"initializer_range": 0.02,
|
111 |
+
"intermediate_size": 3072,
|
112 |
+
"is_decoder": false,
|
113 |
+
"is_encoder_decoder": false,
|
114 |
+
"label2id": {
|
115 |
+
"LABEL_0": 0,
|
116 |
+
"LABEL_1": 1
|
117 |
+
},
|
118 |
+
"layer_norm_eps": 1e-05,
|
119 |
+
"length_penalty": 1.0,
|
120 |
+
"max_length": 20,
|
121 |
+
"min_length": 0,
|
122 |
+
"model_type": "clip_vision_model",
|
123 |
+
"no_repeat_ngram_size": 0,
|
124 |
+
"num_attention_heads": 12,
|
125 |
+
"num_beam_groups": 1,
|
126 |
+
"num_beams": 1,
|
127 |
+
"num_hidden_layers": 12,
|
128 |
+
"num_return_sequences": 1,
|
129 |
+
"output_attentions": false,
|
130 |
+
"output_hidden_states": false,
|
131 |
+
"output_scores": false,
|
132 |
+
"pad_token_id": null,
|
133 |
+
"patch_size": 32,
|
134 |
+
"prefix": null,
|
135 |
+
"problem_type": null,
|
136 |
+
"pruned_heads": {},
|
137 |
+
"remove_invalid_values": false,
|
138 |
+
"repetition_penalty": 1.0,
|
139 |
+
"return_dict": true,
|
140 |
+
"return_dict_in_generate": false,
|
141 |
+
"sep_token_id": null,
|
142 |
+
"task_specific_params": null,
|
143 |
+
"temperature": 1.0,
|
144 |
+
"tie_encoder_decoder": false,
|
145 |
+
"tie_word_embeddings": true,
|
146 |
+
"tokenizer_class": null,
|
147 |
+
"top_k": 50,
|
148 |
+
"top_p": 1.0,
|
149 |
+
"torch_dtype": null,
|
150 |
+
"torchscript": false,
|
151 |
+
"transformers_version": "4.9.0.dev0",
|
152 |
+
"use_bfloat16": false
|
153 |
+
}
|
154 |
+
}
|