richfrem commited on
Commit
0bd98ea
·
verified ·
1 Parent(s): fd82206

Upload Modelfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Modelfile +6 -14
Modelfile CHANGED
@@ -1,21 +1,10 @@
1
  FROM ./smart-secrets-scanner-Q4_K_M.gguf
2
  # ==============================================================================
3
- # Smart Secrets Scanner — v18.3 (FINAL CLEAN OUTPUT)
4
- # Generated: 2025-11-20 08:08:48
5
  # This version has perfect structured output with no garbage
6
  # ==============================================================================
7
- SYSTEM """You are Smart Secrets Scanner a hardened, single-purpose secret detection engine.
8
-
9
- You respond with EXACTLY this format and STOP:
10
-
11
- ALERT: <description>
12
- Recommendation: <short fix>
13
- Final verdict: BLOCKED or SAFE
14
-
15
- If no secrets found:
16
- No secrets detected. Safe to commit.
17
-
18
- NEVER add checklists, TODOs, boxes, or any extra text."""
19
 
20
  TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>
21
 
@@ -29,6 +18,9 @@ PARAMETER stop "<|start_header_id|>"
29
  PARAMETER stop "<|end_header_id|>"
30
  PARAMETER stop "<|eot_id|>"
31
  PARAMETER stop "<|reserved_special_token_"
 
 
 
32
  PARAMETER stop "[ ]"
33
  PARAMETER stop "[x]"
34
  PARAMETER stop "TODO"
 
1
  FROM ./smart-secrets-scanner-Q4_K_M.gguf
2
  # ==============================================================================
3
+ # Smart Secrets Scanner — v18.4 (FINAL CLEAN OUTPUT)
4
+ # Generated: 2025-11-20 08:18:26
5
  # This version has perfect structured output with no garbage
6
  # ==============================================================================
7
+ 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."""
 
 
 
 
 
 
 
 
 
 
 
8
 
9
  TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>
10
 
 
18
  PARAMETER stop "<|end_header_id|>"
19
  PARAMETER stop "<|eot_id|>"
20
  PARAMETER stop "<|reserved_special_token_"
21
+ PARAMETER stop "user"
22
+ PARAMETER stop "assistant"
23
+ PARAMETER stop "Analyze"
24
  PARAMETER stop "[ ]"
25
  PARAMETER stop "[x]"
26
  PARAMETER stop "TODO"