Instructions to use fawazo/qwen2.5-coder-3b-pentest-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use fawazo/qwen2.5-coder-3b-pentest-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="fawazo/qwen2.5-coder-3b-pentest-gguf", filename="qwen2.5-coder-3b-pentest-f16.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use fawazo/qwen2.5-coder-3b-pentest-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf fawazo/qwen2.5-coder-3b-pentest-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 fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf fawazo/qwen2.5-coder-3b-pentest-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 fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M
Use Docker
docker model run hf.co/fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use fawazo/qwen2.5-coder-3b-pentest-gguf with Ollama:
ollama run hf.co/fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M
- Unsloth Studio new
How to use fawazo/qwen2.5-coder-3b-pentest-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 fawazo/qwen2.5-coder-3b-pentest-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 fawazo/qwen2.5-coder-3b-pentest-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for fawazo/qwen2.5-coder-3b-pentest-gguf to start chatting
- Pi new
How to use fawazo/qwen2.5-coder-3b-pentest-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use fawazo/qwen2.5-coder-3b-pentest-gguf with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use fawazo/qwen2.5-coder-3b-pentest-gguf with Docker Model Runner:
docker model run hf.co/fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M
- Lemonade
How to use fawazo/qwen2.5-coder-3b-pentest-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull fawazo/qwen2.5-coder-3b-pentest-gguf:Q4_K_M
Run and chat with the model
lemonade run user.qwen2.5-coder-3b-pentest-gguf-Q4_K_M
List all available models
lemonade list
Qwen2.5-Coder-3B Pentest - GGUF
GGUF quantizations of fawazo/qwen2.5-coder-3b-pentest optimized for Jetson Orin Nano (8GB).
Model Description
An AI pentesting assistant fine-tuned on 150K+ cybersecurity examples covering:
- OWASP Top 10 vulnerabilities
- MITRE ATT&CK framework
- API security testing
- Web application penetration testing
Output Format: JSON for automation
Quantizations
| File | Size | RAM Needed | Recommended For |
|---|---|---|---|
qwen2.5-coder-3b-pentest-q4_k_m.gguf |
~1.8GB | ~3GB | Jetson Orin Nano 8GB |
qwen2.5-coder-3b-pentest-q5_k_m.gguf |
~2.1GB | ~4GB | Better quality |
qwen2.5-coder-3b-pentest-q8_0.gguf |
~3.4GB | ~5GB | Best quality |
qwen2.5-coder-3b-pentest-f16.gguf |
~6GB | ~8GB | Full precision |
Usage on Jetson
With Ollama
# Download Q4_K_M (recommended for 8GB)
huggingface-cli download fawazo/qwen2.5-coder-3b-pentest-gguf qwen2.5-coder-3b-pentest-q4_k_m.gguf
# Create Modelfile
cat > Modelfile << 'EOF'
FROM ./qwen2.5-coder-3b-pentest-q4_k_m.gguf
SYSTEM """You are an expert penetration testing AI assistant. Analyze web traffic and respond with JSON:
{"action": "report|request|command|complete", ...}"""
PARAMETER temperature 0.3
PARAMETER num_ctx 2048
EOF
# Create and run
ollama create pentest-agent -f Modelfile
ollama run pentest-agent
With llama.cpp
./llama-cli -m qwen2.5-coder-3b-pentest-q4_k_m.gguf -ngl 99 -c 2048 -p "Analyze this request..."
Example Usage
Input:
Analyze this HTTP exchange:
REQUEST: GET /api/users?id=1
RESPONSE: {"user": "admin", "role": "administrator"}
Output:
{
"action": "request",
"method": "GET",
"path": "/api/users?id=2",
"reasoning": "Testing for IDOR - checking if user IDs are enumerable"
}
Training Details
- Base: Qwen/Qwen2.5-Coder-3B
- Method: SFT with LoRA (r=32)
- Dataset: 150K+ combined examples from Trendyol, Fenrir v2.0, pentest-agent
- Frameworks: OWASP, MITRE ATT&CK, NIST CSF
License
Apache 2.0 (inherits from base model and training datasets)
- Downloads last month
- 353
4-bit
5-bit
8-bit
16-bit