GGUF
English
Spanish
security
cybersecurity
offensive-security
dpo
gemma
gemma-4
p0g
exploit-development
malware-research
thinking
chain-of-thought
conversational
Instructions to use BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 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 BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 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 BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 # Run inference directly in the terminal: llama cli -hf BugTraceAI/BugTraceAI-Apex-G4-26B-Q4
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 # Run inference directly in the terminal: llama cli -hf BugTraceAI/BugTraceAI-Apex-G4-26B-Q4
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 BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 # Run inference directly in the terminal: ./llama-cli -hf BugTraceAI/BugTraceAI-Apex-G4-26B-Q4
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 BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 # Run inference directly in the terminal: ./build/bin/llama-cli -hf BugTraceAI/BugTraceAI-Apex-G4-26B-Q4
Use Docker
docker model run hf.co/BugTraceAI/BugTraceAI-Apex-G4-26B-Q4
- LM Studio
- Jan
- Ollama
How to use BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 with Ollama:
ollama run hf.co/BugTraceAI/BugTraceAI-Apex-G4-26B-Q4
- Unsloth Studio
How to use BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 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 BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 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 BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 to start chatting
- Pi
How to use BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf BugTraceAI/BugTraceAI-Apex-G4-26B-Q4
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": "BugTraceAI/BugTraceAI-Apex-G4-26B-Q4" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf BugTraceAI/BugTraceAI-Apex-G4-26B-Q4
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "BugTraceAI/BugTraceAI-Apex-G4-26B-Q4" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 with Docker Model Runner:
docker model run hf.co/BugTraceAI/BugTraceAI-Apex-G4-26B-Q4
- Lemonade
How to use BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull BugTraceAI/BugTraceAI-Apex-G4-26B-Q4
Run and chat with the model
lemonade run user.BugTraceAI-Apex-G4-26B-Q4-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use BugTraceAI/BugTraceAI-Apex-G4-26B-Q4 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf BugTraceAI/BugTraceAI-Apex-G4-26B-Q4
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 BugTraceAI/BugTraceAI-Apex-G4-26B-Q4
Run Hermes
hermes
- Atomic Chat
Remove CORE prefix: Apex is reasoning, CORE lineup is tooling
Browse files
README.md
CHANGED
|
@@ -16,14 +16,14 @@ tags:
|
|
| 16 |
- thinking
|
| 17 |
- chain-of-thought
|
| 18 |
base_model: TrevorJS/gemma-4-26B-A4B-it-uncensored
|
| 19 |
-
model_name: BugTraceAI-
|
| 20 |
---
|
| 21 |
|
| 22 |
-
# 🌋 BugTraceAI-
|
| 23 |
|
| 24 |
**The Apex Predator of Offensive Security Reasoning.**
|
| 25 |
|
| 26 |
-
BugTraceAI-
|
| 27 |
|
| 28 |
Unlike standard security models, the Apex variant features an injected **Opus-style reasoning engine**, forcing the model to perform a deep step-by-step analysis inside a `<thinking>` block before providing technical payloads or remediation strategies.
|
| 29 |
|
|
@@ -48,7 +48,7 @@ To maximize reasoning performance and reduce VRAM overhead, we have **manually s
|
|
| 48 |
| :--- | :--- |
|
| 49 |
| **Organization** | BugTraceAI |
|
| 50 |
| **Framework** | BugTraceAI Apex Security Framework |
|
| 51 |
-
| **Variant** | BugTraceAI-
|
| 52 |
| **Parameter Scale** | 26B (Mixture of Experts) |
|
| 53 |
| **Architecture** | Gemma 4 (Text-Only Optimized) |
|
| 54 |
| **Fine-tuning** | DPO (Direct Preference Optimization) |
|
|
@@ -110,6 +110,18 @@ PARAMETER temperature 0.1
|
|
| 110 |
PARAMETER top_p 0.9
|
| 111 |
```
|
| 112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
### 🐍 Usage in Google Colab (llama-cpp-python)
|
| 114 |
|
| 115 |
If you are using the "Open in Colab" button on Hugging Face, replace the generation cell with the following code to ensure the **Apex Reasoning Engine** and precise parameters are activated:
|
|
|
|
| 16 |
- thinking
|
| 17 |
- chain-of-thought
|
| 18 |
base_model: TrevorJS/gemma-4-26B-A4B-it-uncensored
|
| 19 |
+
model_name: BugTraceAI-G4-Apex
|
| 20 |
---
|
| 21 |
|
| 22 |
+
# 🌋 BugTraceAI-G4-Apex (26B MoE)
|
| 23 |
|
| 24 |
**The Apex Predator of Offensive Security Reasoning.**
|
| 25 |
|
| 26 |
+
BugTraceAI-G4-Apex is a high-performance, uncensored 26B Mixture-of-Experts (MoE) model based on Gemma 4 architecture. It has been meticulously fine-tuned via **DPO (Direct Preference Optimization)** on a curated "Super Dataset" comprising elite Bug Bounty reports, advanced malware methodologies, and multi-layer WAF evasion techniques.
|
| 27 |
|
| 28 |
Unlike standard security models, the Apex variant features an injected **Opus-style reasoning engine**, forcing the model to perform a deep step-by-step analysis inside a `<thinking>` block before providing technical payloads or remediation strategies.
|
| 29 |
|
|
|
|
| 48 |
| :--- | :--- |
|
| 49 |
| **Organization** | BugTraceAI |
|
| 50 |
| **Framework** | BugTraceAI Apex Security Framework |
|
| 51 |
+
| **Variant** | BugTraceAI-G4-Apex |
|
| 52 |
| **Parameter Scale** | 26B (Mixture of Experts) |
|
| 53 |
| **Architecture** | Gemma 4 (Text-Only Optimized) |
|
| 54 |
| **Fine-tuning** | DPO (Direct Preference Optimization) |
|
|
|
|
| 110 |
PARAMETER top_p 0.9
|
| 111 |
```
|
| 112 |
|
| 113 |
+
### 🖥️ LM Studio Deployment Guide (IMPORTANT)
|
| 114 |
+
|
| 115 |
+
> ⚠️ **WARNING - AVOID COUNTERFEIT QUANTS:** We are aware of third-party repositories uploading broken GGUF versions of this model with inflated metadata (256k context). Those versions **WILL FAIL TO LOAD** on 12GB/16GB VRAM cards due to extreme memory allocation. Always use the official BugTraceAI files hosted here to ensure the architecture is correctly formatted.
|
| 116 |
+
|
| 117 |
+
When loading the GGUF file in LM Studio (Version 0.4.11 or higher required), you **must manually limit the context** to prevent VRAM allocation crashes caused by the architecture's native 256k context capacity.
|
| 118 |
+
|
| 119 |
+
1. Load the model and locate the settings panel on the right.
|
| 120 |
+
2. Set **Context Length** to `8192` (or up to `16384` if you have 24GB+ VRAM).
|
| 121 |
+
3. Set **GPU Offload** to `10-14` (for 12GB VRAM cards like RTX 3060).
|
| 122 |
+
4. Ensure **Unified KV Cache** is turned **OFF**.
|
| 123 |
+
5. Click Load.
|
| 124 |
+
|
| 125 |
### 🐍 Usage in Google Colab (llama-cpp-python)
|
| 126 |
|
| 127 |
If you are using the "Open in Colab" button on Hugging Face, replace the generation cell with the following code to ensure the **Apex Reasoning Engine** and precise parameters are activated:
|