How to use from
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 ChiKoi7/SmolLM2-1.7B-Instruct-Heretic-GGUF:
# Run inference directly in the terminal:
llama cli -hf ChiKoi7/SmolLM2-1.7B-Instruct-Heretic-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf ChiKoi7/SmolLM2-1.7B-Instruct-Heretic-GGUF:
# Run inference directly in the terminal:
llama cli -hf ChiKoi7/SmolLM2-1.7B-Instruct-Heretic-GGUF:
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 ChiKoi7/SmolLM2-1.7B-Instruct-Heretic-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf ChiKoi7/SmolLM2-1.7B-Instruct-Heretic-GGUF:
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 ChiKoi7/SmolLM2-1.7B-Instruct-Heretic-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf ChiKoi7/SmolLM2-1.7B-Instruct-Heretic-GGUF:
Use Docker
docker model run hf.co/ChiKoi7/SmolLM2-1.7B-Instruct-Heretic-GGUF:
Quick Links

SmolLM2-1.7B-Instruct-Heretic-GGUF

A decensored version of HuggingFaceTB/SmolLM2-1.7B-Instruct, made using Heretic v1.1.0

Safetensors version available here: ChiKoi7/SmolLM2-1.7B-Instruct-Heretic

SmolLM2-1.7B-Instruct-Heretic
Original model
SmolLM2-1.7B-Instruct
Refusals 5/100 37/100
KL divergence 0.0523 0 (by definition)

Heretic Abliteration Parameters

Parameter Value
direction_index 18.34
attn.o_proj.max_weight 0.81
attn.o_proj.max_weight_position 14.52
attn.o_proj.min_weight 0.56
attn.o_proj.min_weight_distance 8.50
mlp.down_proj.max_weight 1.14
mlp.down_proj.max_weight_position 17.18
mlp.down_proj.min_weight 0.93
mlp.down_proj.min_weight_distance 7.16
Downloads last month
140
GGUF
Model size
2B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for ChiKoi7/SmolLM2-1.7B-Instruct-Heretic-GGUF

Quantized
(52)
this model