24 lines
593 B
Plaintext
24 lines
593 B
Plaintext
# Ollama Modelfile for my-llm-from-scratch
|
|
# Generated by LLM-from-scratch training pipeline
|
|
#
|
|
# Usage:
|
|
# 1. Copy the GGUF file and this Modelfile to the same directory
|
|
# 2. Run: ollama create my-llm-from-scratch -f Modelfile
|
|
# 3. Run: ollama run my-llm-from-scratch
|
|
|
|
FROM ./model-Q4_K_M.gguf
|
|
|
|
# Model parameters
|
|
PARAMETER temperature 0.8
|
|
PARAMETER top_k 50
|
|
PARAMETER top_p 0.9
|
|
PARAMETER repeat_penalty 1.1
|
|
PARAMETER num_ctx 1024
|
|
PARAMETER stop <|endoftext|>
|
|
|
|
# System template
|
|
TEMPLATE "{{ if .System }}{{ .System }}{{ end }}{{ .Prompt }}"
|
|
|
|
# Model metadata
|
|
LICENSE "Your license here"
|