Add default chat template to tokenizer_config.json
#8
by
Xenova
HF staff
- opened
- tokenizer_config.json +3 -2
tokenizer_config.json
CHANGED
@@ -5,5 +5,6 @@
|
|
5 |
"name_or_path": "EleutherAI/gpt-neox-20b",
|
6 |
"special_tokens_map_file": "/fsx/home-hailey/.cache/huggingface/hub/models--EleutherAI--gpt-neox-20b/snapshots/3523781c8df75f7741687a4284f6f70e1afa12f4/special_tokens_map.json",
|
7 |
"tokenizer_class": "GPTNeoXTokenizer",
|
8 |
-
"unk_token": "<|endoftext|>"
|
9 |
-
}
|
|
|
|
5 |
"name_or_path": "EleutherAI/gpt-neox-20b",
|
6 |
"special_tokens_map_file": "/fsx/home-hailey/.cache/huggingface/hub/models--EleutherAI--gpt-neox-20b/snapshots/3523781c8df75f7741687a4284f6f70e1afa12f4/special_tokens_map.json",
|
7 |
"tokenizer_class": "GPTNeoXTokenizer",
|
8 |
+
"unk_token": "<|endoftext|>",
|
9 |
+
"chat_template": "{% for message in messages %}{{ message.content }}{{ eos_token }}{% endfor %}"
|
10 |
+
}
|