MarvinCui commited on
Commit
91783b9
·
verified ·
1 Parent(s): 08e8a4c

Upload 5 files

Browse files
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 50256,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 0,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_embd": 512,
14
+ "n_head": 8,
15
+ "n_inner": 2048,
16
+ "n_layer": 8,
17
+ "n_positions": 178,
18
+ "pad_token_id": 1,
19
+ "reorder_and_upcast_attn": false,
20
+ "resid_pdrop": 0.1,
21
+ "scale_attn_by_inverse_layer_idx": false,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.1,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.53.0",
30
+ "use_cache": true,
31
+ "vocab_size": 37
32
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 0,
5
+ "pad_token_id": 1,
6
+ "transformers_version": "4.53.0"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2567fd98196542f0ab718e4641a6762a27e524971b49f2c99bc4bffe866ef625
3
+ size 101330664
tokenizer_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "vocab_size": 37,
3
+ "pad_token": "<|pad|>",
4
+ "eos_token": "<|endoftext|>",
5
+ "unk_token": "<|unk|>",
6
+ "bos_token": "<|endoftext|>"
7
+ }
vocab.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 0,
3
+ "<|pad|>": 1,
4
+ "<|unk|>": 2,
5
+ "c": 3,
6
+ "C": 4,
7
+ "(": 5,
8
+ ")": 6,
9
+ "1": 7,
10
+ "O": 8,
11
+ "2": 9,
12
+ "N": 10,
13
+ "n": 11,
14
+ "=": 12,
15
+ "3": 13,
16
+ "-": 14,
17
+ "4": 15,
18
+ "F": 16,
19
+ "l": 17,
20
+ "s": 18,
21
+ "o": 19,
22
+ "[": 20,
23
+ "]": 21,
24
+ "H": 22,
25
+ "S": 23,
26
+ "#": 24,
27
+ "5": 25,
28
+ "B": 26,
29
+ "r": 27,
30
+ "6": 28,
31
+ "I": 29,
32
+ "7": 30,
33
+ "P": 31,
34
+ "8": 32,
35
+ "9": 33,
36
+ "%": 34,
37
+ "0": 35,
38
+ "p": 36
39
+ }