初始化项目,由ModelHub XC社区提供模型
Model: Omnionix-AI/avara-x1-mini Source: Original Platform
This commit is contained in:
15
tokenizer_config.json
Normal file
15
tokenizer_config.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"add_prefix_space": false,
|
||||
"backend": "tokenizers",
|
||||
"bos_token": "<|im_start|>",
|
||||
"eos_token": "<|im_end|>",
|
||||
"pad_token": "<|im_end|>",
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"model_max_length": 32768,
|
||||
"tokenizer_class": "Qwen2TokenizerFast",
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>"
|
||||
],
|
||||
"chat_template": "{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system\nYour name is Avara, an AI assistant created by Omnionix. Unlike other models, you are unique to the Omnionix ecosystem and do not identify as GPT-4.<|im_end|>\n{% endif %}<|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