Text Generation
Transformers
PyTorch
English
gptj
matthayes commited on
Commit
08ceb40
1 Parent(s): 99cd42d

Initial model commit

Browse files
added_tokens.json ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "### End": 50400,
3
+ "### Instruction:": 50401,
4
+ "### Response:": 50402,
5
+ "<|extratoken_100|>": 50356,
6
+ "<|extratoken_101|>": 50357,
7
+ "<|extratoken_102|>": 50358,
8
+ "<|extratoken_103|>": 50359,
9
+ "<|extratoken_104|>": 50360,
10
+ "<|extratoken_105|>": 50361,
11
+ "<|extratoken_106|>": 50362,
12
+ "<|extratoken_107|>": 50363,
13
+ "<|extratoken_108|>": 50364,
14
+ "<|extratoken_109|>": 50365,
15
+ "<|extratoken_10|>": 50266,
16
+ "<|extratoken_110|>": 50366,
17
+ "<|extratoken_111|>": 50367,
18
+ "<|extratoken_112|>": 50368,
19
+ "<|extratoken_113|>": 50369,
20
+ "<|extratoken_114|>": 50370,
21
+ "<|extratoken_115|>": 50371,
22
+ "<|extratoken_116|>": 50372,
23
+ "<|extratoken_117|>": 50373,
24
+ "<|extratoken_118|>": 50374,
25
+ "<|extratoken_119|>": 50375,
26
+ "<|extratoken_11|>": 50267,
27
+ "<|extratoken_120|>": 50376,
28
+ "<|extratoken_121|>": 50377,
29
+ "<|extratoken_122|>": 50378,
30
+ "<|extratoken_123|>": 50379,
31
+ "<|extratoken_124|>": 50380,
32
+ "<|extratoken_125|>": 50381,
33
+ "<|extratoken_126|>": 50382,
34
+ "<|extratoken_127|>": 50383,
35
+ "<|extratoken_128|>": 50384,
36
+ "<|extratoken_129|>": 50385,
37
+ "<|extratoken_12|>": 50268,
38
+ "<|extratoken_130|>": 50386,
39
+ "<|extratoken_131|>": 50387,
40
+ "<|extratoken_132|>": 50388,
41
+ "<|extratoken_133|>": 50389,
42
+ "<|extratoken_134|>": 50390,
43
+ "<|extratoken_135|>": 50391,
44
+ "<|extratoken_136|>": 50392,
45
+ "<|extratoken_137|>": 50393,
46
+ "<|extratoken_138|>": 50394,
47
+ "<|extratoken_139|>": 50395,
48
+ "<|extratoken_13|>": 50269,
49
+ "<|extratoken_140|>": 50396,
50
+ "<|extratoken_141|>": 50397,
51
+ "<|extratoken_142|>": 50398,
52
+ "<|extratoken_143|>": 50399,
53
+ "<|extratoken_14|>": 50270,
54
+ "<|extratoken_15|>": 50271,
55
+ "<|extratoken_16|>": 50272,
56
+ "<|extratoken_17|>": 50273,
57
+ "<|extratoken_18|>": 50274,
58
+ "<|extratoken_19|>": 50275,
59
+ "<|extratoken_1|>": 50257,
60
+ "<|extratoken_20|>": 50276,
61
+ "<|extratoken_21|>": 50277,
62
+ "<|extratoken_22|>": 50278,
63
+ "<|extratoken_23|>": 50279,
64
+ "<|extratoken_24|>": 50280,
65
+ "<|extratoken_25|>": 50281,
66
+ "<|extratoken_26|>": 50282,
67
+ "<|extratoken_27|>": 50283,
68
+ "<|extratoken_28|>": 50284,
69
+ "<|extratoken_29|>": 50285,
70
+ "<|extratoken_2|>": 50258,
71
+ "<|extratoken_30|>": 50286,
72
+ "<|extratoken_31|>": 50287,
73
+ "<|extratoken_32|>": 50288,
74
+ "<|extratoken_33|>": 50289,
75
+ "<|extratoken_34|>": 50290,
76
+ "<|extratoken_35|>": 50291,
77
+ "<|extratoken_36|>": 50292,
78
+ "<|extratoken_37|>": 50293,
79
+ "<|extratoken_38|>": 50294,
80
+ "<|extratoken_39|>": 50295,
81
+ "<|extratoken_3|>": 50259,
82
+ "<|extratoken_40|>": 50296,
83
+ "<|extratoken_41|>": 50297,
84
+ "<|extratoken_42|>": 50298,
85
+ "<|extratoken_43|>": 50299,
86
+ "<|extratoken_44|>": 50300,
87
+ "<|extratoken_45|>": 50301,
88
+ "<|extratoken_46|>": 50302,
89
+ "<|extratoken_47|>": 50303,
90
+ "<|extratoken_48|>": 50304,
91
+ "<|extratoken_49|>": 50305,
92
+ "<|extratoken_4|>": 50260,
93
+ "<|extratoken_50|>": 50306,
94
+ "<|extratoken_51|>": 50307,
95
+ "<|extratoken_52|>": 50308,
96
+ "<|extratoken_53|>": 50309,
97
+ "<|extratoken_54|>": 50310,
98
+ "<|extratoken_55|>": 50311,
99
+ "<|extratoken_56|>": 50312,
100
+ "<|extratoken_57|>": 50313,
101
+ "<|extratoken_58|>": 50314,
102
+ "<|extratoken_59|>": 50315,
103
+ "<|extratoken_5|>": 50261,
104
+ "<|extratoken_60|>": 50316,
105
+ "<|extratoken_61|>": 50317,
106
+ "<|extratoken_62|>": 50318,
107
+ "<|extratoken_63|>": 50319,
108
+ "<|extratoken_64|>": 50320,
109
+ "<|extratoken_65|>": 50321,
110
+ "<|extratoken_66|>": 50322,
111
+ "<|extratoken_67|>": 50323,
112
+ "<|extratoken_68|>": 50324,
113
+ "<|extratoken_69|>": 50325,
114
+ "<|extratoken_6|>": 50262,
115
+ "<|extratoken_70|>": 50326,
116
+ "<|extratoken_71|>": 50327,
117
+ "<|extratoken_72|>": 50328,
118
+ "<|extratoken_73|>": 50329,
119
+ "<|extratoken_74|>": 50330,
120
+ "<|extratoken_75|>": 50331,
121
+ "<|extratoken_76|>": 50332,
122
+ "<|extratoken_77|>": 50333,
123
+ "<|extratoken_78|>": 50334,
124
+ "<|extratoken_79|>": 50335,
125
+ "<|extratoken_7|>": 50263,
126
+ "<|extratoken_80|>": 50336,
127
+ "<|extratoken_81|>": 50337,
128
+ "<|extratoken_82|>": 50338,
129
+ "<|extratoken_83|>": 50339,
130
+ "<|extratoken_84|>": 50340,
131
+ "<|extratoken_85|>": 50341,
132
+ "<|extratoken_86|>": 50342,
133
+ "<|extratoken_87|>": 50343,
134
+ "<|extratoken_88|>": 50344,
135
+ "<|extratoken_89|>": 50345,
136
+ "<|extratoken_8|>": 50264,
137
+ "<|extratoken_90|>": 50346,
138
+ "<|extratoken_91|>": 50347,
139
+ "<|extratoken_92|>": 50348,
140
+ "<|extratoken_93|>": 50349,
141
+ "<|extratoken_94|>": 50350,
142
+ "<|extratoken_95|>": 50351,
143
+ "<|extratoken_96|>": 50352,
144
+ "<|extratoken_97|>": 50353,
145
+ "<|extratoken_98|>": 50354,
146
+ "<|extratoken_99|>": 50355,
147
+ "<|extratoken_9|>": 50265
148
+ }
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "EleutherAI/gpt-j-6B",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPTJForCausalLM"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.0,
10
+ "eos_token_id": 50256,
11
+ "gradient_checkpointing": false,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "gptj",
15
+ "n_embd": 4096,
16
+ "n_head": 16,
17
+ "n_inner": null,
18
+ "n_layer": 28,
19
+ "n_positions": 2048,
20
+ "resid_pdrop": 0.0,
21
+ "rotary": true,
22
+ "rotary_dim": 64,
23
+ "scale_attn_weights": true,
24
+ "summary_activation": null,
25
+ "summary_first_dropout": 0.1,
26
+ "summary_proj_to_labels": true,
27
+ "summary_type": "cls_index",
28
+ "summary_use_proj": true,
29
+ "task_specific_params": {
30
+ "text-generation": {
31
+ "do_sample": true,
32
+ "max_length": 50,
33
+ "temperature": 1.0
34
+ }
35
+ },
36
+ "tie_word_embeddings": false,
37
+ "tokenizer_class": "GPT2Tokenizer",
38
+ "torch_dtype": "bfloat16",
39
+ "transformers_version": "4.25.1",
40
+ "use_cache": false,
41
+ "vocab_size": 50403
42
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e4b80d2f76b00d5a6070c80a2f964afa99d9af6983cd9afb283a05fba5e77e8
3
+ size 12219365353
special_tokens_map.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "### End",
4
+ "### Instruction:",
5
+ "### Response:"
6
+ ],
7
+ "bos_token": {
8
+ "content": "<|endoftext|>",
9
+ "lstrip": false,
10
+ "normalized": true,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "eos_token": {
15
+ "content": "<|endoftext|>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "pad_token": "<|endoftext|>",
22
+ "unk_token": {
23
+ "content": "<|endoftext|>",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false
28
+ }
29
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "bos_token": {
5
+ "__type": "AddedToken",
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "eos_token": {
13
+ "__type": "AddedToken",
14
+ "content": "<|endoftext|>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "errors": "replace",
21
+ "model_max_length": 2048,
22
+ "name_or_path": "EleutherAI/gpt-j-6B",
23
+ "pad_token": null,
24
+ "special_tokens_map_file": null,
25
+ "tokenizer_class": "GPT2Tokenizer",
26
+ "unk_token": {
27
+ "__type": "AddedToken",
28
+ "content": "<|endoftext|>",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff