ahmedbahaj commited on
Commit
4ef915a
·
verified ·
1 Parent(s): 6ae34f2

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +46 -0
  2. model.safetensors +3 -0
  3. tokenizer.json +173 -0
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "ProGenForCausalLM"
5
+ ],
6
+ "attn_pdrop": 0.0,
7
+ "auto_map": {
8
+ "AutoConfig": "configuration_progen.ProGenConfig",
9
+ "AutoModelForCausalLM": "modeling_progen.ProGenForCausalLM"
10
+ },
11
+ "bos_token_id": 1,
12
+ "embd_pdrop": 0.0,
13
+ "embed_dim": 1024,
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_embd": 1024,
20
+ "n_head": 16,
21
+ "n_inner": null,
22
+ "n_layer": 12,
23
+ "n_positions": 1024,
24
+ "resid_pdrop": 0.0,
25
+ "rotary_dim": 32,
26
+ "scale_attn_weights": true,
27
+ "summary_activation": null,
28
+ "summary_first_dropout": 0.1,
29
+ "summary_proj_to_labels": true,
30
+ "summary_type": "cls_index",
31
+ "summary_use_proj": true,
32
+ "task_specific_params": {
33
+ "text-generation": {
34
+ "do_sample": true,
35
+ "max_length": 50,
36
+ "temperature": 1.0
37
+ }
38
+ },
39
+ "tokenizer_class": "GPT2Tokenizer",
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.55.0",
42
+ "use_cache": true,
43
+ "vocab_size": 32,
44
+ "vocab_size_emb": 37,
45
+ "vocab_size_lm_head": 32
46
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f00ac4bb6a8435f595f1ffb9f213533fb97213ebcbd7f3b9ace28151f8b67d4
3
+ size 604625296
tokenizer.json ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "truncation": {
4
+ "direction": "Right",
5
+ "max_length": 1024,
6
+ "strategy": "LongestFirst",
7
+ "stride": 0
8
+ },
9
+ "padding": {
10
+ "strategy": {
11
+ "Fixed": 1024
12
+ },
13
+ "direction": "Right",
14
+ "pad_to_multiple_of": null,
15
+ "pad_id": 0,
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": "<|pf00150|>",
50
+ "single_word": false,
51
+ "lstrip": false,
52
+ "rstrip": false,
53
+ "normalized": true,
54
+ "special": false
55
+ },
56
+ {
57
+ "id": 31,
58
+ "content": "<|pf00331|>",
59
+ "single_word": false,
60
+ "lstrip": false,
61
+ "rstrip": false,
62
+ "normalized": true,
63
+ "special": false
64
+ },
65
+ {
66
+ "id": 32,
67
+ "content": "<|pf00457|>",
68
+ "single_word": false,
69
+ "lstrip": false,
70
+ "rstrip": false,
71
+ "normalized": true,
72
+ "special": false
73
+ },
74
+ {
75
+ "id": 33,
76
+ "content": "<|pf00544|>",
77
+ "single_word": false,
78
+ "lstrip": false,
79
+ "rstrip": false,
80
+ "normalized": true,
81
+ "special": false
82
+ },
83
+ {
84
+ "id": 34,
85
+ "content": "<|pf01083|>",
86
+ "single_word": false,
87
+ "lstrip": false,
88
+ "rstrip": false,
89
+ "normalized": true,
90
+ "special": false
91
+ },
92
+ {
93
+ "id": 35,
94
+ "content": "<|pf02011|>",
95
+ "single_word": false,
96
+ "lstrip": false,
97
+ "rstrip": false,
98
+ "normalized": true,
99
+ "special": false
100
+ },
101
+ {
102
+ "id": 36,
103
+ "content": "<|pf08787|>",
104
+ "single_word": false,
105
+ "lstrip": false,
106
+ "rstrip": false,
107
+ "normalized": true,
108
+ "special": false
109
+ }
110
+ ],
111
+ "normalizer": null,
112
+ "pre_tokenizer": {
113
+ "type": "ByteLevel",
114
+ "add_prefix_space": false,
115
+ "trim_offsets": true,
116
+ "use_regex": true
117
+ },
118
+ "post_processor": {
119
+ "type": "ByteLevel",
120
+ "add_prefix_space": true,
121
+ "trim_offsets": true,
122
+ "use_regex": true
123
+ },
124
+ "decoder": {
125
+ "type": "ByteLevel",
126
+ "add_prefix_space": true,
127
+ "trim_offsets": true,
128
+ "use_regex": true
129
+ },
130
+ "model": {
131
+ "type": "BPE",
132
+ "dropout": null,
133
+ "unk_token": null,
134
+ "continuing_subword_prefix": null,
135
+ "end_of_word_suffix": null,
136
+ "fuse_unk": false,
137
+ "byte_fallback": false,
138
+ "ignore_merges": false,
139
+ "vocab": {
140
+ "<|pad|>": 0,
141
+ "<|bos|>": 1,
142
+ "<|eos|>": 2,
143
+ "1": 3,
144
+ "2": 4,
145
+ "A": 5,
146
+ "B": 6,
147
+ "C": 7,
148
+ "D": 8,
149
+ "E": 9,
150
+ "F": 10,
151
+ "G": 11,
152
+ "H": 12,
153
+ "I": 13,
154
+ "K": 14,
155
+ "L": 15,
156
+ "M": 16,
157
+ "N": 17,
158
+ "O": 18,
159
+ "P": 19,
160
+ "Q": 20,
161
+ "R": 21,
162
+ "S": 22,
163
+ "T": 23,
164
+ "U": 24,
165
+ "V": 25,
166
+ "W": 26,
167
+ "X": 27,
168
+ "Y": 28,
169
+ "Z": 29
170
+ },
171
+ "merges": []
172
+ }
173
+ }