RyanJT commited on
Commit
15efa9a
·
verified ·
1 Parent(s): 5a64119

Upload model

Browse files
Files changed (2) hide show
  1. config.json +17 -2
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,16 +1,31 @@
1
  {
 
2
  "architectures": [
3
- "GPT2"
4
  ],
 
 
 
 
5
  "initializer_range": 0.02,
6
  "layer_norm_epsilon": 1e-05,
7
  "model_type": "gpt2",
8
- "n_ctx": 1024,
9
  "n_embd": 256,
10
  "n_head": 2,
 
11
  "n_layer": 4,
12
  "n_positions": 256,
 
 
 
 
 
 
 
 
 
13
  "torch_dtype": "float32",
14
  "transformers_version": "4.26.1",
 
15
  "vocab_size": 355
16
  }
 
1
  {
2
+ "activation_function": "gelu_new",
3
  "architectures": [
4
+ "CustomGPT2LMHeadModel"
5
  ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 50256,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 50256,
10
  "initializer_range": 0.02,
11
  "layer_norm_epsilon": 1e-05,
12
  "model_type": "gpt2",
 
13
  "n_embd": 256,
14
  "n_head": 2,
15
+ "n_inner": null,
16
  "n_layer": 4,
17
  "n_positions": 256,
18
+ "reorder_and_upcast_attn": false,
19
+ "resid_pdrop": 0.1,
20
+ "scale_attn_by_inverse_layer_idx": false,
21
+ "scale_attn_weights": true,
22
+ "summary_activation": null,
23
+ "summary_first_dropout": 0.1,
24
+ "summary_proj_to_labels": true,
25
+ "summary_type": "cls_index",
26
+ "summary_use_proj": true,
27
  "torch_dtype": "float32",
28
  "transformers_version": "4.26.1",
29
+ "use_cache": true,
30
  "vocab_size": 355
31
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f4014c42262406a52a7fe9b96233e379dfec0e63dc7ecf2a454951cbe6fa0d81
3
- size 11010948
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d28dec23dbbc8157d30aa6d34ed86e5c1bfd5ac8e7c3a77b74941ab240947bac
3
+ size 10647233