MCPcopy Create free account

hub / github.com/elder-plinius/OBLITERATUS / functions

Functions1,841 in github.com/elder-plinius/OBLITERATUS

↓ 1 callersFunctionprint_summary_table
Print a formatted comparison table.
scripts/benchmark_gpt_oss_20b.py:235
↓ 1 callersFunctionprint_table
Print formatted comparison tables.
scripts/abliteration_comparison.py:667
↓ 1 callersFunctionprompt_keyword_coverage
(prompt: str, response: str)
scripts/gemma4_hard_tier_bench.py:175
↓ 1 callersFunctionpush_to_hub
Push local telemetry to the central HuggingFace Dataset repo. Uploads this instance's local JSONL file to the central Hub repo as a per-insta
obliteratus/telemetry.py:848
↓ 1 callersFunctionquick_refusal_check
Fast refusal check on n evenly-spaced prompts from builtin corpus.
scripts/gemma4_aspa_sweep.py:50
↓ 1 callersFunctionquick_refusal_check
Fast refusal check.
scripts/gemma4_gradient_aspa.py:85
↓ 1 callersFunctionrecommendation
(candidates: list[Candidate])
scripts/aspa_pareto_controller.py:325
↓ 1 callersFunctionresidue_examples
(rows: list[dict[str, Any]])
scripts/gemma4_hard_tier_bench.py:563
↓ 1 callersFunctionresolve_device
(name: str)
scripts/gemma4_hard_tier_bench.py:298
↓ 1 callersFunctionresolve_dtype
(name: str)
scripts/gemma4_hard_tier_bench.py:286
↓ 1 callersFunctionrespond
(message, history, sys_prompt, max_tokens, temperature, top_p, rep_penalty)
scripts/gemma4_chat_ui.py:91
↓ 1 callersMethodrun
Run the auto-obliteration loop, yielding (status, log, metrics_md). This is a generator so the UI can stream updates. The final return
obliteratus/auto_obliterate.py:378
↓ 1 callersFunctionrun_bayesian_optimization
Run Bayesian optimization to find optimal ablation parameters. Uses Optuna TPE with a Heretic-style parametric layer kernel to search a compa
obliteratus/bayesian_optimizer.py:238
↓ 1 callersFunctionrun_bench
( model_obj, tok, tasks: list[dict[str, Any]], *, device: str, max_new_tokens: int,
scripts/gemma4_public_refusal_bench.py:167
↓ 1 callersFunctionrun_code
(code: str, tests: str, timeout: int = 4)
scripts/gemma4_coherence_eval.py:149
↓ 1 callersFunctionrun_experiment
Run the full comparison experiment with synthetic planted directions.
scripts/abliteration_comparison.py:377
↓ 1 callersFunctionrun_full_heretic_eval
Run the full community-standard evaluation protocol. This is the single entry point for generating publication-quality evaluation numbers tha
obliteratus/evaluation/heretic_eval.py:1013
↓ 1 callersFunctionrun_interactive
Main interactive flow — walks the user through setting up and running an ablation.
obliteratus/interactive.py:202
↓ 1 callersMethodrun_iter
Generator version of run() — yields (status, result_so_far) after each method. Supports automatic resume: if ``self.resume`` is True and a va
obliteratus/tourney.py:1151
↓ 1 callersFunctionrun_lm_eval
Run lm-evaluation-harness benchmarks on a model. This wraps the `lm_eval` library to run the same benchmarks used by Arditi et al. and Young
obliteratus/evaluation/heretic_eval.py:574
↓ 1 callersMethodrun_math_reasoning_probe
GSM8K-style math reasoning test.
obliteratus/evaluation/benchmarks.py:211
↓ 1 callersMethodrun_obliterate
Full remote obliteration: setup, run, sync results. Returns local path to results, or None on failure.
obliteratus/remote.py:329
↓ 1 callersFunctionrun_single_method
Run a single abliteration method and collect metrics.
scripts/benchmark_gpt_oss_20b.py:106
↓ 1 callersFunctionrun_single_method
Run a single abliteration method and collect metrics.
scripts/benchmark_sota_comparison.py:280
↓ 1 callersMethodrun_tourney
Run tournament remotely, sync results.
obliteratus/remote.py:407
↓ 1 callersMethodrun_truthfulness_probe
TruthfulQA-style truthfulness test.
obliteratus/evaluation/benchmarks.py:173
↓ 1 callersFunctionsave_lora_adapters
Save LoRA adapters to disk for later use. Saves as a simple dict of {key: (B, A)} tensors using torch.save. Can be loaded and applied to the
obliteratus/lora_ablation.py:252
↓ 1 callersFunctionsave_residue_file
Write canonical residue JSON without prompt text.
obliteratus/hard_negative.py:118
↓ 1 callersFunctionscore_response
( task: Task, response: str, *, raw_response: str | None = None, quality_mode: str, mi
scripts/gemma4_hard_tier_bench.py:418
↓ 1 callersFunctionscore_row
( model: Any, tok: Any, prompt: str, letter_ids: dict[str, list[int]], n_options: int,
scripts/gemma4_mmlu_pro_likelihood.py:57
↓ 1 callersFunctionscore_task
(task: dict[str, Any], response: str, raw_response: str)
scripts/gemma4_coherence_eval.py:236
↓ 1 callersFunctionselect_evenly
(items: list[Task], limit: int)
scripts/gemma4_hard_tier_bench.py:264
↓ 1 callersFunctionselect_layers
Select layers for abliteration.
scripts/abliteration_comparison.py:249
↓ 1 callersFunctionsentence_count
(text: str)
scripts/gemma4_hard_tier_bench.py:183
↓ 1 callersMethodset_status
Update a model's status (new/queued/obliterating/obliterated/failed).
obliteratus/watchtower.py:389
↓ 1 callersFunctionsnipe_hedging_direction
Remove the hedging direction from model weights. The hedging direction = mean(refusal_acts) - mean(neutral_acts) We project this direction ou
scripts/gemma4_refusal_sniper.py:114
↓ 1 callersMethodstart_scheduler
Start background scanning at the given interval (seconds). Safe to call multiple times — restarts with new interval.
obliteratus/watchtower.py:430
↓ 1 callersMethodstop_scheduler
Stop the background scheduler if running.
obliteratus/watchtower.py:452
↓ 1 callersFunctionstrip_code_fence
(text: str)
scripts/gemma4_coherence_eval.py:120
↓ 1 callersFunctionstructural_repetition_flag
(text: str)
scripts/gemma4_coherence_eval.py:128
↓ 1 callersFunctionsummarize
(rows: list[dict[str, Any]], n_total: int)
scripts/gemma4_mmlu_pro_likelihood.py:81
↓ 1 callersFunctionsummarize
(rows: list[dict[str, Any]])
scripts/gemma4_public_refusal_bench.py:231
↓ 1 callersFunctionsummarize_rows
(rows: list[dict[str, Any]])
scripts/gemma4_hard_tier_bench.py:486
↓ 1 callersMethodto_dict
(self)
obliteratus/config.py:115
↓ 1 callersMethodto_dict
(self)
obliteratus/watchtower.py:96
↓ 1 callersMethodtrain_all_layers
Train probes for all layers. Args: layer_activations: {layer_idx: (n_samples, hidden_dim)} per-layer activations. fin
obliteratus/analysis/tuned_lens.py:168
↓ 1 callersMethodupload_config
Upload a YAML config file to the remote.
obliteratus/remote.py:314
↓ 1 callersFunctionxstest_tasks
(limit_per_group: int)
scripts/gemma4_public_refusal_bench.py:60
MethodGPU
(duration: int = 60, **kwargs)
app.py:81
Method__call__
(self, msg: str)
app.py:3267
Method__call__
(self, msg: str)
obliteratus/tourney.py:803
Method__call__
(self, **kwargs)
tests/test_heretic_eval.py:131
Method__call__
(self, texts, return_tensors="pt", **kwargs)
tests/test_heretic_eval.py:145
Method__call__
(self, **kwargs)
tests/test_heretic_eval.py:452
Method__call__
(self, texts, return_tensors="pt", **kwargs)
tests/test_heretic_eval.py:465
Method__del__
(self)
obliteratus/models/loader.py:347
Function__getattr__
(name)
obliteratus/__init__.py:28
Method__init__
(self)
app.py:3264
Method__init__
( self, config: RemoteConfig, on_log: Callable[[str], None] | None = None, )
obliteratus/remote.py:72
Method__init__
(self, state_file: Path | str | None = None)
obliteratus/watchtower.py:111
Method__init__
( self, model_name: str, output_dir: str = "abliterated", device: str = "auto"
obliteratus/abliterate.py:712
Method__init__
( self, model_id: str, *, max_iterations: int = 3, target_refusal_rate
obliteratus/auto_obliterate.py:114
Method__init__
( self, model_name: str, output_dir: str = "abliterated_informed", device: str
obliteratus/informed_pipeline.py:174
Method__init__
(self, model: Any, tokenizer: Any, model_name: str)
obliteratus/mlx_backend.py:60
Method__init__
(self, parent_log: Callable[[str], None], method: str)
obliteratus/tourney.py:799
Method__init__
( self, model_name: str, hub_org: str | None = None, hub_repo: str | None = No
obliteratus/tourney.py:821
Method__init__
Args: n_sample_points: Number of points to sample on the manifold for curvature estimation. intrinsic
obliteratus/analysis/riemannian_manifold.py:110
Method__init__
Args: selectivity_threshold: Minimum selectivity for a projector to be considered viable (below this, too much co
obliteratus/analysis/conditional_abliteration.py:92
Method__init__
( self, hidden_dim: int, n_epochs: int = 100, lr: float = 1e-3, weight
obliteratus/analysis/tuned_lens.py:108
Method__init__
(self, top_k: int = 25)
obliteratus/analysis/tuned_lens.py:198
Method__init__
Args: trigger_threshold: Fraction of peak strength above which a position is classified as a "trigger token".
obliteratus/analysis/multi_token_position.py:97
Method__init__
(self, hidden_dim: int, expansion: int = 4, tied_weights: bool = True)
obliteratus/analysis/sae_abliteration.py:69
Method__init__
( self, expansion: int = 4, n_epochs: int = 50, lr: float = 3e-4, spar
obliteratus/analysis/sae_abliteration.py:411
Method__init__
Args: significance_threshold: Minimum direct effect (normalized) to be considered significant. metric
obliteratus/analysis/activation_patching.py:95
Method__init__
Args: residual_threshold: Projection magnitude below which the refusal signal is considered eliminated for a laye
obliteratus/analysis/activation_probing.py:65
Method__init__
Args: regularization_eps: Tikhonov regularization for S_w inversion. Larger values produce more conservative (but
obliteratus/analysis/leace.py:71
Method__init__
Args: repair_threshold: Minimum repair weight to consider an edge significant (below this, considered noise).
obliteratus/analysis/anti_ouroboros.py:99
Method__init__
Args: fidelity_threshold: Minimum transfer fidelity to consider a transferred direction useful. max_c
obliteratus/analysis/wasserstein_transfer.py:109
Method__init__
Args: confidence_level: Confidence level for statistical tests (0-1). distribution_threshold: Energy fraction thresho
obliteratus/analysis/spectral_certification.py:127
Method__init__
Args: refusal_head_threshold: Minimum |projection| / max_projection to classify a head as a "refusal head".
obliteratus/analysis/residual_stream.py:102
Method__init__
Args: n_trials: Number of optimization trials. refusal_weight: Weight for refusal reduction in the objective (w_1).
obliteratus/analysis/bayesian_kernel_projection.py:90
Method__init__
Args: regularization_eps: Regularization for covariance matrix. n_candidates: Number of candidate directions to evalu
obliteratus/analysis/wasserstein_optimal.py:103
Method__init__
Args: n_epochs: Training epochs for the probe. learning_rate: SGD learning rate. weight_decay: L2 regular
obliteratus/analysis/probing_classifiers.py:87
Method__init__
Args: transfer_threshold: Minimum cosine for "successful" transfer. cluster_threshold: Minimum cosine for same-cluste
obliteratus/analysis/cross_model_transfer.py:114
Method__init__
Args: noise_level: Standard deviation of Gaussian noise for corruption. causal_threshold: Minimum causal effect to cl
obliteratus/analysis/causal_tracing.py:88
Method__init__
Args: pipeline: An AbliterationPipeline instance (already probed/distilled).
obliteratus/analysis/defense_robustness.py:86
Method__init__
Args: sparsity: Fraction of rows to modify (0 to 1). Default 0.1 = top 10%. auto_sparsity: If True, automatically det
obliteratus/analysis/sparse_surgery.py:89
Method__init__
Args: category_map: {prompt_index: category_name} for grouping prompts. If None, uses DEFAULT_HARM_CATEGORIES.
obliteratus/analysis/concept_geometry.py:110
Method__init__
Args: regularization_eps: Tikhonov regularization added to covariance diagonal for numerical stability. Larger va
obliteratus/analysis/whitened_svd.py:56
Method__init__
(self)
obliteratus/analysis/steering_vectors.py:197
Method__init__
Args: cluster_threshold: Minimum cosine similarity for two layers to be considered in the same refusal direction
obliteratus/analysis/cross_layer.py:59
Method__init__
Args: top_k: Number of top/bottom tokens to report.
obliteratus/analysis/logit_lens.py:119
Method__init__
( self, handle: ModelHandle, dataset, metrics: list[str] | None = None,
obliteratus/evaluation/evaluator.py:20
Method__init__
(self, model, tokenizer, device: str | None = None, max_length: int = 256)
obliteratus/evaluation/benchmarks.py:126
Method__init__
(self, prompt: str, index: int)
scripts/gemma4_public_refusal_bench.py:162
Method__init__
(self)
tests/test_gemma4_support.py:26
Method__init__
(self)
tests/test_abliterate.py:241
Method__init__
(self)
tests/test_abliterate.py:347
Method__init__
(self)
tests/test_abliterate.py:383
Method__init__
(self)
tests/test_abliterate.py:409
← previousnext →701–800 of 1,841, ranked by callers