初始化项目,由ModelHub XC社区提供模型
Model: Phani1479432/rocky-gemma-2b Source: Original Platform
This commit is contained in:
14
Modelfile
Normal file
14
Modelfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM hf.co/Phani1479432/rocky-gemma-2b:rocky-q4_k_m.gguf
|
||||
|
||||
# Custom template to match Gemma 2 formatting and Rocky training prefix
|
||||
TEMPLATE """{{- if .Prompt }}<start_of_turn>user
|
||||
Speak like Rocky.
|
||||
|
||||
{{ .Prompt }}<end_of_turn>
|
||||
{{- end }}<start_of_turn>model
|
||||
{{ .Response }}<end_of_turn>
|
||||
"""
|
||||
|
||||
# Set stop tokens
|
||||
PARAMETER stop "<start_of_turn>"
|
||||
PARAMETER stop "<end_of_turn>"
|
||||
Reference in New Issue
Block a user