PoungPoung commited on
Commit
db157f8
·
1 Parent(s): ffa493f

Upload GPTNeoXForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +18 -36
  2. generation_config.json +2 -2
  3. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,47 +1,29 @@
1
  {
2
  "_name_or_path": "here_merged",
3
- "activation_function": "gelu_new",
4
  "architectures": [
5
- "GPTNeoForCausalLM"
6
  ],
7
- "attention_dropout": 0,
8
- "attention_layers": [
9
- "global",
10
- "local",
11
- "global",
12
- "local"
13
- ],
14
- "attention_types": [
15
- [
16
- [
17
- "global",
18
- "local"
19
- ],
20
- 2
21
- ]
22
- ],
23
- "bos_token_id": 50256,
24
  "classifier_dropout": 0.1,
25
- "embed_dropout": 0,
26
- "eos_token_id": 50256,
27
- "gradient_checkpointing": false,
28
- "hidden_size": 768,
29
  "initializer_range": 0.02,
30
- "intermediate_size": null,
31
- "layer_norm_epsilon": 1e-05,
32
  "max_position_embeddings": 2048,
33
- "model_type": "gpt_neo",
34
- "num_heads": 16,
35
- "num_layers": 4,
36
- "resid_dropout": 0,
37
- "summary_activation": null,
38
- "summary_first_dropout": 0.1,
39
- "summary_proj_to_labels": true,
40
- "summary_type": "cls_index",
41
- "summary_use_proj": true,
42
  "torch_dtype": "float32",
43
  "transformers_version": "4.33.2",
44
  "use_cache": true,
45
- "vocab_size": 50257,
46
- "window_size": 256
47
  }
 
1
  {
2
  "_name_or_path": "here_merged",
 
3
  "architectures": [
4
+ "GPTNeoXForCausalLM"
5
  ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  "classifier_dropout": 0.1,
9
+ "eos_token_id": 0,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout": 0.0,
12
+ "hidden_size": 256,
13
  "initializer_range": 0.02,
14
+ "intermediate_size": 1024,
15
+ "layer_norm_eps": 1e-05,
16
  "max_position_embeddings": 2048,
17
+ "model_type": "gpt_neox",
18
+ "num_attention_heads": 8,
19
+ "num_hidden_layers": 6,
20
+ "rope_scaling": null,
21
+ "rotary_emb_base": 10000,
22
+ "rotary_pct": 0.25,
23
+ "tie_word_embeddings": false,
 
 
24
  "torch_dtype": "float32",
25
  "transformers_version": "4.33.2",
26
  "use_cache": true,
27
+ "use_parallel_residual": true,
28
+ "vocab_size": 50304
29
  }
generation_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 50256,
4
- "eos_token_id": 50256,
5
  "transformers_version": "4.33.2"
6
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
  "transformers_version": "4.33.2"
6
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7c3d1a7582cd2f7c9e8e69203c56f7b7a40ae0999d4e8677a67f56f4dc74335a
3
- size 274074521
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fea1f494cfab1c5c10929e1e188288c8d72c525e8a5ba7454815426274379892
3
+ size 122006247