[model] add models (#7054)

* add qwen25vl awq models

* add moonlight

Former-commit-id: ae3be2970fea8a35907202a313ab767381c44916
This commit is contained in:
hoshi-hiyouga
2025-02-24 22:05:13 +08:00
committed by GitHub
parent ee46011b34
commit c1d5073bd3
7 changed files with 44 additions and 0 deletions

View File

@@ -985,6 +985,18 @@ register_template(
)
register_template(
name="moonlight",
format_user=StringFormatter(
slots=["<|im_user|>user<|im_middle|>{{content}}<|im_end|><|im_assistant|>assistant<|im_middle|>"]
),
format_assistant=StringFormatter(slots=["{{content}}<|im_end|>"]),
format_system=StringFormatter(slots=["<|im_system|>system<|im_middle|>{{content}}<|im_end|>"]),
default_system="You are a helpful assistant provided by Moonshot-AI.",
stop_words=["<|im_end|>"],
)
# copied from vicuna template
register_template(
name="llava",