初始化项目,由ModelHub XC社区提供模型

Model: North-ML1/willow-alpha
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-10 15:02:23 +08:00
commit 1767ed14d9
14 changed files with 81526 additions and 0 deletions

17
tokenizer_config.json Normal file
View File

@@ -0,0 +1,17 @@
{
"model_max_length": 2048,
"bos_token": "<s>",
"eos_token": "</s>",
"unk_token": "<unk>",
"pad_token": "<pad>",
"additional_special_tokens": [
"<|user|>",
"<|assistant|>",
"<|system|>",
"<|end|>",
"<|im_start|>",
"<|im_end|>"
],
"tokenizer_class": "PreTrainedTokenizerFast",
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}<|im_start|>system\n{{ message['content'] }}<|im_end|>\n{% elif message['role'] == 'user' %}<|im_start|>user\n{{ message['content'] }}<|im_end|>\n{% elif message['role'] == 'assistant' %}<|im_start|>assistant\n{{ message['content'] }}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}"
}