josh-oo commited on
Commit
1bf3259
1 Parent(s): 4f1357e

Trained with normal text replication (+ bart noise [Multilingual BERT])

Browse files
Files changed (2) hide show
  1. config.json +33 -46
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_commit_hash": null,
3
- "_name_or_path": "finetuned",
4
  "architectures": [
5
  "EncoderDecoderModel"
6
  ],
@@ -100,74 +100,66 @@
100
  },
101
  "decoder_start_token_id": 0,
102
  "encoder": {
103
- "_name_or_path": "facebook/mbart-large-cc25",
104
- "_num_labels": 3,
105
- "activation_dropout": 0.0,
106
- "activation_function": "gelu",
107
- "add_bias_logits": false,
108
  "add_cross_attention": false,
109
- "add_final_layer_norm": true,
110
  "architectures": [
111
- "MBartForConditionalGeneration"
112
  ],
113
- "attention_dropout": 0.0,
114
  "bad_words_ids": null,
115
  "begin_suppress_tokens": null,
116
- "bos_token_id": 0,
117
  "chunk_size_feed_forward": 0,
118
- "classif_dropout": 0.0,
119
- "classifier_dropout": 0.0,
120
  "cross_attention_hidden_size": null,
121
- "d_model": 1024,
122
- "decoder_attention_heads": 16,
123
- "decoder_ffn_dim": 4096,
124
- "decoder_layerdrop": 0.0,
125
- "decoder_layers": 12,
126
  "decoder_start_token_id": null,
 
127
  "diversity_penalty": 0.0,
128
  "do_sample": false,
129
- "dropout": 0.1,
130
  "early_stopping": false,
131
- "encoder_attention_heads": 16,
132
- "encoder_ffn_dim": 4096,
133
- "encoder_layerdrop": 0.0,
134
- "encoder_layers": 12,
135
  "encoder_no_repeat_ngram_size": 0,
136
- "eos_token_id": 2,
137
  "exponential_decay_length_penalty": null,
138
  "finetuning_task": null,
139
  "forced_bos_token_id": null,
140
- "forced_eos_token_id": 2,
 
 
 
141
  "id2label": {
142
  "0": "LABEL_0",
143
- "1": "LABEL_1",
144
- "2": "LABEL_2"
145
  },
146
- "init_std": 0.02,
 
147
  "is_decoder": false,
148
- "is_encoder_decoder": true,
149
  "label2id": {
150
  "LABEL_0": 0,
151
- "LABEL_1": 1,
152
- "LABEL_2": 2
153
  },
 
154
  "length_penalty": 1.0,
155
- "max_length": 1024,
156
- "max_position_embeddings": 1024,
157
  "min_length": 0,
158
- "model_type": "mbart",
159
  "no_repeat_ngram_size": 0,
160
- "normalize_before": true,
161
- "normalize_embedding": true,
162
  "num_beam_groups": 1,
163
- "num_beams": 5,
164
  "num_hidden_layers": 12,
165
  "num_return_sequences": 1,
166
  "output_attentions": false,
167
  "output_hidden_states": false,
168
- "output_past": true,
169
  "output_scores": false,
170
- "pad_token_id": 1,
 
 
 
 
 
 
171
  "prefix": null,
172
  "problem_type": null,
173
  "pruned_heads": {},
@@ -175,15 +167,9 @@
175
  "repetition_penalty": 1.0,
176
  "return_dict": true,
177
  "return_dict_in_generate": false,
178
- "scale_embedding": true,
179
  "sep_token_id": null,
180
- "static_position_embeddings": false,
181
  "suppress_tokens": null,
182
- "task_specific_params": {
183
- "translation_en_to_ro": {
184
- "decoder_start_token_id": 250020
185
- }
186
- },
187
  "temperature": 1.0,
188
  "tf_legacy_loss": false,
189
  "tie_encoder_decoder": false,
@@ -194,10 +180,11 @@
194
  "torch_dtype": null,
195
  "torchscript": false,
196
  "transformers_version": "4.25.1",
 
197
  "typical_p": 1.0,
198
  "use_bfloat16": false,
199
  "use_cache": true,
200
- "vocab_size": 250027
201
  },
202
  "eos_token_id": 2,
203
  "is_encoder_decoder": true,
 
1
  {
2
  "_commit_hash": null,
3
+ "_name_or_path": "calibrated-decoder",
4
  "architectures": [
5
  "EncoderDecoderModel"
6
  ],
 
100
  },
101
  "decoder_start_token_id": 0,
102
  "encoder": {
103
+ "_name_or_path": "bert-base-multilingual-cased",
 
 
 
 
104
  "add_cross_attention": false,
 
105
  "architectures": [
106
+ "BertForMaskedLM"
107
  ],
108
+ "attention_probs_dropout_prob": 0.1,
109
  "bad_words_ids": null,
110
  "begin_suppress_tokens": null,
111
+ "bos_token_id": null,
112
  "chunk_size_feed_forward": 0,
113
+ "classifier_dropout": null,
 
114
  "cross_attention_hidden_size": null,
 
 
 
 
 
115
  "decoder_start_token_id": null,
116
+ "directionality": "bidi",
117
  "diversity_penalty": 0.0,
118
  "do_sample": false,
 
119
  "early_stopping": false,
 
 
 
 
120
  "encoder_no_repeat_ngram_size": 0,
121
+ "eos_token_id": null,
122
  "exponential_decay_length_penalty": null,
123
  "finetuning_task": null,
124
  "forced_bos_token_id": null,
125
+ "forced_eos_token_id": null,
126
+ "hidden_act": "gelu",
127
+ "hidden_dropout_prob": 0.1,
128
+ "hidden_size": 768,
129
  "id2label": {
130
  "0": "LABEL_0",
131
+ "1": "LABEL_1"
 
132
  },
133
+ "initializer_range": 0.02,
134
+ "intermediate_size": 3072,
135
  "is_decoder": false,
136
+ "is_encoder_decoder": false,
137
  "label2id": {
138
  "LABEL_0": 0,
139
+ "LABEL_1": 1
 
140
  },
141
+ "layer_norm_eps": 1e-12,
142
  "length_penalty": 1.0,
143
+ "max_length": 20,
144
+ "max_position_embeddings": 512,
145
  "min_length": 0,
146
+ "model_type": "bert",
147
  "no_repeat_ngram_size": 0,
148
+ "num_attention_heads": 12,
 
149
  "num_beam_groups": 1,
150
+ "num_beams": 1,
151
  "num_hidden_layers": 12,
152
  "num_return_sequences": 1,
153
  "output_attentions": false,
154
  "output_hidden_states": false,
 
155
  "output_scores": false,
156
+ "pad_token_id": 0,
157
+ "pooler_fc_size": 768,
158
+ "pooler_num_attention_heads": 12,
159
+ "pooler_num_fc_layers": 3,
160
+ "pooler_size_per_head": 128,
161
+ "pooler_type": "first_token_transform",
162
+ "position_embedding_type": "absolute",
163
  "prefix": null,
164
  "problem_type": null,
165
  "pruned_heads": {},
 
167
  "repetition_penalty": 1.0,
168
  "return_dict": true,
169
  "return_dict_in_generate": false,
 
170
  "sep_token_id": null,
 
171
  "suppress_tokens": null,
172
+ "task_specific_params": null,
 
 
 
 
173
  "temperature": 1.0,
174
  "tf_legacy_loss": false,
175
  "tie_encoder_decoder": false,
 
180
  "torch_dtype": null,
181
  "torchscript": false,
182
  "transformers_version": "4.25.1",
183
+ "type_vocab_size": 2,
184
  "typical_p": 1.0,
185
  "use_bfloat16": false,
186
  "use_cache": true,
187
+ "vocab_size": 119547
188
  },
189
  "eos_token_id": 2,
190
  "is_encoder_decoder": true,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:df2b107b48308eb2bbc31ee8604579e8c479eab3f188d256d211f29d9117d334
3
- size 639661093
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08bf677a1db9a7596d394f0ae22b06dd3d8055e601b4036c912e1b0a1ef5f34d
3
+ size 636511709