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