初始化项目,由ModelHub XC社区提供模型
Model: ViorikaAI-org/CalmaCatLM-2.1-mini Source: Original Platform
This commit is contained in:
16
tokenizer_config.json
Normal file
16
tokenizer_config.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"backend": "tokenizers",
|
||||
"bos_token": "<s>",
|
||||
"eos_token": "</s>",
|
||||
"unk_token": "<unk>",
|
||||
"pad_token": "<pad>",
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"is_local": true,
|
||||
"model_max_length": 2048,
|
||||
"tokenizer_class": "LlamaTokenizer",
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>"
|
||||
],
|
||||
"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