subbu264 commited on
Commit
05fb136
1 Parent(s): 0192836

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +192 -0
config.json ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "48dd1d613db426104ce52c0bb2dfd19352173fac",
3
+ "_name_or_path": "Salesforce/codet5p-2b",
4
+ "architectures": [
5
+ "CodeT5pEncoderDecoderModel"
6
+ ],
7
+ "auto_map": {
8
+ "AutoConfig": "Salesforce/codet5p-2b--configuration_codet5p.CodeT5pConfig",
9
+ "AutoModel": "Salesforce/codet5p-2b--modeling_codet5p.CodeGenModel",
10
+ "AutoModelForSeq2SeqLM": "Salesforce/codet5p-2b--modeling_codet5p.CodeT5pEncoderDecoderModel"
11
+ },
12
+ "decoder": {
13
+ "_name_or_path": "codet5p-2b-decoder",
14
+ "activation_function": "gelu_new",
15
+ "add_cross_attention": true,
16
+ "architectures": [
17
+ "CodeT5pForCausalLM"
18
+ ],
19
+ "attn_pdrop": 0.0,
20
+ "bad_words_ids": null,
21
+ "begin_suppress_tokens": null,
22
+ "bos_token_id": 1,
23
+ "chunk_size_feed_forward": 0,
24
+ "cross_attention_hidden_size": null,
25
+ "decoder_start_token_id": 50256,
26
+ "diversity_penalty": 0.0,
27
+ "do_sample": false,
28
+ "early_stopping": false,
29
+ "embd_pdrop": 0.0,
30
+ "encoder_no_repeat_ngram_size": 0,
31
+ "eos_token_id": 50256,
32
+ "exponential_decay_length_penalty": null,
33
+ "finetuning_task": null,
34
+ "forced_bos_token_id": null,
35
+ "forced_eos_token_id": null,
36
+ "gradient_checkpointing": false,
37
+ "id2label": {
38
+ "0": "LABEL_0",
39
+ "1": "LABEL_1"
40
+ },
41
+ "initializer_range": 0.02,
42
+ "is_decoder": true,
43
+ "is_encoder_decoder": false,
44
+ "label2id": {
45
+ "LABEL_0": 0,
46
+ "LABEL_1": 1
47
+ },
48
+ "layer_norm_epsilon": 1e-05,
49
+ "length_penalty": 1.0,
50
+ "max_length": 20,
51
+ "min_length": 0,
52
+ "model_type": "codet5p_module",
53
+ "n_ctx": 2048,
54
+ "n_embd": 2560,
55
+ "n_head": 32,
56
+ "n_inner": null,
57
+ "n_layer": 32,
58
+ "n_positions": 2048,
59
+ "no_repeat_ngram_size": 0,
60
+ "num_beam_groups": 1,
61
+ "num_beams": 1,
62
+ "num_return_sequences": 1,
63
+ "output_attentions": false,
64
+ "output_hidden_states": false,
65
+ "output_scores": false,
66
+ "pad_token_id": null,
67
+ "prefix": null,
68
+ "problem_type": null,
69
+ "pruned_heads": {},
70
+ "remove_invalid_values": false,
71
+ "repetition_penalty": 1.0,
72
+ "resid_pdrop": 0.0,
73
+ "return_dict": true,
74
+ "return_dict_in_generate": false,
75
+ "rotary_dim": 64,
76
+ "scale_attn_weights": true,
77
+ "sep_token_id": null,
78
+ "summary_activation": null,
79
+ "summary_first_dropout": 0.1,
80
+ "summary_proj_to_labels": true,
81
+ "summary_type": "cls_index",
82
+ "summary_use_proj": true,
83
+ "suppress_tokens": null,
84
+ "task_specific_params": null,
85
+ "temperature": 1.0,
86
+ "tf_legacy_loss": false,
87
+ "tie_encoder_decoder": false,
88
+ "tie_word_embeddings": false,
89
+ "tokenizer_class": "GPT2Tokenizer",
90
+ "top_k": 50,
91
+ "top_p": 1.0,
92
+ "torch_dtype": "float16",
93
+ "torchscript": false,
94
+ "transformers_version": "4.42.2",
95
+ "typical_p": 1.0,
96
+ "use_bfloat16": false,
97
+ "use_cache": true,
98
+ "vocab_size": 51200
99
+ },
100
+ "encoder": {
101
+ "_name_or_path": "codet5p-350m-encoder",
102
+ "activation_function": "gelu_new",
103
+ "add_cross_attention": false,
104
+ "architectures": [
105
+ "CodeT5pModel"
106
+ ],
107
+ "attn_pdrop": 0.0,
108
+ "bad_words_ids": null,
109
+ "begin_suppress_tokens": null,
110
+ "bos_token_id": 1,
111
+ "chunk_size_feed_forward": 0,
112
+ "cross_attention_hidden_size": null,
113
+ "decoder_start_token_id": 50256,
114
+ "diversity_penalty": 0.0,
115
+ "do_sample": false,
116
+ "early_stopping": false,
117
+ "embd_pdrop": 0.0,
118
+ "encoder_no_repeat_ngram_size": 0,
119
+ "eos_token_id": 50256,
120
+ "exponential_decay_length_penalty": null,
121
+ "finetuning_task": null,
122
+ "forced_bos_token_id": null,
123
+ "forced_eos_token_id": null,
124
+ "gradient_checkpointing": false,
125
+ "id2label": {
126
+ "0": "LABEL_0",
127
+ "1": "LABEL_1"
128
+ },
129
+ "initializer_range": 0.02,
130
+ "is_decoder": false,
131
+ "is_encoder_decoder": false,
132
+ "label2id": {
133
+ "LABEL_0": 0,
134
+ "LABEL_1": 1
135
+ },
136
+ "layer_norm_epsilon": 1e-05,
137
+ "length_penalty": 1.0,
138
+ "max_length": 20,
139
+ "min_length": 0,
140
+ "model_type": "codet5p_module",
141
+ "n_ctx": 2048,
142
+ "n_embd": 1024,
143
+ "n_head": 16,
144
+ "n_inner": null,
145
+ "n_layer": 20,
146
+ "n_positions": 2048,
147
+ "no_repeat_ngram_size": 0,
148
+ "num_beam_groups": 1,
149
+ "num_beams": 1,
150
+ "num_return_sequences": 1,
151
+ "output_attentions": false,
152
+ "output_hidden_states": false,
153
+ "output_scores": false,
154
+ "pad_token_id": null,
155
+ "prefix": null,
156
+ "problem_type": null,
157
+ "pruned_heads": {},
158
+ "remove_invalid_values": false,
159
+ "repetition_penalty": 1.0,
160
+ "resid_pdrop": 0.0,
161
+ "return_dict": true,
162
+ "return_dict_in_generate": false,
163
+ "rotary_dim": 32,
164
+ "scale_attn_weights": true,
165
+ "sep_token_id": null,
166
+ "summary_activation": null,
167
+ "summary_first_dropout": 0.1,
168
+ "summary_proj_to_labels": true,
169
+ "summary_type": "cls_index",
170
+ "summary_use_proj": true,
171
+ "suppress_tokens": null,
172
+ "task_specific_params": null,
173
+ "temperature": 1.0,
174
+ "tf_legacy_loss": false,
175
+ "tie_encoder_decoder": false,
176
+ "tie_word_embeddings": false,
177
+ "tokenizer_class": "GPT2Tokenizer",
178
+ "top_k": 50,
179
+ "top_p": 1.0,
180
+ "torch_dtype": "float16",
181
+ "torchscript": false,
182
+ "transformers_version": "4.42.2",
183
+ "typical_p": 1.0,
184
+ "use_bfloat16": false,
185
+ "use_cache": true,
186
+ "vocab_size": 51200
187
+ },
188
+ "is_encoder_decoder": true,
189
+ "model_type": "codet5p",
190
+ "torch_dtype": "float32",
191
+ "transformers_version": null
192
+ }