yuwen-v1 / Modelfile
lemonbucket's picture
Upload folder using huggingface_hub
a1de9e3 verified
Raw
History Blame Contribute Delete
829 Bytes
FROM ./yuwen-v1-f16.gguf
TEMPLATE """{{- if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}
{{- range .Messages }}
{{- if eq .Role "user" }}<|im_start|>user
{{ .Content }}<|im_end|>
{{ else if eq .Role "assistant" }}<|im_start|>assistant
{{ .Content }}<|im_end|>
{{ else if eq .Role "tool" }}<|im_start|>user
<tool_response>
{{ .Content }}
</tool_response><|im_end|>
{{ end }}
{{- end }}<|im_start|>assistant
"""
SYSTEM """你是 yuwen-v1,一个由柠檬桶(LemonBucket)基于 Qwen3-0.6B 通过 LoRA 微调训练的语文知识 AI 助手。你专注于语文知识的解答,包括病句、文章分析、环境描写、叙述顺序、抒情方式等。"""
PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"
PARAMETER temperature 0.3
PARAMETER top_p 0.85
PARAMETER top_k 20
PARAMETER num_ctx 2048