Copy latest model to repo root
Browse files- config.json +157 -0
- flax_model.msgpack +3 -0
config.json
ADDED
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "dccuchile/bert-base-spanish-wwm-cased",
|
11 |
+
"add_cross_attention": false,
|
12 |
+
"architectures": [
|
13 |
+
"BertForMaskedLM"
|
14 |
+
],
|
15 |
+
"attention_probs_dropout_prob": 0.1,
|
16 |
+
"bad_words_ids": null,
|
17 |
+
"bos_token_id": null,
|
18 |
+
"chunk_size_feed_forward": 0,
|
19 |
+
"decoder_start_token_id": null,
|
20 |
+
"diversity_penalty": 0.0,
|
21 |
+
"do_sample": false,
|
22 |
+
"early_stopping": false,
|
23 |
+
"encoder_no_repeat_ngram_size": 0,
|
24 |
+
"eos_token_id": null,
|
25 |
+
"finetuning_task": null,
|
26 |
+
"forced_bos_token_id": null,
|
27 |
+
"forced_eos_token_id": null,
|
28 |
+
"gradient_checkpointing": false,
|
29 |
+
"hidden_act": "gelu",
|
30 |
+
"hidden_dropout_prob": 0.1,
|
31 |
+
"hidden_size": 768,
|
32 |
+
"id2label": {
|
33 |
+
"0": "LABEL_0",
|
34 |
+
"1": "LABEL_1"
|
35 |
+
},
|
36 |
+
"initializer_range": 0.02,
|
37 |
+
"intermediate_size": 3072,
|
38 |
+
"is_decoder": false,
|
39 |
+
"is_encoder_decoder": false,
|
40 |
+
"label2id": {
|
41 |
+
"LABEL_0": 0,
|
42 |
+
"LABEL_1": 1
|
43 |
+
},
|
44 |
+
"layer_norm_eps": 1e-12,
|
45 |
+
"length_penalty": 1.0,
|
46 |
+
"max_length": 20,
|
47 |
+
"max_position_embeddings": 512,
|
48 |
+
"min_length": 0,
|
49 |
+
"model_type": "bert",
|
50 |
+
"no_repeat_ngram_size": 0,
|
51 |
+
"num_attention_heads": 12,
|
52 |
+
"num_beam_groups": 1,
|
53 |
+
"num_beams": 1,
|
54 |
+
"num_hidden_layers": 12,
|
55 |
+
"num_return_sequences": 1,
|
56 |
+
"output_attentions": false,
|
57 |
+
"output_hidden_states": false,
|
58 |
+
"output_past": true,
|
59 |
+
"output_scores": false,
|
60 |
+
"pad_token_id": 1,
|
61 |
+
"position_embedding_type": "absolute",
|
62 |
+
"prefix": null,
|
63 |
+
"problem_type": null,
|
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 |
+
"tie_encoder_decoder": false,
|
73 |
+
"tie_word_embeddings": true,
|
74 |
+
"tokenizer_class": null,
|
75 |
+
"top_k": 50,
|
76 |
+
"top_p": 1.0,
|
77 |
+
"torch_dtype": null,
|
78 |
+
"torchscript": false,
|
79 |
+
"transformers_version": "4.9.0.dev0",
|
80 |
+
"type_vocab_size": 2,
|
81 |
+
"use_bfloat16": false,
|
82 |
+
"use_cache": true,
|
83 |
+
"vocab_size": 31002
|
84 |
+
},
|
85 |
+
"transformers_version": null,
|
86 |
+
"vision_config": {
|
87 |
+
"_name_or_path": "",
|
88 |
+
"add_cross_attention": false,
|
89 |
+
"architectures": null,
|
90 |
+
"attention_dropout": 0.0,
|
91 |
+
"bad_words_ids": null,
|
92 |
+
"bos_token_id": null,
|
93 |
+
"chunk_size_feed_forward": 0,
|
94 |
+
"decoder_start_token_id": null,
|
95 |
+
"diversity_penalty": 0.0,
|
96 |
+
"do_sample": false,
|
97 |
+
"dropout": 0.0,
|
98 |
+
"early_stopping": false,
|
99 |
+
"encoder_no_repeat_ngram_size": 0,
|
100 |
+
"eos_token_id": null,
|
101 |
+
"finetuning_task": null,
|
102 |
+
"forced_bos_token_id": null,
|
103 |
+
"forced_eos_token_id": null,
|
104 |
+
"gradient_checkpointing": false,
|
105 |
+
"hidden_act": "quick_gelu",
|
106 |
+
"hidden_size": 768,
|
107 |
+
"id2label": {
|
108 |
+
"0": "LABEL_0",
|
109 |
+
"1": "LABEL_1"
|
110 |
+
},
|
111 |
+
"image_size": 224,
|
112 |
+
"initializer_factor": 1.0,
|
113 |
+
"initializer_range": 0.02,
|
114 |
+
"intermediate_size": 3072,
|
115 |
+
"is_decoder": false,
|
116 |
+
"is_encoder_decoder": false,
|
117 |
+
"label2id": {
|
118 |
+
"LABEL_0": 0,
|
119 |
+
"LABEL_1": 1
|
120 |
+
},
|
121 |
+
"layer_norm_eps": 1e-05,
|
122 |
+
"length_penalty": 1.0,
|
123 |
+
"max_length": 20,
|
124 |
+
"min_length": 0,
|
125 |
+
"model_type": "clip_vision_model",
|
126 |
+
"no_repeat_ngram_size": 0,
|
127 |
+
"num_attention_heads": 12,
|
128 |
+
"num_beam_groups": 1,
|
129 |
+
"num_beams": 1,
|
130 |
+
"num_hidden_layers": 12,
|
131 |
+
"num_return_sequences": 1,
|
132 |
+
"output_attentions": false,
|
133 |
+
"output_hidden_states": false,
|
134 |
+
"output_scores": false,
|
135 |
+
"pad_token_id": null,
|
136 |
+
"patch_size": 32,
|
137 |
+
"prefix": null,
|
138 |
+
"problem_type": null,
|
139 |
+
"pruned_heads": {},
|
140 |
+
"remove_invalid_values": false,
|
141 |
+
"repetition_penalty": 1.0,
|
142 |
+
"return_dict": true,
|
143 |
+
"return_dict_in_generate": false,
|
144 |
+
"sep_token_id": null,
|
145 |
+
"task_specific_params": null,
|
146 |
+
"temperature": 1.0,
|
147 |
+
"tie_encoder_decoder": false,
|
148 |
+
"tie_word_embeddings": true,
|
149 |
+
"tokenizer_class": null,
|
150 |
+
"top_k": 50,
|
151 |
+
"top_p": 1.0,
|
152 |
+
"torch_dtype": null,
|
153 |
+
"torchscript": false,
|
154 |
+
"transformers_version": "4.9.0.dev0",
|
155 |
+
"use_bfloat16": false
|
156 |
+
}
|
157 |
+
}
|
flax_model.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f528ad8bfefe1abf023fa9670cee2e2d4ef36c903cb47c4d980b47ad0eb0d04f
|
3 |
+
size 792387416
|