issam9 commited on
Commit
902abb3
1 Parent(s): b376381
Files changed (2) hide show
  1. config.json +194 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "issam9/DarijaBERT-summarization-goud",
3
+ "architectures": [
4
+ "EncoderDecoderModel"
5
+ ],
6
+ "decoder": {
7
+ "_name_or_path": "Kamel/DarijaBERT",
8
+ "add_cross_attention": true,
9
+ "architectures": [
10
+ "BertForMaskedLM"
11
+ ],
12
+ "attention_probs_dropout_prob": 0.1,
13
+ "bad_words_ids": null,
14
+ "bos_token_id": null,
15
+ "chunk_size_feed_forward": 0,
16
+ "classifier_dropout": null,
17
+ "cls_token": "[CLS]",
18
+ "cross_attention_hidden_size": null,
19
+ "decoder_start_token_id": null,
20
+ "diversity_penalty": 0.0,
21
+ "do_lower_case": true,
22
+ "do_sample": false,
23
+ "early_stopping": false,
24
+ "encoder_no_repeat_ngram_size": 0,
25
+ "eos_token_id": null,
26
+ "exponential_decay_length_penalty": null,
27
+ "finetuning_task": null,
28
+ "forced_bos_token_id": null,
29
+ "forced_eos_token_id": null,
30
+ "gradient_checkpointing": false,
31
+ "hidden_act": "gelu",
32
+ "hidden_dropout_prob": 0.1,
33
+ "hidden_size": 768,
34
+ "id2label": {
35
+ "0": "LABEL_0",
36
+ "1": "LABEL_1"
37
+ },
38
+ "initializer_range": 0.02,
39
+ "intermediate_size": 3072,
40
+ "is_decoder": true,
41
+ "is_encoder_decoder": false,
42
+ "label2id": {
43
+ "LABEL_0": 0,
44
+ "LABEL_1": 1
45
+ },
46
+ "layer_norm_eps": 1e-12,
47
+ "length_penalty": 1.0,
48
+ "mask_token": "[MASK]",
49
+ "max_len": 128,
50
+ "max_length": 20,
51
+ "max_position_embeddings": 512,
52
+ "min_length": 0,
53
+ "model_max_length": 128,
54
+ "model_type": "bert",
55
+ "no_repeat_ngram_size": 0,
56
+ "num_attention_heads": 12,
57
+ "num_beam_groups": 1,
58
+ "num_beams": 1,
59
+ "num_hidden_layers": 12,
60
+ "num_return_sequences": 1,
61
+ "output_attentions": false,
62
+ "output_hidden_states": false,
63
+ "output_scores": false,
64
+ "pad_token": "[PAD]",
65
+ "pad_token_id": 0,
66
+ "position_embedding_type": "absolute",
67
+ "prefix": null,
68
+ "problem_type": null,
69
+ "pruned_heads": {},
70
+ "remove_invalid_values": false,
71
+ "repetition_penalty": 1.0,
72
+ "return_dict": true,
73
+ "return_dict_in_generate": false,
74
+ "sep_token": "[SEP]",
75
+ "sep_token_id": null,
76
+ "task_specific_params": null,
77
+ "temperature": 1.0,
78
+ "tie_encoder_decoder": false,
79
+ "tie_word_embeddings": true,
80
+ "tokenizer_class": null,
81
+ "top_k": 50,
82
+ "top_p": 1.0,
83
+ "torch_dtype": null,
84
+ "torchscript": false,
85
+ "transformers_version": "4.18.0",
86
+ "type_vocab_size": 2,
87
+ "typical_p": 1.0,
88
+ "unk_token": "[UNK]",
89
+ "use_bfloat16": false,
90
+ "use_cache": true,
91
+ "vocab_size": 80000
92
+ },
93
+ "decoder_start_token_id": 2,
94
+ "early_stopping": true,
95
+ "encoder": {
96
+ "_name_or_path": "Kamel/DarijaBERT",
97
+ "add_cross_attention": false,
98
+ "architectures": [
99
+ "BertForMaskedLM"
100
+ ],
101
+ "attention_probs_dropout_prob": 0.1,
102
+ "bad_words_ids": null,
103
+ "bos_token_id": null,
104
+ "chunk_size_feed_forward": 0,
105
+ "classifier_dropout": null,
106
+ "cls_token": "[CLS]",
107
+ "cross_attention_hidden_size": null,
108
+ "decoder_start_token_id": null,
109
+ "diversity_penalty": 0.0,
110
+ "do_lower_case": true,
111
+ "do_sample": false,
112
+ "early_stopping": false,
113
+ "encoder_no_repeat_ngram_size": 0,
114
+ "eos_token_id": null,
115
+ "exponential_decay_length_penalty": null,
116
+ "finetuning_task": null,
117
+ "forced_bos_token_id": null,
118
+ "forced_eos_token_id": null,
119
+ "gradient_checkpointing": false,
120
+ "hidden_act": "gelu",
121
+ "hidden_dropout_prob": 0.1,
122
+ "hidden_size": 768,
123
+ "id2label": {
124
+ "0": "LABEL_0",
125
+ "1": "LABEL_1"
126
+ },
127
+ "initializer_range": 0.02,
128
+ "intermediate_size": 3072,
129
+ "is_decoder": false,
130
+ "is_encoder_decoder": false,
131
+ "label2id": {
132
+ "LABEL_0": 0,
133
+ "LABEL_1": 1
134
+ },
135
+ "layer_norm_eps": 1e-12,
136
+ "length_penalty": 1.0,
137
+ "mask_token": "[MASK]",
138
+ "max_len": 128,
139
+ "max_length": 20,
140
+ "max_position_embeddings": 512,
141
+ "min_length": 0,
142
+ "model_max_length": 128,
143
+ "model_type": "bert",
144
+ "no_repeat_ngram_size": 0,
145
+ "num_attention_heads": 12,
146
+ "num_beam_groups": 1,
147
+ "num_beams": 1,
148
+ "num_hidden_layers": 12,
149
+ "num_return_sequences": 1,
150
+ "output_attentions": false,
151
+ "output_hidden_states": false,
152
+ "output_scores": false,
153
+ "pad_token": "[PAD]",
154
+ "pad_token_id": 0,
155
+ "position_embedding_type": "absolute",
156
+ "prefix": null,
157
+ "problem_type": null,
158
+ "pruned_heads": {},
159
+ "remove_invalid_values": false,
160
+ "repetition_penalty": 1.0,
161
+ "return_dict": true,
162
+ "return_dict_in_generate": false,
163
+ "sep_token": "[SEP]",
164
+ "sep_token_id": null,
165
+ "task_specific_params": null,
166
+ "temperature": 1.0,
167
+ "tie_encoder_decoder": false,
168
+ "tie_word_embeddings": true,
169
+ "tokenizer_class": null,
170
+ "top_k": 50,
171
+ "top_p": 1.0,
172
+ "torch_dtype": null,
173
+ "torchscript": false,
174
+ "transformers_version": "4.18.0",
175
+ "type_vocab_size": 2,
176
+ "typical_p": 1.0,
177
+ "unk_token": "[UNK]",
178
+ "use_bfloat16": false,
179
+ "use_cache": true,
180
+ "vocab_size": 80000
181
+ },
182
+ "eos_token_id": 3,
183
+ "is_encoder_decoder": true,
184
+ "max_length": 32,
185
+ "min_length": 4,
186
+ "model_type": "encoder-decoder",
187
+ "no_repeat_ngram_size": 2,
188
+ "num_beams": 5,
189
+ "pad_token_id": 0,
190
+ "tie_weights": true,
191
+ "torch_dtype": "float32",
192
+ "transformers_version": null,
193
+ "vocab_size": 80000
194
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dd8010ea2d51faee148f818cad253f0c4cfb1ad237ff4fab22c0e3102480c90
3
+ size 1293824555