初始化项目,由ModelHub XC社区提供模型

Model: Phani1479432/rocky-gemma-2b
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-09 08:57:10 +08:00
commit b0ddf2b1b8
23 changed files with 547 additions and 0 deletions

14
Modelfile Normal file
View 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>"