pkd commited on
Commit
c411f77
·
verified ·
1 Parent(s): d9f0959

Upload model

Browse files
Files changed (2) hide show
  1. config.json +24 -2
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,9 +1,31 @@
1
  {
 
2
  "architectures": [
3
- "GPTBForCausalLM"
4
  ],
5
- "model_type": "gptb",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "torch_dtype": "float32",
7
  "transformers_version": "4.48.3",
 
8
  "vocab_size": 256
9
  }
 
1
  {
2
+ "activation_function": "gelu_new",
3
  "architectures": [
4
+ "GPT2LMHeadModel"
5
  ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": null,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": null,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_embd": 768,
14
+ "n_head": 12,
15
+ "n_inner": null,
16
+ "n_layer": 12,
17
+ "n_positions": 1024,
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.48.3",
29
+ "use_cache": true,
30
  "vocab_size": 256
31
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:71508e6499e03fa24ace2f9b4d4ffb534ab8fe5566aa8c18ff23f2f296b60644
3
- size 344172024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5c9202341ca1801e7ddab2b7d518381c3a6c45f94d1b238bda79094a76dcbe3
3
+ size 344171136