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

Model: AbteeXAILab/lumynax-infused-qwen3-text-gguf
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-06 09:18:19 +08:00
commit ca89ce6998
34 changed files with 153601 additions and 0 deletions

9
ollama/Modelfile Normal file
View File

@@ -0,0 +1,9 @@
FROM ../merged_model
TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
"""
PARAMETER temperature 0.1
PARAMETER num_ctx 8192

View File

@@ -0,0 +1,21 @@
param(
[string]$ModelName = "lumynax-infused-qwen3-text-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"