OPT_GaMS-1B-Chat / tokenizer_config.json
dvres's picture
Upload tokenizer
3833e37 verified
raw
history blame
1.05 kB
{
"add_bos_token": false,
"add_prefix_space": false,
"added_tokens_decoder": {
"1": {
"content": "<pad>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false,
"special": true
},
"2": {
"content": "</s>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false,
"special": true
}
},
"bos_token": "</s>",
"chat_template": "{%- for message in messages %}\n {%- if message['role'] == 'user' %}\n {{- 'Uporabnik: ' + message['content'].strip() + '\\n' }}\n {%- elif message['role'] == 'assistant' %}\n {{- 'Asistent: ' + message['content'].strip() + '\\n' }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- 'Asistent:' }}\n{%- endif %}",
"clean_up_tokenization_spaces": true,
"eos_token": "</s>",
"errors": "replace",
"model_max_length": 1000000000000000019884624838656,
"pad_token": "<pad>",
"tokenizer_class": "GPT2Tokenizer",
"unk_token": "</s>"
}