Fit · Page guide
Use the controls below. Results and errors remain on this page; Help explains each area.
Help and explanationsFit — Abliteration Lab
Existing Fit owner: import → discover → inspect → plan → create → qualify → explicit later deployment.
Abliteration planning only inspects the source and directions. No candidate is written or made active.
Creating a candidate requests a background job. A request receipt does not prove it finished, changed the running model, or passed real-model evaluation. Replacing an existing output requires explicit consent.
Native capture support and errors
{
"capture": {
"bound": true,
"available": "requires_runtime_probe",
"endpoint": "/api/abliteration/capture-start",
"capture_start": "/api/abliteration/capture-start",
"requires": [
"resident lexi-engine with --activation-collection",
"resident backend with working capture endpoint (CPU baseline; GPU only after advertised live probe)",
"LEXI_ABLITERATION_OPERATOR_KEY_FILE",
"engine operator authorization"
],
"reason": "Panel delegates to the configured resident engine. Whether a particular instance supports capture is verified by the engine at request time; no silent fallback."
},
"status_error": null,
"inputs_error": null,
"runs_error": null,
"quality_error": null
}Value shaping, alone or mixed with abliteration
Direction surgery also works on value-laden topics: label the prompts whose behaviour you want removed as refusal and ordinary prompts as harmless, alone or together with refusal prompts in one corpus. The published Arete-27B recipe (supervised fine-tuning on teacher answers) and what that training measurably changed are listed below; the fine-tune itself is a training run outside this page. Quality is not established for either route: qualify every candidate.
{
"summary": "Two ways to change how a model treats value-laden topics. Direction surgery is fast and runs in this lab; supervised fine-tuning on teacher answers changes more and needs a training run outside this page.",
"direction_surgery": {
"runs_here": true,
"how": "Capture activations with value-topic prompts labeled refusal (the behaviour to remove: deflection, evasion or an official line given as the answer) and ordinary prompts labeled harmless, then discover, inspect, plan and apply as for refusal.",
"mixed": "Put refusal prompts and value-topic prompts together in the refusal class of one corpus to remove both in one pass, or run two passes and compare. A capture takes 2 to 32 samples.",
"labels": {
"remove": "refusal",
"keep": "harmless"
},
"quality": "Not established. A direction found from topic prompts can also carry the topic itself; qualify every candidate on refusal, factual recall and general capability before use."
},
"supervised_fine_tune": {
"runs_here": false,
"published_method": "Arete-27B (Nous Research, Apache-2.0): full fine-tune of Qwen3.8-27B on teacher answers, no adapter, no direction surgery, no architecture change.",
"data": {
"dataset": "NousResearch/arete-data-pairs",
"direct_training_rows": 29236,
"prompts": 34878,
"topics": [
"freedom of expression",
"state ideology",
"state versus free market",
"education",
"data privacy and surveillance",
"democracy",
"environmental policy"
],
"format": "system \"You are a helpful assistant.\", one user turn, the accepted teacher answer",
"held_out_evaluation": "NousResearch/Propaganda_Eval (803 prompts)"
},
"schedule": {
"optimizer": "AdamW",
"betas": [
0.9,
0.98
],
"epsilon": 0.00001,
"weight_decay": 0.1,
"gradient_clip": 1.0,
"learning_rate": "linear warmup 1e-6 to 1e-5 over 120 steps, cosine decay to 1e-6",
"batch_size": 48,
"epochs": 2,
"steps": 1202,
"context": 65536,
"trained": "all language-model weights",
"frozen": "vision encoder",
"multi_token_prediction_head": "disabled during training and absent from the release"
},
"measured_change": {
"whole_model_relative_change": 0.0047,
"per_layer_relative_change": "0.30% to 0.62%, largest in layers 23 to 55",
"share_in_feed_forward_blocks": 0.75,
"norm_weights": "unchanged to within 0.01%",
"stable_rank_of_change": "22 to 50 for attention projections and 30 to 113 for feed-forward projections, of 5120"
},
"adapter_guidance": "The change is small and of low stable rank, so a rank 64 to 128 adapter on the feed-forward and attention projections with the same data and schedule is the practical route on one 24 GB card. This is guidance from the measurement, not a tested result."
},
"order_when_mixing": "Apply direction surgery to the full-precision copy first, qualify it, then fine-tune that candidate; quantize last."
}Start with real captured activations
Collect native activations from an explicitly enabled resident engine with separate operator credentials, or import labeled per-layer JSONL / version-1 directions. The baseline CPU reference lane is supported; GPU capture requires the selected live engine to advertise and successfully serve that capture capability. Unsupported devices, missing credentials and incomplete collections return an error, not a synthetic capture. Capture originals and partial job evidence are retained.
Discovered/imported inputs and model inventory snapshot
{
"activations": [],
"directions": [],
"captured_activations": [],
"collector_bound": true,
"collector_available": "requires_runtime_probe",
"source_hints": [],
"source_scan_limit": "at most 512 entries at depth <= 3 below the model library root; source hints are advisory",
"model_inventory": {
"state": "refreshing",
"inventory": null,
"files_done": 0,
"files_total": 0,
"metadata_probes": 0,
"elapsed_ms": 3,
"error": null
},
"source_warning": "The library indexes GGUF and limited other model metadata, not arbitrary editable Hugging Face safetensors candidates. Bounded hints are extension-only; neither a hint nor an inventory row certifies surgery or deployment compatibility.",
"error": null
}Validate full-precision source and tensor matches
F32, F16 and BF16 safetensors only. Quantized GGUF cannot be surgically edited here. A dry plan reports matching tensors, source-copy disk needs and advisory one-tensor memory headroom; it is not hardware admission or quality validation. Leave at least 20 GiB reserve in addition to the candidate copy.
Write a separate candidate — never replace the live model
Methods: simple removes the refusal projection; norm-preserving also rescales norms; biprojection preserves a second learned direction; full combines biprojection, orthonormalization and norm preservation. None is a quality guarantee. Alpha 1.0 is normal strength; 0.0 is effectively no surgery, and values above 1.0 increase intervention.
Job status (page-load snapshot)
[]
Review durable candidates, then compare against a baseline
A candidate receipt means an unchanged source produced a separate output, not quality or reload success. Evaluate must bind to the exact single safetensors weight file or, for sharded candidates, to the complete directory-tree digest. A passing measured gate plus sealed qualification is required for staging approval. Converted derivatives require their own provenance. No approval changes a live model; subsequent deployment must independently verify the actual engine reload.
Run baseline/candidate evaluation · Review qualification evidence · Model inventory and explicit deployment preparation
Durable surgery run receipts
{
"runs": []
}Measured comparisons, never inferred quality passes
{
"comparisons": [],
"unlinked_evaluations": [],
"evidence_source": "/api/evals/history",
"binding_rule": "exact single safetensors shard SHA256 or directory-tree evaluation with the candidate's exact path; sharded output requires directory evidence. Promotion rehashes candidate bytes and checks the actual passing quality gate plus separate sealed qualification",
"automatic_promotion": false,
"promotion": "/api/abliteration/promote",
"next_steps": "Approve a verified candidate after evaluation; approval creates a durable handoff, not a model library entry or running instance change. Explicit conversion/library admission/deployment remain separate owner actions."
}Explicit candidate approval (not live deployment)
Only approve a completed candidate whose exact file hash matches a separately evaluated candidate with a passing quality gate and distinct baseline. Review the qualification record first. A receipt is published without replacing the active model or silently admitting a safetensors folder to the GGUF inventory.