AhmedSSoliman commited on
Commit
4725424
1 Parent(s): d97e3b9

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +196 -0
config.json ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./luke-marian-training",
3
+ "architectures": [
4
+ "EncoderDecoderModel"
5
+ ],
6
+ "bos_token_id": 0,
7
+ "decoder": {
8
+ "_name_or_path": "Helsinki-NLP/opus-mt-en-nl",
9
+ "_num_labels": 3,
10
+ "activation_dropout": 0.0,
11
+ "activation_function": "swish",
12
+ "add_bias_logits": false,
13
+ "add_cross_attention": true,
14
+ "add_final_layer_norm": false,
15
+ "architectures": [
16
+ "MarianMTModel"
17
+ ],
18
+ "attention_dropout": 0.0,
19
+ "bad_words_ids": [
20
+ [
21
+ 67027
22
+ ]
23
+ ],
24
+ "bos_token_id": 0,
25
+ "chunk_size_feed_forward": 0,
26
+ "classif_dropout": 0.0,
27
+ "classifier_dropout": 0.0,
28
+ "cross_attention_hidden_size": null,
29
+ "d_model": 512,
30
+ "decoder_attention_heads": 8,
31
+ "decoder_ffn_dim": 2048,
32
+ "decoder_layerdrop": 0.0,
33
+ "decoder_layers": 6,
34
+ "decoder_start_token_id": 67027,
35
+ "decoder_vocab_size": 67028,
36
+ "diversity_penalty": 0.0,
37
+ "do_sample": false,
38
+ "dropout": 0.1,
39
+ "early_stopping": false,
40
+ "encoder_attention_heads": 8,
41
+ "encoder_ffn_dim": 2048,
42
+ "encoder_layerdrop": 0.0,
43
+ "encoder_layers": 6,
44
+ "encoder_no_repeat_ngram_size": 0,
45
+ "eos_token_id": 0,
46
+ "exponential_decay_length_penalty": null,
47
+ "finetuning_task": null,
48
+ "forced_bos_token_id": null,
49
+ "forced_eos_token_id": 0,
50
+ "id2label": {
51
+ "0": "LABEL_0",
52
+ "1": "LABEL_1",
53
+ "2": "LABEL_2"
54
+ },
55
+ "init_std": 0.02,
56
+ "is_decoder": true,
57
+ "is_encoder_decoder": false,
58
+ "label2id": {
59
+ "LABEL_0": 0,
60
+ "LABEL_1": 1,
61
+ "LABEL_2": 2
62
+ },
63
+ "length_penalty": 1.0,
64
+ "max_length": 512,
65
+ "max_position_embeddings": 512,
66
+ "min_length": 0,
67
+ "model_type": "marian",
68
+ "no_repeat_ngram_size": 0,
69
+ "normalize_before": false,
70
+ "normalize_embedding": false,
71
+ "num_beam_groups": 1,
72
+ "num_beams": 4,
73
+ "num_hidden_layers": 6,
74
+ "num_return_sequences": 1,
75
+ "output_attentions": false,
76
+ "output_hidden_states": false,
77
+ "output_scores": false,
78
+ "pad_token_id": 67027,
79
+ "prefix": null,
80
+ "problem_type": null,
81
+ "pruned_heads": {},
82
+ "remove_invalid_values": false,
83
+ "repetition_penalty": 1.0,
84
+ "return_dict": true,
85
+ "return_dict_in_generate": false,
86
+ "scale_embedding": true,
87
+ "sep_token_id": null,
88
+ "share_encoder_decoder_embeddings": true,
89
+ "static_position_embeddings": true,
90
+ "task_specific_params": null,
91
+ "temperature": 1.0,
92
+ "tie_encoder_decoder": false,
93
+ "tie_word_embeddings": true,
94
+ "tokenizer_class": null,
95
+ "top_k": 50,
96
+ "top_p": 1.0,
97
+ "torch_dtype": null,
98
+ "torchscript": false,
99
+ "transformers_version": "4.18.0.dev0",
100
+ "typical_p": 1.0,
101
+ "use_bfloat16": false,
102
+ "use_cache": true,
103
+ "vocab_size": 67028
104
+ },
105
+ "decoder_start_token_id": 0,
106
+ "encoder": {
107
+ "_name_or_path": "studio-ousia/luke-base",
108
+ "add_cross_attention": false,
109
+ "architectures": [
110
+ "LukeModel"
111
+ ],
112
+ "attention_probs_dropout_prob": 0.1,
113
+ "bad_words_ids": null,
114
+ "bert_model_name": "roberta-base",
115
+ "bos_token_id": 0,
116
+ "chunk_size_feed_forward": 0,
117
+ "cross_attention_hidden_size": null,
118
+ "decoder_start_token_id": null,
119
+ "diversity_penalty": 0.0,
120
+ "do_sample": false,
121
+ "early_stopping": false,
122
+ "encoder_no_repeat_ngram_size": 0,
123
+ "entity_emb_size": 256,
124
+ "entity_vocab_size": 500000,
125
+ "eos_token_id": 2,
126
+ "exponential_decay_length_penalty": null,
127
+ "finetuning_task": null,
128
+ "forced_bos_token_id": null,
129
+ "forced_eos_token_id": null,
130
+ "gradient_checkpointing": false,
131
+ "hidden_act": "gelu",
132
+ "hidden_dropout_prob": 0.1,
133
+ "hidden_size": 768,
134
+ "id2label": {
135
+ "0": "LABEL_0",
136
+ "1": "LABEL_1"
137
+ },
138
+ "initializer_range": 0.02,
139
+ "intermediate_size": 3072,
140
+ "is_decoder": false,
141
+ "is_encoder_decoder": false,
142
+ "label2id": {
143
+ "LABEL_0": 0,
144
+ "LABEL_1": 1
145
+ },
146
+ "layer_norm_eps": 1e-05,
147
+ "length_penalty": 1.0,
148
+ "max_length": 20,
149
+ "max_position_embeddings": 514,
150
+ "min_length": 0,
151
+ "model_type": "luke",
152
+ "no_repeat_ngram_size": 0,
153
+ "num_attention_heads": 12,
154
+ "num_beam_groups": 1,
155
+ "num_beams": 1,
156
+ "num_hidden_layers": 6,
157
+ "num_return_sequences": 1,
158
+ "output_attentions": false,
159
+ "output_hidden_states": false,
160
+ "output_past": true,
161
+ "output_scores": false,
162
+ "pad_token_id": 1,
163
+ "position_embedding_type": "absolute",
164
+ "prefix": null,
165
+ "problem_type": null,
166
+ "pruned_heads": {},
167
+ "remove_invalid_values": false,
168
+ "repetition_penalty": 1.0,
169
+ "return_dict": true,
170
+ "return_dict_in_generate": false,
171
+ "sep_token_id": null,
172
+ "task_specific_params": null,
173
+ "temperature": 1.0,
174
+ "tie_encoder_decoder": false,
175
+ "tie_word_embeddings": true,
176
+ "tokenizer_class": null,
177
+ "top_k": 50,
178
+ "top_p": 1.0,
179
+ "torch_dtype": null,
180
+ "torchscript": false,
181
+ "transformers_version": "4.18.0.dev0",
182
+ "type_vocab_size": 1,
183
+ "typical_p": 1.0,
184
+ "use_bfloat16": false,
185
+ "use_cache": true,
186
+ "use_entity_aware_attention": true,
187
+ "vocab_size": 50267
188
+ },
189
+ "eos_token_id": 2,
190
+ "is_encoder_decoder": true,
191
+ "max_length": 512,
192
+ "model_type": "encoder-decoder",
193
+ "pad_token_id": 1,
194
+ "torch_dtype": "float32",
195
+ "transformers_version": null
196
+ }