RaymondLi commited on
Commit
f14327e
1 Parent(s): 11a6bb4

update config and model (new modeling)

Browse files
Files changed (2) hide show
  1. config.json +19 -31
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,35 +1,23 @@
1
  {
2
- "activation_function": "gelu",
3
- "architectures": [
4
- "GPTBigCodeLMHeadModel"
5
- ],
6
- "attention_softmax_in_fp32": true,
7
- "attention_window_size": 8192,
8
- "attn_pdrop": 0.1,
9
- "bos_token_id": 0,
10
- "embd_pdrop": 0.1,
11
- "eos_token_id": 0,
12
- "head_groups": 2,
13
- "initializer_range": 0.02,
14
- "layer_norm_epsilon": 1e-05,
15
- "model_type": "gpt_bigcode",
16
- "n_embd": 3072,
17
- "n_head": 24,
18
- "n_inner": 12288,
19
- "n_layer": 30,
20
- "n_positions": 16384,
21
- "resid_pdrop": 0.1,
22
- "rotary_embedding_scale": -13.81551,
23
- "scale_attention_softmax_in_fp32": true,
24
- "scale_attn_weights": true,
25
- "summary_activation": null,
26
- "summary_first_dropout": 0.1,
27
- "summary_proj_to_labels": true,
28
- "summary_type": "cls_index",
29
- "summary_use_proj": true,
30
- "transformers_version": "4.34.1",
31
  "use_cache": true,
32
- "use_position_embeddings": false,
33
- "use_rotary_embeddings": true,
34
  "vocab_size": 49152
35
  }
 
1
  {
2
+ "attention_dropout": 0.0,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "hidden_act": "gelu_pytorch_tanh",
6
+ "hidden_size": 3072,
7
+ "initializer_range": 0.018042,
8
+ "intermediate_size": 12288,
9
+ "max_position_embeddings": 16384,
10
+ "mlp_type": "default",
11
+ "model_type": "starcoder2",
12
+ "norm_epsilon": 1e-05,
13
+ "norm_type": "layer_norm",
14
+ "num_attention_heads": 24,
15
+ "num_hidden_layers": 30,
16
+ "num_key_value_heads": 2,
17
+ "rope_theta": 999999.4420358813,
18
+ "sliding_window": 4096,
19
+ "transformers_version": "4.37.0.dev0",
20
+ "use_bias": true,
 
 
 
 
 
 
 
 
 
 
21
  "use_cache": true,
 
 
22
  "vocab_size": 49152
23
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3147adbbd9adb07a4281b2a4f11e0e33b637a6e4d656f9898168cfdbbfb51518
3
- size 23636934338
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6d17296643c062e7fcd59b4904e3410909292ae042c4c6be9bcdd6430a36080
3
+ size 23731378826