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

Model: yale-nlp/MDCure-Qwen2-7B-Instruct
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-03 21:58:21 +08:00
commit faab5f1170
16 changed files with 151997 additions and 0 deletions

37
tokenizer_config.json Normal file
View File

@@ -0,0 +1,37 @@
{
"added_tokens_decoder": {
"151643": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151644": {
"content": "<|im_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151645": {
"content": "<|im_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
}
},
"bos_token": null,
"chat_template": "{% for message in messages %}{% if 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' }}{% else %}{{ '<|im_start|>system\n' + message['content'] + '<|im_end|>\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
"clean_up_tokenization_spaces": true,
"eos_token": "<|im_end|>",
"model_max_length": 32768,
"pad_token": "<|endoftext|>",
"padding_side": "left",
"tokenizer_class": "Qwen2Tokenizer",
"unk_token": null
}