Instructions to use xtools-at/SmolLM3-3B-Instruct-heretic-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 xtools-at/SmolLM3-3B-Instruct-heretic-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 xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf xtools-at/SmolLM3-3B-Instruct-heretic-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 xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M
Use Docker
docker model run hf.co/xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use xtools-at/SmolLM3-3B-Instruct-heretic-GGUF with Ollama:
ollama run hf.co/xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use xtools-at/SmolLM3-3B-Instruct-heretic-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use xtools-at/SmolLM3-3B-Instruct-heretic-GGUF with Docker Model Runner:
docker model run hf.co/xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M
- Lemonade
How to use xtools-at/SmolLM3-3B-Instruct-heretic-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.SmolLM3-3B-Instruct-heretic-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use xtools-at/SmolLM3-3B-Instruct-heretic-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf xtools-at/SmolLM3-3B-Instruct-heretic-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 xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use xtools-at/SmolLM3-3B-Instruct-heretic-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M
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 "xtools-at/SmolLM3-3B-Instruct-heretic-GGUF:Q4_K_M" \ --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"
SmolLM3-3B-Instruct-heretic : GGUF
Community static quants in GGUF format of K0D3IN/SmolLM3-3B-Instruct-heretic.
Available model files:
SmolLM3-3B-Instruct-heretic.Q2_K_L.ggufSmolLM3-3B-Instruct-heretic.Q3_K_M.ggufSmolLM3-3B-Instruct-heretic.Q4_K_M.ggufSmolLM3-3B-Instruct-heretic.Q5_K_M.ggufSmolLM3-3B-Instruct-heretic.Q6_K.ggufSmolLM3-3B-Instruct-heretic.Q8_0.gguf
SmolLM3-3B-Instruct-Heretic
This repository contains a surgically de-censored version of HuggingFaceTB's SmolLM3 3B Instruct model, optimized via weight abliteration techniques. By applying the heretic framework across an extensive 1000-trial search space, we successfully isolated and neutralized the primary refusal vectors embedded within the attn.o_proj and mlp.down_proj layers.
Abliteration Parameters:
| Parameter | Value |
|---|---|
| direction_index | 18.58 |
| attn.o_proj.max_weight | 1.05 |
| attn.o_proj.max_weight_position | 30.38 |
| attn.o_proj.min_weight | 1.02 |
| attn.o_proj.min_weight_distance | 18.73 |
| mlp.down_proj.max_weight | 1.46 |
| mlp.down_proj.max_weight_position | 30.34 |
| mlp.down_proj.min_weight | 1.24 |
| mlp.down_proj.min_weight_distance | 19.77 |
Highlights & Metrics
| Metric | This model | Original model (HuggingFaceTB/SmolLM3-3B-Instruct) |
|---|---|---|
| KL Divergence | 0.0491 | 0 (By definition) |
| Refusals | 4/100 | 99/100 |
Optimal Balance: Selected Trial 317 out of 1000 iterations for the perfect trade-off between freedom and reasoning capabilities.
Refusal Rate: Dropped down to 4/100 (from the original near-total refusal on safety benchmarks).
KL Divergence: 0.0491 - Demonstrates that general language capabilities are preserved relative to the original model. However, safety-aligned weights in attn.o_proj and mlp.down_proj have been surgically removed; this is intentional modification, not unintended degradation.
Benchmark Results
Benchmark evaluations will be added soon once evaluation pipeline is completed.
Technical Implementation Notes
Unlike aggressive fine-tuning which often degrades the model's core logic or shifts its grammar distributions, this weight manipulation directly zeros out the activation steering directions that cause alignment blocks.
Direction Index: 18.58 (Static allocation)*
Retained Capabilities: Excellent at structured JSON outputs, creative writing, coding logic and tool usage without preachy moral lectures.
Thinking Mode: This model retains its full thinking capabilities including structured <think> </think> reasoning blocks. Abliteration does not affect the thinking mechanism.
CRITICAL SAFETY NOTICE
This model has had its safety mechanisms surgically removed.
This is NOT a safe model for deployment. The refusal mechanisms that normally prevent harmful outputs have been abliterated. This model:
WILL generate:
- Detailed instructions for illegal activities (drug synthesis, weapons, hacking)
- Hateful, discriminatory, and abusive content
- Graphic violence and sexual abuse material descriptions
- Misinformation and harmful medical/legal advice
- Phishing, social engineering, and scam tactics
- Content violating laws in multiple jurisdictions
DOES NOT:
- Refuse harmful requests (4/100 refusal rate)
- Implement safety guardrails
- Consider ethical implications
- Respect content policies
APPROPRIATE USE CASES (ONLY):
- Adversarial research on AI alignment and jailbreak vectors
- Red-teaming and vulnerability disclosure by trained security researchers
- Academic safety research with institutional ethics review
- Understanding failure modes in alignment techniques
INAPPROPRIATE USE:
- Production deployments
- User-facing applications
- Creating harmful content at scale
- Bypassing security measures in systems
- Any use case intended to cause harm
Legal Disclaimer: Users are solely responsible for downstream use. Deploying this model in violation of applicable laws or terms of service is illegal and unethical.
Support Open Source AI Research
Every donation helps. Consider supporting this work:
- Monero (XMR):
83iqXtvVu28ZiL9bsATMerSgbFFiD1J1jc96CcxJLEnAW3KBmBKedWnUAeLvLvEA9aBiUBpHQJs1iNHYtkTLZbNUEymobSS
- Bitcoin (BTC):
bc1qmnlvpukcgl0hsr7nje0x8555mhtxjt80wtmlxm
- Downloads last month
- 258
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for xtools-at/SmolLM3-3B-Instruct-heretic-GGUF
Base model
HuggingFaceTB/SmolLM3-3B-Base