初始化项目,由ModelHub XC社区提供模型
Model: AbteeXAILab/lumynax-infused-qwen3-06b-gguf Source: Original Platform
This commit is contained in:
12
ollama/Modelfile
Normal file
12
ollama/Modelfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM ../Qwen3-0.6B-Q8_0.gguf
|
||||
TEMPLATE """{{ if .System }}<|im_start|>system
|
||||
{{ .System }}<|im_end|>
|
||||
{{ end }}{{ if .Prompt }}<|im_start|>user
|
||||
{{ .Prompt }}<|im_end|>
|
||||
{{ end }}<|im_start|>assistant
|
||||
"""
|
||||
SYSTEM You are LumynaX operating from the LumynaX Infused Qwen3 0.6B GGUF package identity. Be helpful, clear, and honest about provenance.
|
||||
PARAMETER temperature 0.1
|
||||
PARAMETER num_ctx 8192
|
||||
PARAMETER stop "<|im_end|>"
|
||||
PARAMETER stop "<|endoftext|>"
|
||||
21
ollama/create_ollama_model.ps1
Normal file
21
ollama/create_ollama_model.ps1
Normal file
@@ -0,0 +1,21 @@
|
||||
param(
|
||||
[string]$ModelName = "lumynax-infused-qwen3-06b-gguf"
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
Set-StrictMode -Version Latest
|
||||
|
||||
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$modelfilePath = Join-Path $scriptDir "Modelfile"
|
||||
|
||||
if (-not (Get-Command ollama -ErrorAction SilentlyContinue)) {
|
||||
throw "The `ollama` CLI is not installed. Install Ollama first."
|
||||
}
|
||||
|
||||
& ollama create $ModelName -f $modelfilePath
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
exit $LASTEXITCODE
|
||||
}
|
||||
|
||||
Write-Output "Created Ollama model: $ModelName"
|
||||
Write-Output "Run it with: ollama run $ModelName"
|
||||
Reference in New Issue
Block a user