AhmedSSoliman commited on
Commit
6c043c1
1 Parent(s): 51eed76

Upload config.json

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