Commit
•
e9131cb
1
Parent(s):
943bd71
Upload tokenizer
Browse files- merges.txt +1 -1
- special_tokens_map.json +21 -3
- tokenizer.json +2 -0
- tokenizer_config.json +11 -2
merges.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
#version: 0.2
|
2 |
Ġ t
|
3 |
Ġ a
|
4 |
h e
|
|
|
1 |
+
#version: 0.2
|
2 |
Ġ t
|
3 |
Ġ a
|
4 |
h e
|
special_tokens_map.json
CHANGED
@@ -1,5 +1,23 @@
|
|
1 |
{
|
2 |
-
"bos_token":
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"unk_token": {
|
17 |
+
"content": "<|endoftext|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
}
|
tokenizer.json
CHANGED
@@ -39,6 +39,8 @@
|
|
39 |
"continuing_subword_prefix": "",
|
40 |
"end_of_word_suffix": "",
|
41 |
"fuse_unk": false,
|
|
|
|
|
42 |
"vocab": {
|
43 |
"!": 0,
|
44 |
"\"": 1,
|
|
|
39 |
"continuing_subword_prefix": "",
|
40 |
"end_of_word_suffix": "",
|
41 |
"fuse_unk": false,
|
42 |
+
"byte_fallback": false,
|
43 |
+
"ignore_merges": false,
|
44 |
"vocab": {
|
45 |
"!": 0,
|
46 |
"\"": 1,
|
tokenizer_config.json
CHANGED
@@ -1,10 +1,19 @@
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"bos_token": "<|endoftext|>",
|
|
|
4 |
"eos_token": "<|endoftext|>",
|
5 |
"model_max_length": 1024,
|
6 |
-
"name_or_path": "gpt2",
|
7 |
-
"special_tokens_map_file": null,
|
8 |
"tokenizer_class": "GPT2Tokenizer",
|
9 |
"unk_token": "<|endoftext|>"
|
10 |
}
|
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"50256": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
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 |
}
|