Upload tokenizer
Browse files- special_tokens_map.json +28 -3
- tokenizer.json +9 -0
- tokenizer_config.json +9 -0
special_tokens_map.json
CHANGED
@@ -1,5 +1,30 @@
|
|
1 |
{
|
2 |
-
"bos_token":
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<|endoftext|>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
}
|
tokenizer.json
CHANGED
@@ -11,6 +11,15 @@
|
|
11 |
"rstrip": false,
|
12 |
"normalized": true,
|
13 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
}
|
15 |
],
|
16 |
"normalizer": null,
|
|
|
11 |
"rstrip": false,
|
12 |
"normalized": true,
|
13 |
"special": true
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"id": 50257,
|
17 |
+
"content": "[PAD]",
|
18 |
+
"single_word": false,
|
19 |
+
"lstrip": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"normalized": false,
|
22 |
+
"special": true
|
23 |
}
|
24 |
],
|
25 |
"normalizer": null,
|
tokenizer_config.json
CHANGED
@@ -8,12 +8,21 @@
|
|
8 |
"rstrip": false,
|
9 |
"single_word": false,
|
10 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
}
|
12 |
},
|
13 |
"bos_token": "<|endoftext|>",
|
14 |
"clean_up_tokenization_spaces": false,
|
15 |
"eos_token": "<|endoftext|>",
|
16 |
"model_max_length": 1024,
|
|
|
17 |
"tokenizer_class": "GPT2Tokenizer",
|
18 |
"unk_token": "<|endoftext|>"
|
19 |
}
|
|
|
8 |
"rstrip": false,
|
9 |
"single_word": false,
|
10 |
"special": true
|
11 |
+
},
|
12 |
+
"50257": {
|
13 |
+
"content": "[PAD]",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
}
|
20 |
},
|
21 |
"bos_token": "<|endoftext|>",
|
22 |
"clean_up_tokenization_spaces": false,
|
23 |
"eos_token": "<|endoftext|>",
|
24 |
"model_max_length": 1024,
|
25 |
+
"pad_token": "[PAD]",
|
26 |
"tokenizer_class": "GPT2Tokenizer",
|
27 |
"unk_token": "<|endoftext|>"
|
28 |
}
|