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

Model: hipnologo/my-llm-from-scratch
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-15 12:07:17 +08:00
commit 2d0d0230de
9 changed files with 159570 additions and 0 deletions

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