Files
ModelHub XC 078bb5f6b6 初始化项目,由ModelHub XC社区提供模型
Model: Fordentinc/book-builder-bookwriter-v1
Source: Original Platform
2026-08-05 12:49:18 +08:00

35 lines
921 B
Plaintext

# Modelfile for book-builder-bookwriter-v1.
# Defaults tuned to prevent both repetition loops AND synonym-chain runaway.
#
# Use with:
# ollama pull hf.co/Fordentinc/book-builder-bookwriter-v1:F16
# ollama create bookbuilder -f Modelfile
# ollama run bookbuilder < your_bible.txt
#
# Change FROM to :Q8_0 or :Q5_K_M for smaller / faster, but F16 has the
# cleanest token decoding.
FROM hf.co/Fordentinc/book-builder-bookwriter-v1:F16
# Raw completion - no chat wrap.
TEMPLATE """{{ .Prompt }}"""
SYSTEM ""
# Sampling
PARAMETER temperature 0.8
PARAMETER top_p 0.92
PARAMETER top_k 40
PARAMETER min_p 0.05
PARAMETER repeat_penalty 1.08
PARAMETER repeat_last_n 128
# Length and context
PARAMETER num_ctx 8192
PARAMETER num_predict 2500
# Stop before the model invents a Chapter 2 or restarts the bible
PARAMETER stop "### Chapter"
PARAMETER stop "Chapter 2:"
PARAMETER stop "### Bible"
PARAMETER stop "### Genre"