ZacLiu commited on
Commit
e32d985
1 Parent(s): 3705fa7

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +182 -26
config.json CHANGED
@@ -1,31 +1,187 @@
1
  {
2
- "_name_or_path": "xlm-roberta-large",
3
  "architectures": [
4
- "RobertaSeriesModelWithTransformation"
5
  ],
6
- "attention_probs_dropout_prob": 0.0,
7
- "bos_token_id": 0,
8
- "classifier_dropout": null,
9
- "eos_token_id": 2,
10
- "hidden_act": "gelu",
11
- "hidden_dropout_prob": 0.0,
12
- "hidden_size": 1024,
13
- "initializer_range": 0.02,
14
- "intermediate_size": 4096,
15
- "layer_norm_eps": 1e-05,
16
- "learn_encoder": false,
17
- "max_position_embeddings": 514,
18
- "model_type": "xlm-roberta",
19
- "num_attention_heads": 16,
20
- "num_hidden_layers": 24,
21
- "output_past": true,
22
- "pad_token_id": 1,
23
- "pooler_fn": "cls",
24
- "position_embedding_type": "absolute",
25
- "project_dim": 768,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  "torch_dtype": "float32",
27
- "transformers_version": "4.24.0",
28
- "type_vocab_size": 1,
29
- "use_cache": true,
30
- "vocab_size": 250002
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  }
 
1
  {
2
+ "_name_or_path": "altclip/",
3
  "architectures": [
4
+ "CLIPModel"
5
  ],
6
+ "direct_kd": false,
7
+ "initializer_factor": 1.0,
8
+ "logit_scale_init_value": 2.6592,
9
+ "model_type": "clip",
10
+ "num_layers": 3,
11
+ "projection_dim": 768,
12
+ "text_config": {
13
+ "_name_or_path": "xlm-roberta-large",
14
+ "add_cross_attention": false,
15
+ "architectures": [
16
+ "XLMRobertaForMaskedLM"
17
+ ],
18
+ "attention_probs_dropout_prob": 0.0,
19
+ "bad_words_ids": null,
20
+ "bos_token_id": 0,
21
+ "chunk_size_feed_forward": 0,
22
+ "classifier_dropout": null,
23
+ "cross_attention_hidden_size": null,
24
+ "decoder_start_token_id": null,
25
+ "diversity_penalty": 0.0,
26
+ "do_sample": false,
27
+ "early_stopping": false,
28
+ "encoder_no_repeat_ngram_size": 0,
29
+ "eos_token_id": 2,
30
+ "exponential_decay_length_penalty": null,
31
+ "finetuning_task": null,
32
+ "forced_bos_token_id": null,
33
+ "forced_eos_token_id": null,
34
+ "hidden_act": "gelu",
35
+ "hidden_dropout_prob": 0.0,
36
+ "hidden_size": 1024,
37
+ "id2label": {
38
+ "0": "LABEL_0",
39
+ "1": "LABEL_1"
40
+ },
41
+ "initializer_range": 0.02,
42
+ "intermediate_size": 4096,
43
+ "is_decoder": false,
44
+ "is_encoder_decoder": false,
45
+ "label2id": {
46
+ "LABEL_0": 0,
47
+ "LABEL_1": 1
48
+ },
49
+ "layer_norm_eps": 1e-05,
50
+ "learn_encoder": false,
51
+ "length_penalty": 1.0,
52
+ "max_length": 20,
53
+ "max_position_embeddings": 514,
54
+ "min_length": 0,
55
+ "model_type": "xlm-roberta",
56
+ "no_repeat_ngram_size": 0,
57
+ "num_attention_heads": 16,
58
+ "num_beam_groups": 1,
59
+ "num_beams": 1,
60
+ "num_hidden_layers": 24,
61
+ "num_return_sequences": 1,
62
+ "output_attentions": false,
63
+ "output_hidden_states": false,
64
+ "output_past": true,
65
+ "output_scores": false,
66
+ "pad_token_id": 1,
67
+ "pooler_fn": "cls",
68
+ "position_embedding_type": "absolute",
69
+ "prefix": null,
70
+ "problem_type": null,
71
+ "project_dim": 768,
72
+ "pruned_heads": {},
73
+ "remove_invalid_values": false,
74
+ "repetition_penalty": 1.0,
75
+ "return_dict": true,
76
+ "return_dict_in_generate": false,
77
+ "sep_token_id": null,
78
+ "task_specific_params": null,
79
+ "temperature": 1.0,
80
+ "tf_legacy_loss": false,
81
+ "tie_encoder_decoder": false,
82
+ "tie_word_embeddings": true,
83
+ "tokenizer_class": null,
84
+ "top_k": 50,
85
+ "top_p": 1.0,
86
+ "torch_dtype": null,
87
+ "torchscript": false,
88
+ "transformers_version": "4.21.1",
89
+ "type_vocab_size": 1,
90
+ "typical_p": 1.0,
91
+ "use_bfloat16": false,
92
+ "use_cache": true,
93
+ "vocab_size": 250002
94
+ },
95
+ "text_config_dict": {
96
+ "hidden_size": 768,
97
+ "intermediate_size": 3072,
98
+ "num_attention_heads": 12,
99
+ "num_hidden_layers": 12
100
+ },
101
+ "text_model_name": null,
102
  "torch_dtype": "float32",
103
+ "transformers_version": null,
104
+ "vision_config": {
105
+ "_name_or_path": "",
106
+ "add_cross_attention": false,
107
+ "architectures": null,
108
+ "attention_dropout": 0.0,
109
+ "bad_words_ids": null,
110
+ "bos_token_id": null,
111
+ "chunk_size_feed_forward": 0,
112
+ "cross_attention_hidden_size": null,
113
+ "decoder_start_token_id": null,
114
+ "diversity_penalty": 0.0,
115
+ "do_sample": false,
116
+ "dropout": 0.0,
117
+ "early_stopping": false,
118
+ "encoder_no_repeat_ngram_size": 0,
119
+ "eos_token_id": null,
120
+ "exponential_decay_length_penalty": null,
121
+ "finetuning_task": null,
122
+ "forced_bos_token_id": null,
123
+ "forced_eos_token_id": null,
124
+ "hidden_act": "quick_gelu",
125
+ "hidden_size": 1024,
126
+ "id2label": {
127
+ "0": "LABEL_0",
128
+ "1": "LABEL_1"
129
+ },
130
+ "image_size": 224,
131
+ "initializer_factor": 1.0,
132
+ "initializer_range": 0.02,
133
+ "intermediate_size": 4096,
134
+ "is_decoder": false,
135
+ "is_encoder_decoder": false,
136
+ "label2id": {
137
+ "LABEL_0": 0,
138
+ "LABEL_1": 1
139
+ },
140
+ "layer_norm_eps": 1e-05,
141
+ "length_penalty": 1.0,
142
+ "max_length": 20,
143
+ "min_length": 0,
144
+ "model_type": "clip_vision_model",
145
+ "no_repeat_ngram_size": 0,
146
+ "num_attention_heads": 16,
147
+ "num_beam_groups": 1,
148
+ "num_beams": 1,
149
+ "num_channels": 3,
150
+ "num_hidden_layers": 24,
151
+ "num_return_sequences": 1,
152
+ "output_attentions": false,
153
+ "output_hidden_states": false,
154
+ "output_scores": false,
155
+ "pad_token_id": null,
156
+ "patch_size": 14,
157
+ "prefix": null,
158
+ "problem_type": null,
159
+ "pruned_heads": {},
160
+ "remove_invalid_values": false,
161
+ "repetition_penalty": 1.0,
162
+ "return_dict": true,
163
+ "return_dict_in_generate": false,
164
+ "sep_token_id": null,
165
+ "task_specific_params": null,
166
+ "temperature": 1.0,
167
+ "tf_legacy_loss": false,
168
+ "tie_encoder_decoder": false,
169
+ "tie_word_embeddings": true,
170
+ "tokenizer_class": null,
171
+ "top_k": 50,
172
+ "top_p": 1.0,
173
+ "torch_dtype": null,
174
+ "torchscript": false,
175
+ "transformers_version": "4.21.1",
176
+ "typical_p": 1.0,
177
+ "use_bfloat16": false
178
+ },
179
+ "vision_config_dict": {
180
+ "hidden_size": 1024,
181
+ "intermediate_size": 4096,
182
+ "num_attention_heads": 16,
183
+ "num_hidden_layers": 24,
184
+ "patch_size": 14
185
+ },
186
+ "vision_model_name": null
187
  }