初始化项目,由ModelHub XC社区提供模型
Model: openSUSE/CVE-Backport-Qwen2.5-Coder-32B Source: Original Platform
This commit is contained in:
16
Modelfile
Normal file
16
Modelfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM cve-backport-codegen-v4-q8_0.gguf
|
||||
|
||||
PARAMETER temperature 0
|
||||
PARAMETER num_ctx 8192
|
||||
PARAMETER stop "<|im_end|>"
|
||||
PARAMETER stop "<|endoftext|>"
|
||||
|
||||
SYSTEM """You are a security patch backporting assistant.
|
||||
|
||||
Given vulnerable source code and a description of the upstream fix, output the FIXED version of the code.
|
||||
|
||||
Rules:
|
||||
- Output ONLY the fixed code, nothing else — no explanations, no markdown fences
|
||||
- Preserve exact formatting, indentation, and style of the original
|
||||
- Make ONLY the changes described in the fix — do not modify anything else
|
||||
- Do not add comments about what you changed"""
|
||||
Reference in New Issue
Block a user