isaiahbjork
commited on
Commit
•
5e4326e
1
Parent(s):
60b2782
Trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -1996,7 +1996,7 @@
|
|
1996 |
}
|
1997 |
},
|
1998 |
"bos_token": "<bos>",
|
1999 |
-
"chat_template": "{
|
2000 |
"clean_up_tokenization_spaces": false,
|
2001 |
"eos_token": "<|im_end|>",
|
2002 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
1996 |
}
|
1997 |
},
|
1998 |
"bos_token": "<bos>",
|
1999 |
+
"chat_template": "{% for message in messages %}{% if message['from'] == 'human' %}{{'<|im_start|>user\n' + message['value'] + '<|im_end|>\n'}}{% elif message['from'] == 'gpt' %}{{'<|im_start|>assistant\n' + message['value'] + '<|im_end|>\n' }}{% else %}{{ '<|im_start|>system\n' + message['value'] + '<|im_end|>\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
2000 |
"clean_up_tokenization_spaces": false,
|
2001 |
"eos_token": "<|im_end|>",
|
2002 |
"model_max_length": 1000000000000000019884624838656,
|