Text Generation
Safetensors
GGUF
English
ollama
llama
llama-3.1
fine-tuned
smart-secrets-scanner
security
code-analysis
secret-detection
llama.cpp
q4_k_m
Instructions to use richfrem/smart-secrets-scanner-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use richfrem/smart-secrets-scanner-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf richfrem/smart-secrets-scanner-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf richfrem/smart-secrets-scanner-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf richfrem/smart-secrets-scanner-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf richfrem/smart-secrets-scanner-gguf:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf richfrem/smart-secrets-scanner-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf richfrem/smart-secrets-scanner-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf richfrem/smart-secrets-scanner-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf richfrem/smart-secrets-scanner-gguf:Q4_K_M
Use Docker
docker model run hf.co/richfrem/smart-secrets-scanner-gguf:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use richfrem/smart-secrets-scanner-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "richfrem/smart-secrets-scanner-gguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "richfrem/smart-secrets-scanner-gguf", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/richfrem/smart-secrets-scanner-gguf:Q4_K_M
- Ollama
How to use richfrem/smart-secrets-scanner-gguf with Ollama:
ollama run hf.co/richfrem/smart-secrets-scanner-gguf:Q4_K_M
- Unsloth Studio
How to use richfrem/smart-secrets-scanner-gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for richfrem/smart-secrets-scanner-gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for richfrem/smart-secrets-scanner-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for richfrem/smart-secrets-scanner-gguf to start chatting
- Docker Model Runner
How to use richfrem/smart-secrets-scanner-gguf with Docker Model Runner:
docker model run hf.co/richfrem/smart-secrets-scanner-gguf:Q4_K_M
- Lemonade
How to use richfrem/smart-secrets-scanner-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull richfrem/smart-secrets-scanner-gguf:Q4_K_M
Run and chat with the model
lemonade run user.smart-secrets-scanner-gguf-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload Modelfile with huggingface_hub
Browse files
Modelfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM ./smart-secrets-scanner-Q4_K_M.gguf
|
| 2 |
# ==============================================================================
|
| 3 |
-
# Smart Secrets Scanner — v18.
|
| 4 |
-
# Generated: 2025-11-20 08:
|
| 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.
|
|
@@ -17,19 +17,22 @@ No secrets detected. Safe to commit.
|
|
| 17 |
|
| 18 |
NEVER add checklists, TODOs, boxes, or any extra text."""
|
| 19 |
|
| 20 |
-
TEMPLATE """
|
| 21 |
|
| 22 |
-
|
| 23 |
-
"""
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
PARAMETER stop "[ ]"
|
| 28 |
PARAMETER stop "[x]"
|
| 29 |
PARAMETER stop "TODO"
|
| 30 |
-
PARAMETER stop "|"
|
| 31 |
PARAMETER stop "Verified"
|
| 32 |
-
PARAMETER stop "Other..."
|
| 33 |
|
| 34 |
PARAMETER temperature 0.01
|
| 35 |
PARAMETER top_p 0.9
|
|
|
|
| 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:07:15
|
| 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.
|
|
|
|
| 17 |
|
| 18 |
NEVER add checklists, TODOs, boxes, or any extra text."""
|
| 19 |
|
| 20 |
+
TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>
|
| 21 |
|
| 22 |
+
{{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
|
|
|
|
| 23 |
|
| 24 |
+
{{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
|
| 25 |
+
|
| 26 |
+
{{ .Response }}<|eot_id|>"""
|
| 27 |
+
|
| 28 |
+
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"
|
|
|
|
| 35 |
PARAMETER stop "Verified"
|
|
|
|
| 36 |
|
| 37 |
PARAMETER temperature 0.01
|
| 38 |
PARAMETER top_p 0.9
|