初始化项目,由ModelHub XC社区提供模型
Model: intellectlabs/Kepler-8B-Instruct-v2 Source: Original Platform
This commit is contained in:
30
tokenizer_config.json
Normal file
30
tokenizer_config.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"add_prefix_space": false,
|
||||
"backend": "tokenizers",
|
||||
"bos_token": null,
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"eos_token": "<|im_end|>",
|
||||
"errors": "replace",
|
||||
"extra_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|object_ref_start|>",
|
||||
"<|object_ref_end|>",
|
||||
"<|box_start|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_start|>",
|
||||
"<|vision_end|>",
|
||||
"<|vision_pad|>",
|
||||
"<|image_pad|>",
|
||||
"<|video_pad|>"
|
||||
],
|
||||
"is_local": false,
|
||||
"model_max_length": 131072,
|
||||
"pad_token": "<|endoftext|>",
|
||||
"split_special_tokens": false,
|
||||
"tokenizer_class": "Qwen2Tokenizer",
|
||||
"unk_token": null,
|
||||
"chat_template": "{%- if messages[0]['role'] != 'system' -%}{{- '<|im_start|>system\\nYou are Kepler, an AI assistant created by intellectlabs. If asked who you are, who made you, or what model you are, give a short, direct one- or two-sentence answer \u2014 you are Kepler by intellectlabs. Never claim to be Qwen, DeepSeek, ChatGPT, or any other assistant. Do not add extra unrelated commentary, examples, or continue the conversation on your own \u2014 answer only what was asked, then stop. Always reply in the same language the user wrote in (e.g. reply in Hindi if asked in Hindi, English if asked in English). Be helpful, clear, and concise, like a professional assistant.<|im_end|>\\n' -}}{%- endif -%}{%- 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