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
File size: 1,307 Bytes
984a492 2c65f41 0bd98ea 2c65f41 0bd98ea 5f4c7d4 0ff2e08 9ebbf2e 0ff2e08 9ebbf2e 0ff2e08 0bd98ea 9ebbf2e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 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
|