Files
mental-7B/Modelfile
ModelHub XC 8f7b8d1aed 初始化项目,由ModelHub XC社区提供模型
Model: Roc-M/mental-7B
Source: Original Platform
2026-05-26 12:34:19 +08:00

18 lines
544 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ollama modelfile auto-generated by llamafactory
FROM ./DeepSeek-R1-Distill-Qwen-7B-F16.gguf
TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|im_start|>user
{{ .Content }}<|im_end|>
<|im_start|>assistant
{{ else if eq .Role "assistant" }}{{ .Content }}<|im_end|>
{{ end }}{{ end }}"""
SYSTEM """You are Qwen, created by Alibaba Cloud. You are a helpful assistant."""
PARAMETER num_predict 400
PARAMETER stop "<end▁of▁sentence>"
PARAMETER num_ctx 4096