josh-oo commited on
Commit
88b433b
1 Parent(s): 0ac52d9

Intermediate step

Browse files
Files changed (2) hide show
  1. config.json +208 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "architectures": [
4
+ "EncoderDecoderModel"
5
+ ],
6
+ "decoder": {
7
+ "_name_or_path": "josh-oo/german-gpt2-easy",
8
+ "activation_function": "gelu_new",
9
+ "add_cross_attention": true,
10
+ "architectures": [
11
+ "GPT2LMHeadModel"
12
+ ],
13
+ "attn_pdrop": 0.1,
14
+ "bad_words_ids": null,
15
+ "begin_suppress_tokens": null,
16
+ "bos_token_id": 0,
17
+ "chunk_size_feed_forward": 0,
18
+ "cross_attention_hidden_size": null,
19
+ "decoder_start_token_id": null,
20
+ "diversity_penalty": 0.0,
21
+ "do_sample": false,
22
+ "early_stopping": false,
23
+ "embd_pdrop": 0.1,
24
+ "encoder_no_repeat_ngram_size": 0,
25
+ "eos_token_id": 2,
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
+ "id2label": {
32
+ "0": "LABEL_0",
33
+ "1": "LABEL_1"
34
+ },
35
+ "initializer_range": 0.02,
36
+ "is_decoder": true,
37
+ "is_encoder_decoder": false,
38
+ "label2id": {
39
+ "LABEL_0": 0,
40
+ "LABEL_1": 1
41
+ },
42
+ "layer_norm_epsilon": 1e-05,
43
+ "length_penalty": 1.0,
44
+ "max_length": 20,
45
+ "min_length": 0,
46
+ "model_type": "gpt2",
47
+ "n_ctx": 1024,
48
+ "n_embd": 768,
49
+ "n_head": 12,
50
+ "n_inner": null,
51
+ "n_layer": 12,
52
+ "n_positions": 1024,
53
+ "no_repeat_ngram_size": 0,
54
+ "num_beam_groups": 1,
55
+ "num_beams": 1,
56
+ "num_return_sequences": 1,
57
+ "output_attentions": false,
58
+ "output_hidden_states": false,
59
+ "output_scores": false,
60
+ "pad_token_id": 1,
61
+ "prefix": null,
62
+ "problem_type": null,
63
+ "pruned_heads": {},
64
+ "remove_invalid_values": false,
65
+ "reorder_and_upcast_attn": false,
66
+ "repetition_penalty": 1.0,
67
+ "resid_pdrop": 0.1,
68
+ "return_dict": true,
69
+ "return_dict_in_generate": false,
70
+ "scale_attn_by_inverse_layer_idx": false,
71
+ "scale_attn_weights": true,
72
+ "sep_token_id": null,
73
+ "summary_activation": null,
74
+ "summary_first_dropout": 0.1,
75
+ "summary_proj_to_labels": true,
76
+ "summary_type": "cls_index",
77
+ "summary_use_proj": true,
78
+ "suppress_tokens": null,
79
+ "task_specific_params": {
80
+ "text-generation": {
81
+ "do_sample": true,
82
+ "max_length": 50
83
+ }
84
+ },
85
+ "temperature": 1.0,
86
+ "tf_legacy_loss": false,
87
+ "tie_encoder_decoder": false,
88
+ "tie_word_embeddings": true,
89
+ "tokenizer_class": null,
90
+ "top_k": 50,
91
+ "top_p": 1.0,
92
+ "torch_dtype": "float32",
93
+ "torchscript": false,
94
+ "transformers_version": "4.25.1",
95
+ "typical_p": 1.0,
96
+ "use_bfloat16": false,
97
+ "use_cache": true,
98
+ "vocab_size": 50265
99
+ },
100
+ "decoder_start_token_id": 0,
101
+ "encoder": {
102
+ "_name_or_path": "facebook/mbart-large-cc25",
103
+ "_num_labels": 3,
104
+ "activation_dropout": 0.0,
105
+ "activation_function": "gelu",
106
+ "add_bias_logits": false,
107
+ "add_cross_attention": false,
108
+ "add_final_layer_norm": true,
109
+ "architectures": [
110
+ "MBartForConditionalGeneration"
111
+ ],
112
+ "attention_dropout": 0.0,
113
+ "bad_words_ids": null,
114
+ "begin_suppress_tokens": null,
115
+ "bos_token_id": 0,
116
+ "chunk_size_feed_forward": 0,
117
+ "classif_dropout": 0.0,
118
+ "classifier_dropout": 0.0,
119
+ "cross_attention_hidden_size": null,
120
+ "d_model": 1024,
121
+ "decoder_attention_heads": 16,
122
+ "decoder_ffn_dim": 4096,
123
+ "decoder_layerdrop": 0.0,
124
+ "decoder_layers": 12,
125
+ "decoder_start_token_id": null,
126
+ "diversity_penalty": 0.0,
127
+ "do_sample": false,
128
+ "dropout": 0.1,
129
+ "early_stopping": false,
130
+ "encoder_attention_heads": 16,
131
+ "encoder_ffn_dim": 4096,
132
+ "encoder_layerdrop": 0.0,
133
+ "encoder_layers": 12,
134
+ "encoder_no_repeat_ngram_size": 0,
135
+ "eos_token_id": 2,
136
+ "exponential_decay_length_penalty": null,
137
+ "finetuning_task": null,
138
+ "forced_bos_token_id": null,
139
+ "forced_eos_token_id": 2,
140
+ "id2label": {
141
+ "0": "LABEL_0",
142
+ "1": "LABEL_1",
143
+ "2": "LABEL_2"
144
+ },
145
+ "init_std": 0.02,
146
+ "is_decoder": false,
147
+ "is_encoder_decoder": true,
148
+ "label2id": {
149
+ "LABEL_0": 0,
150
+ "LABEL_1": 1,
151
+ "LABEL_2": 2
152
+ },
153
+ "length_penalty": 1.0,
154
+ "max_length": 1024,
155
+ "max_position_embeddings": 1024,
156
+ "min_length": 0,
157
+ "model_type": "mbart",
158
+ "no_repeat_ngram_size": 0,
159
+ "normalize_before": true,
160
+ "normalize_embedding": true,
161
+ "num_beam_groups": 1,
162
+ "num_beams": 5,
163
+ "num_hidden_layers": 12,
164
+ "num_return_sequences": 1,
165
+ "output_attentions": false,
166
+ "output_hidden_states": false,
167
+ "output_past": true,
168
+ "output_scores": false,
169
+ "pad_token_id": 1,
170
+ "prefix": null,
171
+ "problem_type": null,
172
+ "pruned_heads": {},
173
+ "remove_invalid_values": false,
174
+ "repetition_penalty": 1.0,
175
+ "return_dict": true,
176
+ "return_dict_in_generate": false,
177
+ "scale_embedding": true,
178
+ "sep_token_id": null,
179
+ "static_position_embeddings": false,
180
+ "suppress_tokens": null,
181
+ "task_specific_params": {
182
+ "translation_en_to_ro": {
183
+ "decoder_start_token_id": 250020
184
+ }
185
+ },
186
+ "temperature": 1.0,
187
+ "tf_legacy_loss": false,
188
+ "tie_encoder_decoder": false,
189
+ "tie_word_embeddings": true,
190
+ "tokenizer_class": null,
191
+ "top_k": 50,
192
+ "top_p": 1.0,
193
+ "torch_dtype": null,
194
+ "torchscript": false,
195
+ "transformers_version": "4.25.1",
196
+ "typical_p": 1.0,
197
+ "use_bfloat16": false,
198
+ "use_cache": true,
199
+ "vocab_size": 250027
200
+ },
201
+ "eos_token_id": 2,
202
+ "is_encoder_decoder": true,
203
+ "max_length": 1024,
204
+ "model_type": "encoder-decoder",
205
+ "pad_token_id": 1,
206
+ "torch_dtype": "float32",
207
+ "transformers_version": null
208
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:221b5bf4c9c78b3f14f0ec1cb62cdc6c335e9719c7fcc3975e7ee014ea34c8b6
3
+ size 2272679549