Upload tokenizer
Browse files- special_tokens_map.json +0 -1
- tokenizer_config.json +1 -2
special_tokens_map.json
CHANGED
@@ -13,7 +13,6 @@
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
-
"pad_token": "<|endoftext|>",
|
17 |
"unk_token": {
|
18 |
"content": "<|endoftext|>",
|
19 |
"lstrip": false,
|
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
|
|
16 |
"unk_token": {
|
17 |
"content": "<|endoftext|>",
|
18 |
"lstrip": false,
|
tokenizer_config.json
CHANGED
@@ -12,13 +12,12 @@
|
|
12 |
}
|
13 |
},
|
14 |
"bos_token": "<|endoftext|>",
|
15 |
-
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
16 |
"clean_up_tokenization_spaces": true,
|
17 |
"eos_token": "<|endoftext|>",
|
18 |
"errors": "replace",
|
19 |
"max_len": 512,
|
20 |
"model_max_length": 512,
|
21 |
-
"pad_token":
|
22 |
"tokenizer_class": "GPT2Tokenizer",
|
23 |
"unk_token": "<|endoftext|>"
|
24 |
}
|
|
|
12 |
}
|
13 |
},
|
14 |
"bos_token": "<|endoftext|>",
|
|
|
15 |
"clean_up_tokenization_spaces": true,
|
16 |
"eos_token": "<|endoftext|>",
|
17 |
"errors": "replace",
|
18 |
"max_len": 512,
|
19 |
"model_max_length": 512,
|
20 |
+
"pad_token": null,
|
21 |
"tokenizer_class": "GPT2Tokenizer",
|
22 |
"unk_token": "<|endoftext|>"
|
23 |
}
|