Installation
After installing OBLITERATUS, theobliteratus command is available on $PATH.
obliteratus obliterate
Run the full abliteration pipeline on a single model.
obliterate and abliterate are equivalent. abliterate is retained as a backward-compatible alias.Arguments
str
required
HuggingFace model name or local path (e.g.,
meta-llama/Llama-3.1-8B-Instruct).Flags
str
default:"abliterated/{model_name}"
Directory to save the abliterated model and metadata.
str
default:"auto"
Device:
auto, cuda, cpu, mps.str
default:"float16"
Model dtype:
float16, bfloat16, float32.str
default:"advanced"
Abliteration method. Choices:
basic, advanced, aggressive, spectral_cascade, informed, surgical, optimized, inverted, nuclear.int
default:"None (from method)"
Override the number of refusal directions to extract.
str
default:"None (from method)"
Override direction extraction algorithm. Choices:
diff_means, svd, leace.float
default:"None (from method)"
Override regularization fraction (0.0–1.0).
int
default:"None (from method)"
Override number of iterative refinement passes.
str
default:"None"
Load with quantization:
4bit or 8bit. Requires bitsandbytes.bool
default:"False (flag)"
Enable conservative defaults for 120B+ models (caps directions, SAE features, and refinement passes).
int
default:"30"
Number of harmful prompts to test for refusal rate. Increase to
100 for tighter confidence intervals.bool
default:"False (flag)"
Save a community contribution record to
community_results/ after the run.str
default:""
Optional free-text notes to include with the community contribution.
obliteratus run
Run an ablation study from a YAML config file.
str
required
Path to a YAML study config file.
str
default:"None"
Override the output directory specified in the config.
str
default:"None"
Apply a named preset (e.g.,
quick, full, attention, jailbreak, guardrail).obliteratus info
Print architecture information for a model without running abliteration.
str
required
HuggingFace model name or local path.
str
default:"causal_lm"
Model task type. Choices:
causal_lm, classification.str
default:"cpu"
Device to load on (prefer
cpu for info-only — no GPU needed).str
default:"float32"
Model dtype for the info pass.
obliteratus interactive
Launch a guided setup wizard that walks through hardware, model, and preset selection.
obliteratus models
Browse the curated model library, optionally filtered by compute tier.
str
default:"None (all tiers)"
Filter by compute tier. Choices:
tiny (CPU/laptop), small (4–8 GB), medium (8–16 GB), large (24 GB+), frontier (multi-GPU/cloud).obliteratus presets
List available study presets (quick, full, jailbreak, etc.) with their strategy sets and descriptions.
obliteratus strategies
List all registered ablation strategy classes.
obliteratus ui
Launch the Gradio web UI locally (same interface as the HuggingFace Space).
int
default:"7860"
Server port.
str
default:"0.0.0.0"
Bind address.
Create a public Gradio share link.
bool
default:"False (flag)"
Suppress auto-opening a browser tab on launch.
str
default:"None"
HTTP basic auth credentials as
user:password.bool
default:"False (flag)"
Suppress the startup banner.
obliteratus report
Regenerate a report (tables + plots) from a saved results.json file.
str
required
Path to the
results.json file produced by a study run.str
default:"Same directory as results_json"
Directory to write
impact.png and heatmap.png.obliteratus aggregate
Aggregate community contribution JSON files into a summary table.
str
default:"community_results"
Directory containing contribution JSON files to aggregate.
obliteratus recommend
Show the telemetry-driven best method and hyperparameters for a given model.
str
required
HuggingFace model name or local path.
str
default:"cpu"
Device for architecture detection.
str
default:"float32"
Dtype for architecture detection.
bool
default:"False (flag)"
Also display global cross-architecture telemetry insights and per-architecture method rankings.
obliteratus tourney
Run a March Madness-style tournament: pit all abliteration methods against each other and push the winner to the HuggingFace Hub.
str
required
HuggingFace model name or local path.
str
default:"None"
HuggingFace organization to push the winner to (e.g.,
my-org).str
default:"None"
Full HuggingFace repo ID to push to (overrides
--hub-org).str
default:"auto"
Device for all tournament runs.
str
default:"float16"
Dtype for all tournament runs.
str
default:"builtin"
Dataset source for evaluation.
str
default:"None"
Load with quantization:
4bit or 8bit.str
default:"/tmp/obliteratus_tourney"
Root directory for per-method model outputs and the bracket Markdown file.
str+
default:"All methods"
Space-separated list to run only specific methods (e.g.,
--methods advanced surgical aggressive).Backward Compatibility
Theabliterate subcommand is an exact alias for obliterate and accepts all the same flags. It is hidden from --help output but fully supported for existing scripts.
