mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-18 04:40:35 +08:00
[model] add models (#7054)
* add qwen25vl awq models
* add moonlight
Former-commit-id: ec1a1bc118
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user