Kinsleykinsley commited on
Commit
2ad20a4
·
verified ·
1 Parent(s): 47e8c15

Upload folder using huggingface_hub

Browse files
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 30,
3
+ "[PAD]": 31
4
+ }
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "ProGenForCausalLM"
5
+ ],
6
+ "attn_pdrop": 0.0,
7
+ "auto_map": {
8
+ "AutoConfig": "hugohrban/progen2-base--configuration_progen.ProGenConfig",
9
+ "AutoModelForCausalLM": "hugohrban/progen2-base--modeling_progen.ProGenForCausalLM"
10
+ },
11
+ "bos_token_id": 1,
12
+ "embd_pdrop": 0.0,
13
+ "embed_dim": 1536,
14
+ "eos_token_id": 2,
15
+ "gradient_checkpointing": false,
16
+ "initializer_range": 0.02,
17
+ "layer_norm_epsilon": 1e-05,
18
+ "model_type": "progen",
19
+ "n_head": 16,
20
+ "n_inner": null,
21
+ "n_layer": 27,
22
+ "n_positions": 2048,
23
+ "resid_pdrop": 0.0,
24
+ "rotary_dim": 48,
25
+ "scale_attn_weights": true,
26
+ "summary_activation": null,
27
+ "summary_first_dropout": 0.1,
28
+ "summary_proj_to_labels": true,
29
+ "summary_type": "cls_index",
30
+ "summary_use_proj": true,
31
+ "task_specific_params": {
32
+ "text-generation": {
33
+ "do_sample": true,
34
+ "max_length": 50,
35
+ "temperature": 1.0
36
+ }
37
+ },
38
+ "tokenizer_class": "GPT2Tokenizer",
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.51.3",
41
+ "use_cache": true,
42
+ "vocab_size": 32,
43
+ "vocab_size_emb": 32,
44
+ "vocab_size_lm_head": 32
45
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.51.3"
6
+ }
merges.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ #version: 0.2
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2ed055d458d391b4c8bfa0c975a80019652ef206f379942acc336aded31d70b
3
+ size 3059237976
special_tokens_map.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": {
5
+ "content": "[PAD]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "unk_token": "<|endoftext|>"
12
+ }
tokenizer.json ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "truncation": {
4
+ "direction": "Right",
5
+ "max_length": 512,
6
+ "strategy": "LongestFirst",
7
+ "stride": 0
8
+ },
9
+ "padding": {
10
+ "strategy": {
11
+ "Fixed": 512
12
+ },
13
+ "direction": "Right",
14
+ "pad_to_multiple_of": null,
15
+ "pad_id": 31,
16
+ "pad_type_id": 0,
17
+ "pad_token": "[PAD]"
18
+ },
19
+ "added_tokens": [
20
+ {
21
+ "id": 0,
22
+ "content": "<|pad|>",
23
+ "single_word": false,
24
+ "lstrip": false,
25
+ "rstrip": false,
26
+ "normalized": false,
27
+ "special": true
28
+ },
29
+ {
30
+ "id": 1,
31
+ "content": "<|bos|>",
32
+ "single_word": false,
33
+ "lstrip": false,
34
+ "rstrip": false,
35
+ "normalized": false,
36
+ "special": true
37
+ },
38
+ {
39
+ "id": 2,
40
+ "content": "<|eos|>",
41
+ "single_word": false,
42
+ "lstrip": false,
43
+ "rstrip": false,
44
+ "normalized": false,
45
+ "special": true
46
+ },
47
+ {
48
+ "id": 30,
49
+ "content": "<|endoftext|>",
50
+ "single_word": false,
51
+ "lstrip": false,
52
+ "rstrip": false,
53
+ "normalized": false,
54
+ "special": true
55
+ },
56
+ {
57
+ "id": 31,
58
+ "content": "[PAD]",
59
+ "single_word": false,
60
+ "lstrip": false,
61
+ "rstrip": false,
62
+ "normalized": false,
63
+ "special": true
64
+ }
65
+ ],
66
+ "normalizer": null,
67
+ "pre_tokenizer": {
68
+ "type": "ByteLevel",
69
+ "add_prefix_space": false,
70
+ "trim_offsets": true,
71
+ "use_regex": true
72
+ },
73
+ "post_processor": {
74
+ "type": "ByteLevel",
75
+ "add_prefix_space": true,
76
+ "trim_offsets": true,
77
+ "use_regex": true
78
+ },
79
+ "decoder": {
80
+ "type": "ByteLevel",
81
+ "add_prefix_space": true,
82
+ "trim_offsets": true,
83
+ "use_regex": true
84
+ },
85
+ "model": {
86
+ "type": "BPE",
87
+ "dropout": null,
88
+ "unk_token": null,
89
+ "continuing_subword_prefix": null,
90
+ "end_of_word_suffix": null,
91
+ "fuse_unk": false,
92
+ "byte_fallback": false,
93
+ "ignore_merges": false,
94
+ "vocab": {
95
+ "<|pad|>": 0,
96
+ "<|bos|>": 1,
97
+ "<|eos|>": 2,
98
+ "1": 3,
99
+ "2": 4,
100
+ "A": 5,
101
+ "B": 6,
102
+ "C": 7,
103
+ "D": 8,
104
+ "E": 9,
105
+ "F": 10,
106
+ "G": 11,
107
+ "H": 12,
108
+ "I": 13,
109
+ "K": 14,
110
+ "L": 15,
111
+ "M": 16,
112
+ "N": 17,
113
+ "O": 18,
114
+ "P": 19,
115
+ "Q": 20,
116
+ "R": 21,
117
+ "S": 22,
118
+ "T": 23,
119
+ "U": 24,
120
+ "V": 25,
121
+ "W": 26,
122
+ "X": 27,
123
+ "Y": 28,
124
+ "Z": 29
125
+ },
126
+ "merges": []
127
+ }
128
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<|pad|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<|bos|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "<|eos|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "30": {
29
+ "content": "<|endoftext|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "31": {
37
+ "content": "[PAD]",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<|endoftext|>",
46
+ "clean_up_tokenization_spaces": false,
47
+ "eos_token": "<|endoftext|>",
48
+ "extra_special_tokens": {},
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "pad_token": "[PAD]",
51
+ "tokenizer_class": "GPT2Tokenizer",
52
+ "unk_token": "<|endoftext|>"
53
+ }
vocab.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"<|pad|>":0,"<|bos|>":1,"<|eos|>":2,"1":3,"2":4,"A":5,"B":6,"C":7,"D":8,"E":9,"F":10,"G":11,"H":12,"I":13,"K":14,"L":15,"M":16,"N":17,"O":18,"P":19,"Q":20,"R":21,"S":22,"T":23,"U":24,"V":25,"W":26,"X":27,"Y":28,"Z":29}