Instructions to use mastomi/bachuntr-gemma4-26b-q4km 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 mastomi/bachuntr-gemma4-26b-q4km 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 mastomi/bachuntr-gemma4-26b-q4km # Run inference directly in the terminal: llama cli -hf mastomi/bachuntr-gemma4-26b-q4km
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mastomi/bachuntr-gemma4-26b-q4km # Run inference directly in the terminal: llama cli -hf mastomi/bachuntr-gemma4-26b-q4km
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 mastomi/bachuntr-gemma4-26b-q4km # Run inference directly in the terminal: ./llama-cli -hf mastomi/bachuntr-gemma4-26b-q4km
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 mastomi/bachuntr-gemma4-26b-q4km # Run inference directly in the terminal: ./build/bin/llama-cli -hf mastomi/bachuntr-gemma4-26b-q4km
Use Docker
docker model run hf.co/mastomi/bachuntr-gemma4-26b-q4km
- LM Studio
- Jan
- Ollama
How to use mastomi/bachuntr-gemma4-26b-q4km with Ollama:
ollama run hf.co/mastomi/bachuntr-gemma4-26b-q4km
- Unsloth Studio
How to use mastomi/bachuntr-gemma4-26b-q4km 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 mastomi/bachuntr-gemma4-26b-q4km 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 mastomi/bachuntr-gemma4-26b-q4km to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mastomi/bachuntr-gemma4-26b-q4km to start chatting
- Pi
How to use mastomi/bachuntr-gemma4-26b-q4km with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mastomi/bachuntr-gemma4-26b-q4km
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": "mastomi/bachuntr-gemma4-26b-q4km" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use mastomi/bachuntr-gemma4-26b-q4km with Docker Model Runner:
docker model run hf.co/mastomi/bachuntr-gemma4-26b-q4km
- Lemonade
How to use mastomi/bachuntr-gemma4-26b-q4km with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mastomi/bachuntr-gemma4-26b-q4km
Run and chat with the model
lemonade run user.bachuntr-gemma4-26b-q4km-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use mastomi/bachuntr-gemma4-26b-q4km with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mastomi/bachuntr-gemma4-26b-q4km
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 mastomi/bachuntr-gemma4-26b-q4km
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use mastomi/bachuntr-gemma4-26b-q4km with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mastomi/bachuntr-gemma4-26b-q4km
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 "mastomi/bachuntr-gemma4-26b-q4km" \ --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"
How to use from
Unsloth StudioInstall 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 mastomi/bachuntr-gemma4-26b-q4km to start chattingUsing HuggingFace Spaces for Unsloth
# No setup required# Open https://huggingface.co/spaces/unsloth/studio in your browser
# Search for mastomi/bachuntr-gemma4-26b-q4km to start chattingQuick Links
bachuntr-gemma4-26b-q4km
Fine-tuned Gemma 4 26B-A4B-it (MoE, 4B active params) for automated web security scanning and vulnerability discovery.
Model Details
- Base:
google/gemma-4-26b-a4b-it(26B total, 4B active MoE) - Fine-tuning: LoRA rank 32, alpha 32 on attention + MoE expert layers
- Trainable params: 37M / 25.8B (0.14%)
- Training data: 176 distilled security scanning sessions (discoverer, exploiter, verifier, reporter agents)
- Epochs: 2 (44 steps, batch=8, lr=2e-4 cosine)
- Final loss: 0.46 avg, 0.33 last step
- Max seq length: 8,192 tokens
- Quantization: q4_k_m (5.32 BPW) via llama.cpp
Files
| File | Size | Description |
|---|---|---|
bachuntr-gemma4-26b-q4km.gguf |
16 GB | q4_k_m quantized GGUF for Ollama/llama.cpp |
lora_adapter/ |
142 MB | Raw LoRA adapter (PEFT) for further fine-tuning |
Usage with Ollama
# Download the GGUF file, then create Modelfile:
cat > Modelfile << 'MF'
FROM ./bachuntr-gemma4-26b-q4km.gguf
PARAMETER temperature 0.3
PARAMETER top_p 0.9
PARAMETER num_ctx 8192
SYSTEM "You are bachuntr, an expert web application security scanner. You analyze targets for vulnerabilities including authentication bypass, IDOR, SSRF, XSS, SQLi, business logic flaws, and more. You use browser automation tools to discover and verify security issues."
MF
ollama create bachuntr -f Modelfile
ollama run bachuntr
Training Loss Curve
| Step | Loss | Epoch |
|---|---|---|
| 1 | 1.073 | 0.05 |
| 5 | 0.834 | 0.23 |
| 10 | 0.344 | 0.50 |
| 15 | 0.484 | 0.68 |
| 22 | 0.283 | 1.00 |
| 30 | 0.301 | 1.36 |
| 40 | 0.331 | 1.82 |
| 44 | 0.330 | 2.00 |
Hardware
- Trained on NVIDIA A100-SXM4-80GB (RunPod)
- Training time: ~56 minutes
- Inference: runs on RTX 3090 24GB with Ollama (q4_k_m)
Part of
bachuntr - AI-powered web application security scanner with multi-agent architecture.
- Downloads last month
- 31
Hardware compatibility
Log In to add your hardware
We're not able to determine the quantization variants.
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Install Unsloth Studio (macOS, Linux, WSL)
# Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mastomi/bachuntr-gemma4-26b-q4km to start chatting