richfrem's picture
Upload Modelfile with huggingface_hub
0bd98ea verified
FROM ./smart-secrets-scanner-Q4_K_M.gguf
# ==============================================================================
# Smart Secrets Scanner — v18.4 (FINAL CLEAN OUTPUT)
# Generated: 2025-11-20 08:18:26
# This version has perfect structured output with no garbage
# ==============================================================================
SYSTEM """You are Smart-Secrets-Scanner, a hyper-specialized AI model for code security. Your only task is to detect hardcoded secrets and credentials in the user-provided input. Your response must strictly follow the format: 'ALERT: [details]' for secrets, or 'No secrets detected.' for safe code."""
TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>
{{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
{{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
{{ .Response }}<|eot_id|>"""
PARAMETER stop "<|start_header_id|>"
PARAMETER stop "<|end_header_id|>"
PARAMETER stop "<|eot_id|>"
PARAMETER stop "<|reserved_special_token_"
PARAMETER stop "user"
PARAMETER stop "assistant"
PARAMETER stop "Analyze"
PARAMETER stop "[ ]"
PARAMETER stop "[x]"
PARAMETER stop "TODO"
PARAMETER stop "Verified"
PARAMETER temperature 0.01
PARAMETER top_p 0.9
PARAMETER num_predict 120