move to native GPTBigCode
#1
by
Vipitis
- opened
- config.json +7 -10
config.json
CHANGED
|
@@ -1,29 +1,26 @@
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "bigcode/santacoder",
|
| 3 |
-
"activation_function": "
|
| 4 |
"architectures": [
|
| 5 |
-
"
|
| 6 |
],
|
| 7 |
-
"
|
|
|
|
| 8 |
"attn_pdrop": 0.1,
|
| 9 |
-
"auto_map": {
|
| 10 |
-
"AutoConfig": "configuration_gpt2_mq.GPT2CustomConfig",
|
| 11 |
-
"AutoModelForCausalLM": "modeling_gpt2_mq.GPT2LMHeadCustomModel"
|
| 12 |
-
},
|
| 13 |
"bos_token_id": 49152,
|
| 14 |
"embd_pdrop": 0.1,
|
| 15 |
"eos_token_id": 49152,
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
"layer_norm_epsilon": 1e-05,
|
| 18 |
-
"model_type": "
|
| 19 |
"n_embd": 2048,
|
| 20 |
"n_head": 16,
|
| 21 |
"n_inner": 8192,
|
| 22 |
"n_layer": 24,
|
| 23 |
"n_positions": 2048,
|
| 24 |
-
"reorder_and_upcast_attn": false,
|
| 25 |
"resid_pdrop": 0.1,
|
| 26 |
-
"
|
|
|
|
| 27 |
"scale_attn_weights": true,
|
| 28 |
"summary_activation": null,
|
| 29 |
"summary_first_dropout": 0.1,
|
|
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "bigcode/santacoder",
|
| 3 |
+
"activation_function": "gelu_pytorch_tanh",
|
| 4 |
"architectures": [
|
| 5 |
+
"GPTBigCodeForCausalLM"
|
| 6 |
],
|
| 7 |
+
"attention_softmax_in_fp32": true,
|
| 8 |
+
"multi_query": true,
|
| 9 |
"attn_pdrop": 0.1,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"bos_token_id": 49152,
|
| 11 |
"embd_pdrop": 0.1,
|
| 12 |
"eos_token_id": 49152,
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
"layer_norm_epsilon": 1e-05,
|
| 15 |
+
"model_type": "gpt_bigcode",
|
| 16 |
"n_embd": 2048,
|
| 17 |
"n_head": 16,
|
| 18 |
"n_inner": 8192,
|
| 19 |
"n_layer": 24,
|
| 20 |
"n_positions": 2048,
|
|
|
|
| 21 |
"resid_pdrop": 0.1,
|
| 22 |
+
"runner_max_sequence_lenght": null,
|
| 23 |
+
"scale_attention_softmax_in_fp32": true,
|
| 24 |
"scale_attn_weights": true,
|
| 25 |
"summary_activation": null,
|
| 26 |
"summary_first_dropout": 0.1,
|