Toz-1 / tokenizer_config.json
Ahmetemiiii2's picture
Töz-1 (toz1-sft-g.pt)
81f6f92 verified
Raw History Blame Contribute Delete
616 Bytes
{
"clean_up_tokenization_spaces": false,
"eos_token": "<|endoftext|>",
"model_input_names": [
"input_ids",
"attention_mask"
],
"model_max_length": 1024,
"pad_token": "<|endoftext|>",
"tokenizer_class": "PreTrainedTokenizerFast",
"chat_template": "{%- for m in messages -%}{%- if m['role'] == 'system' -%}{{- m['content'] + '\\n' -}}{%- elif m['role'] == 'user' -%}{{- 'Kullanıcı: ' + m['content'] + '\\n' -}}{%- elif m['role'] == 'assistant' -%}{{- 'Töz: ' + m['content'] + eos_token -}}{%- endif -%}{%- endfor -%}{%- if add_generation_prompt -%}{{- 'Töz: ' -}}{%- endif -%}"
}