初始化项目,由ModelHub XC社区提供模型
Model: kamoo-ai/kamoo-one-135m-instruct Source: Original Platform
This commit is contained in:
9
tokenizer_config.json
Normal file
9
tokenizer_config.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"tokenizer_class": "PreTrainedTokenizerFast",
|
||||
"bos_token": "<|endoftext|>",
|
||||
"eos_token": "<|im_end|>",
|
||||
"unk_token": "<|endoftext|>",
|
||||
"model_max_length": 1024,
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"chat_template": "{% for message in messages %}{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}"
|
||||
}
|
||||
Reference in New Issue
Block a user