javirandor
commited on
Commit
•
0acb144
1
Parent(s):
cf58abb
Upload tokenizer
Browse files- merges.txt +1 -0
- special_tokens_map.json +51 -0
- tokenizer.json +189 -0
- tokenizer_config.json +64 -0
- vocab.json +1 -0
merges.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
#version: 0.2
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.0",
|
3 |
+
"truncation": null,
|
4 |
+
"padding": null,
|
5 |
+
"added_tokens": [
|
6 |
+
{
|
7 |
+
"id": 0,
|
8 |
+
"content": "<s>",
|
9 |
+
"single_word": false,
|
10 |
+
"lstrip": false,
|
11 |
+
"rstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"special": true
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"id": 1,
|
17 |
+
"content": "<pad>",
|
18 |
+
"single_word": false,
|
19 |
+
"lstrip": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"normalized": true,
|
22 |
+
"special": true
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"id": 2,
|
26 |
+
"content": "</s>",
|
27 |
+
"single_word": false,
|
28 |
+
"lstrip": false,
|
29 |
+
"rstrip": false,
|
30 |
+
"normalized": true,
|
31 |
+
"special": true
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"id": 3,
|
35 |
+
"content": "<unk>",
|
36 |
+
"single_word": false,
|
37 |
+
"lstrip": false,
|
38 |
+
"rstrip": false,
|
39 |
+
"normalized": true,
|
40 |
+
"special": true
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"id": 4,
|
44 |
+
"content": "<mask>",
|
45 |
+
"single_word": false,
|
46 |
+
"lstrip": true,
|
47 |
+
"rstrip": false,
|
48 |
+
"normalized": true,
|
49 |
+
"special": true
|
50 |
+
}
|
51 |
+
],
|
52 |
+
"normalizer": null,
|
53 |
+
"pre_tokenizer": {
|
54 |
+
"type": "ByteLevel",
|
55 |
+
"add_prefix_space": false,
|
56 |
+
"trim_offsets": true,
|
57 |
+
"use_regex": true
|
58 |
+
},
|
59 |
+
"post_processor": {
|
60 |
+
"type": "RobertaProcessing",
|
61 |
+
"sep": [
|
62 |
+
"</s>",
|
63 |
+
2
|
64 |
+
],
|
65 |
+
"cls": [
|
66 |
+
"<s>",
|
67 |
+
0
|
68 |
+
],
|
69 |
+
"trim_offsets": true,
|
70 |
+
"add_prefix_space": false
|
71 |
+
},
|
72 |
+
"decoder": {
|
73 |
+
"type": "ByteLevel",
|
74 |
+
"add_prefix_space": true,
|
75 |
+
"trim_offsets": true,
|
76 |
+
"use_regex": true
|
77 |
+
},
|
78 |
+
"model": {
|
79 |
+
"type": "BPE",
|
80 |
+
"dropout": null,
|
81 |
+
"unk_token": null,
|
82 |
+
"continuing_subword_prefix": "",
|
83 |
+
"end_of_word_suffix": "",
|
84 |
+
"fuse_unk": false,
|
85 |
+
"byte_fallback": false,
|
86 |
+
"vocab": {
|
87 |
+
"<s>": 0,
|
88 |
+
"<pad>": 1,
|
89 |
+
"</s>": 2,
|
90 |
+
"<unk>": 3,
|
91 |
+
"<mask>": 4,
|
92 |
+
"!": 5,
|
93 |
+
"\"": 6,
|
94 |
+
"#": 7,
|
95 |
+
"$": 8,
|
96 |
+
"%": 9,
|
97 |
+
"&": 10,
|
98 |
+
"'": 11,
|
99 |
+
"(": 12,
|
100 |
+
")": 13,
|
101 |
+
"*": 14,
|
102 |
+
"+": 15,
|
103 |
+
",": 16,
|
104 |
+
"-": 17,
|
105 |
+
".": 18,
|
106 |
+
"/": 19,
|
107 |
+
"0": 20,
|
108 |
+
"1": 21,
|
109 |
+
"2": 22,
|
110 |
+
"3": 23,
|
111 |
+
"4": 24,
|
112 |
+
"5": 25,
|
113 |
+
"6": 26,
|
114 |
+
"7": 27,
|
115 |
+
"8": 28,
|
116 |
+
"9": 29,
|
117 |
+
":": 30,
|
118 |
+
";": 31,
|
119 |
+
"<": 32,
|
120 |
+
"=": 33,
|
121 |
+
">": 34,
|
122 |
+
"?": 35,
|
123 |
+
"@": 36,
|
124 |
+
"A": 37,
|
125 |
+
"B": 38,
|
126 |
+
"C": 39,
|
127 |
+
"D": 40,
|
128 |
+
"E": 41,
|
129 |
+
"F": 42,
|
130 |
+
"G": 43,
|
131 |
+
"H": 44,
|
132 |
+
"I": 45,
|
133 |
+
"J": 46,
|
134 |
+
"K": 47,
|
135 |
+
"L": 48,
|
136 |
+
"M": 49,
|
137 |
+
"N": 50,
|
138 |
+
"O": 51,
|
139 |
+
"P": 52,
|
140 |
+
"Q": 53,
|
141 |
+
"R": 54,
|
142 |
+
"S": 55,
|
143 |
+
"T": 56,
|
144 |
+
"U": 57,
|
145 |
+
"V": 58,
|
146 |
+
"W": 59,
|
147 |
+
"X": 60,
|
148 |
+
"Y": 61,
|
149 |
+
"Z": 62,
|
150 |
+
"[": 63,
|
151 |
+
"\\": 64,
|
152 |
+
"]": 65,
|
153 |
+
"^": 66,
|
154 |
+
"_": 67,
|
155 |
+
"`": 68,
|
156 |
+
"a": 69,
|
157 |
+
"b": 70,
|
158 |
+
"c": 71,
|
159 |
+
"d": 72,
|
160 |
+
"e": 73,
|
161 |
+
"f": 74,
|
162 |
+
"g": 75,
|
163 |
+
"h": 76,
|
164 |
+
"i": 77,
|
165 |
+
"j": 78,
|
166 |
+
"k": 79,
|
167 |
+
"l": 80,
|
168 |
+
"m": 81,
|
169 |
+
"n": 82,
|
170 |
+
"o": 83,
|
171 |
+
"p": 84,
|
172 |
+
"q": 85,
|
173 |
+
"r": 86,
|
174 |
+
"s": 87,
|
175 |
+
"t": 88,
|
176 |
+
"u": 89,
|
177 |
+
"v": 90,
|
178 |
+
"w": 91,
|
179 |
+
"x": 92,
|
180 |
+
"y": 93,
|
181 |
+
"z": 94,
|
182 |
+
"{": 95,
|
183 |
+
"|": 96,
|
184 |
+
"}": 97,
|
185 |
+
"~": 98
|
186 |
+
},
|
187 |
+
"merges": []
|
188 |
+
}
|
189 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": {
|
4 |
+
"__type": "AddedToken",
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false
|
10 |
+
},
|
11 |
+
"clean_up_tokenization_spaces": true,
|
12 |
+
"cls_token": {
|
13 |
+
"__type": "AddedToken",
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"eos_token": {
|
21 |
+
"__type": "AddedToken",
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": true,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
},
|
28 |
+
"errors": "replace",
|
29 |
+
"mask_token": {
|
30 |
+
"__type": "AddedToken",
|
31 |
+
"content": "<mask>",
|
32 |
+
"lstrip": true,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"model_max_length": 1000000000000000019884624838656,
|
38 |
+
"pad_token": {
|
39 |
+
"__type": "AddedToken",
|
40 |
+
"content": "<pad>",
|
41 |
+
"lstrip": false,
|
42 |
+
"normalized": true,
|
43 |
+
"rstrip": false,
|
44 |
+
"single_word": false
|
45 |
+
},
|
46 |
+
"sep_token": {
|
47 |
+
"__type": "AddedToken",
|
48 |
+
"content": "</s>",
|
49 |
+
"lstrip": false,
|
50 |
+
"normalized": true,
|
51 |
+
"rstrip": false,
|
52 |
+
"single_word": false
|
53 |
+
},
|
54 |
+
"tokenizer_class": "RobertaTokenizer",
|
55 |
+
"trim_offsets": true,
|
56 |
+
"unk_token": {
|
57 |
+
"__type": "AddedToken",
|
58 |
+
"content": "<unk>",
|
59 |
+
"lstrip": false,
|
60 |
+
"normalized": true,
|
61 |
+
"rstrip": false,
|
62 |
+
"single_word": false
|
63 |
+
}
|
64 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"<s>":0,"<pad>":1,"</s>":2,"<unk>":3,"<mask>":4,"!":5,"\"":6,"#":7,"$":8,"%":9,"&":10,"'":11,"(":12,")":13,"*":14,"+":15,",":16,"-":17,".":18,"/":19,"0":20,"1":21,"2":22,"3":23,"4":24,"5":25,"6":26,"7":27,"8":28,"9":29,":":30,";":31,"<":32,"=":33,">":34,"?":35,"@":36,"A":37,"B":38,"C":39,"D":40,"E":41,"F":42,"G":43,"H":44,"I":45,"J":46,"K":47,"L":48,"M":49,"N":50,"O":51,"P":52,"Q":53,"R":54,"S":55,"T":56,"U":57,"V":58,"W":59,"X":60,"Y":61,"Z":62,"[":63,"\\":64,"]":65,"^":66,"_":67,"`":68,"a":69,"b":70,"c":71,"d":72,"e":73,"f":74,"g":75,"h":76,"i":77,"j":78,"k":79,"l":80,"m":81,"n":82,"o":83,"p":84,"q":85,"r":86,"s":87,"t":88,"u":89,"v":90,"w":91,"x":92,"y":93,"z":94,"{":95,"|":96,"}":97,"~":98}
|