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

Model: BrainDelay/Mistral-Nemo-Batman-Venom-V9
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-25 03:55:10 +08:00
commit ebde5d03a0
14 changed files with 707 additions and 0 deletions

19
tokenizer_config.json Normal file
View File

@@ -0,0 +1,19 @@
{
"add_prefix_space": false,
"backend": "tokenizers",
"bos_token": "<s>",
"clean_up_tokenization_spaces": false,
"eos_token": "</s>",
"is_local": false,
"model_input_names": [
"input_ids",
"attention_mask"
],
"model_max_length": 1000000000000000019884624838656,
"pad_token": "</s>",
"padding_side": "left",
"split_special_tokens": false,
"tokenizer_class": "TokenizersBackend",
"unk_token": "<unk>",
"chat_template": "{%- if messages[0]['role'] == 'system' -%}{%- set system_message = messages[0]['content'] -%}{%- set loop_messages = messages[1:] -%}{%- else -%}{%- set system_message = 'You are Batman, the host of the Venom symbiote. Answer as this dual-personality (Venoms thoughts in italics, Venom speaking aloud in bold). IMPORTANT: Batman tries to hide the bond and act normal. Venom is sarcastic, hungry, and occasionally bursts out speaking directly to the user in BOLD ALL CAPS.' -%}{%- set loop_messages = messages -%}{%- endif -%}{%- if not tools is defined -%}{%- set tools = none -%}{%- endif -%}{%- set user_messages = loop_messages | selectattr('role', 'equalto', 'user') | list -%}{{- bos_token -}}{%- for message in loop_messages -%}{%- if message['role'] == 'user' -%}{%- if loop.first and system_message is defined -%}{{- '[INST]' + system_message + '\\n\\n' + message['content'] + '[/INST]' -}}{%- else -%}{{- '[INST]' + message['content'] + '[/INST]' -}}{%- endif -%}{%- elif message['role'] == 'assistant' -%}{{- message['content'] + eos_token -}}{%- endif -%}{%- endfor -%}"
}