初始化项目,由ModelHub XC社区提供模型
Model: hipnologo/my-llm-from-scratch Source: Original Platform
This commit is contained in:
23
Modelfile
Normal file
23
Modelfile
Normal file
@@ -0,0 +1,23 @@
|
||||
# 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"
|
||||
Reference in New Issue
Block a user