ShahafAricha commited on
Commit
c2b7b39
1 Parent(s): d5e1de3

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +184 -0
config.json ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CustomEncoderDecoderModel"
4
+ ],
5
+ "decoder": {
6
+ "_name_or_path": "gpt2",
7
+ "activation_function": "gelu_new",
8
+ "add_cross_attention": true,
9
+ "architectures": [
10
+ "GPT2LMHeadModel"
11
+ ],
12
+ "attn_pdrop": 0.1,
13
+ "bad_words_ids": null,
14
+ "bos_token_id": 50256,
15
+ "chunk_size_feed_forward": 0,
16
+ "cross_attention_hidden_size": null,
17
+ "decoder_start_token_id": null,
18
+ "diversity_penalty": 0.0,
19
+ "do_sample": false,
20
+ "early_stopping": false,
21
+ "embd_pdrop": 0.1,
22
+ "encoder_no_repeat_ngram_size": 0,
23
+ "eos_token_id": 50256,
24
+ "finetuning_task": null,
25
+ "forced_bos_token_id": null,
26
+ "forced_eos_token_id": null,
27
+ "id2label": {
28
+ "0": "LABEL_0",
29
+ "1": "LABEL_1"
30
+ },
31
+ "initializer_range": 0.02,
32
+ "is_decoder": true,
33
+ "is_encoder_decoder": false,
34
+ "label2id": {
35
+ "LABEL_0": 0,
36
+ "LABEL_1": 1
37
+ },
38
+ "layer_norm_epsilon": 1e-05,
39
+ "length_penalty": 1.0,
40
+ "max_length": 20,
41
+ "min_length": 0,
42
+ "model_type": "gpt2",
43
+ "n_ctx": 1024,
44
+ "n_embd": 768,
45
+ "n_head": 12,
46
+ "n_inner": null,
47
+ "n_layer": 12,
48
+ "n_positions": 1024,
49
+ "no_repeat_ngram_size": 0,
50
+ "num_beam_groups": 1,
51
+ "num_beams": 1,
52
+ "num_return_sequences": 1,
53
+ "output_attentions": false,
54
+ "output_hidden_states": false,
55
+ "output_scores": false,
56
+ "pad_token_id": null,
57
+ "prefix": null,
58
+ "problem_type": null,
59
+ "pruned_heads": {},
60
+ "remove_invalid_values": false,
61
+ "reorder_and_upcast_attn": false,
62
+ "repetition_penalty": 1.0,
63
+ "resid_pdrop": 0.1,
64
+ "return_dict": true,
65
+ "return_dict_in_generate": false,
66
+ "scale_attn_by_inverse_layer_idx": false,
67
+ "scale_attn_weights": true,
68
+ "sep_token_id": null,
69
+ "summary_activation": null,
70
+ "summary_first_dropout": 0.1,
71
+ "summary_proj_to_labels": true,
72
+ "summary_type": "cls_index",
73
+ "summary_use_proj": true,
74
+ "task_specific_params": {
75
+ "text-generation": {
76
+ "do_sample": true,
77
+ "max_length": 50
78
+ }
79
+ },
80
+ "temperature": 1.0,
81
+ "tie_encoder_decoder": false,
82
+ "tie_word_embeddings": true,
83
+ "tokenizer_class": null,
84
+ "top_k": 50,
85
+ "top_p": 1.0,
86
+ "torch_dtype": null,
87
+ "torchscript": false,
88
+ "transformers_version": "4.17.0",
89
+ "typical_p": 1.0,
90
+ "use_bfloat16": false,
91
+ "use_cache": false,
92
+ "vocab_size": 50260
93
+ },
94
+ "decoder_start_token_id": 50256,
95
+ "encoder": {
96
+ "_name_or_path": "pretrain/bert_runs/checkpoint-40000",
97
+ "add_cross_attention": false,
98
+ "architectures": [
99
+ "BertForSequenceClassification"
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
+ "cross_attention_hidden_size": null,
107
+ "decoder_start_token_id": null,
108
+ "diversity_penalty": 0.0,
109
+ "do_sample": false,
110
+ "early_stopping": false,
111
+ "encoder_no_repeat_ngram_size": 0,
112
+ "eos_token_id": null,
113
+ "finetuning_task": null,
114
+ "forced_bos_token_id": null,
115
+ "forced_eos_token_id": null,
116
+ "gradient_checkpointing": false,
117
+ "hidden_act": "gelu",
118
+ "hidden_dropout_prob": 0.1,
119
+ "hidden_size": 768,
120
+ "id2label": {
121
+ "0": "LABEL_0",
122
+ "1": "LABEL_1",
123
+ "2": "LABEL_2"
124
+ },
125
+ "initializer_range": 0.02,
126
+ "intermediate_size": 3072,
127
+ "is_decoder": false,
128
+ "is_encoder_decoder": false,
129
+ "label2id": {
130
+ "LABEL_0": 0,
131
+ "LABEL_1": 1,
132
+ "LABEL_2": 2
133
+ },
134
+ "layer_norm_eps": 1e-12,
135
+ "length_penalty": 1.0,
136
+ "max_length": 20,
137
+ "max_position_embeddings": 512,
138
+ "min_length": 0,
139
+ "model_type": "bert",
140
+ "no_repeat_ngram_size": 0,
141
+ "num_attention_heads": 12,
142
+ "num_beam_groups": 1,
143
+ "num_beams": 1,
144
+ "num_hidden_layers": 12,
145
+ "num_return_sequences": 1,
146
+ "output_attentions": false,
147
+ "output_hidden_states": false,
148
+ "output_scores": false,
149
+ "pad_token_id": 0,
150
+ "position_embedding_type": "absolute",
151
+ "prefix": null,
152
+ "problem_type": "single_label_classification",
153
+ "pruned_heads": {},
154
+ "remove_invalid_values": false,
155
+ "repetition_penalty": 1.0,
156
+ "return_dict": true,
157
+ "return_dict_in_generate": false,
158
+ "sep_token_id": null,
159
+ "task_specific_params": null,
160
+ "temperature": 1.0,
161
+ "tie_encoder_decoder": false,
162
+ "tie_word_embeddings": true,
163
+ "tokenizer_class": null,
164
+ "top_k": 50,
165
+ "top_p": 1.0,
166
+ "torch_dtype": "float32",
167
+ "torchscript": false,
168
+ "transformers_version": "4.17.0",
169
+ "type_vocab_size": 2,
170
+ "typical_p": 1.0,
171
+ "use_bfloat16": false,
172
+ "use_cache": true,
173
+ "vocab_size": 30522
174
+ },
175
+ "eos_token_id": 50256,
176
+ "is_encoder_decoder": true,
177
+ "max_length": 142,
178
+ "min_length": 56,
179
+ "model_type": "encoder-decoder",
180
+ "no_repeat_ngram_size": 3,
181
+ "pad_token_id": 50257,
182
+ "torch_dtype": "float32",
183
+ "transformers_version": null
184
+ }