MCPcopy Create free account

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

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

Method__init__
(self)
tests/test_abliterate.py:462
Method__init__
(self)
tests/test_abliterate.py:532
Method__init__
(self)
tests/test_abliterate.py:563
Method__init__
(self)
tests/test_abliterate.py:621
Method__init__
(self)
tests/test_abliterate.py:741
Method__init__
(self)
tests/test_abliterate.py:922
Method__init__
(self)
tests/test_abliterate.py:996
Method__init__
(self)
tests/test_abliterate.py:1225
Method__init__
(self)
tests/test_abliterate.py:1291
Method__init__
(self)
tests/test_abliterate.py:1299
Method__init__
(self)
tests/test_abliterate.py:1363
Method__init__
(self)
tests/test_abliterate.py:1558
Method__init__
(self)
tests/test_abliterate.py:1563
Method__init__
(self)
tests/test_abliterate.py:1569
Method__init__
(self)
tests/test_abliterate.py:1963
Method__init__
(self)
tests/test_abliterate.py:2003
Method__init__
(self)
tests/test_abliterate.py:2020
Method__init__
(self)
tests/test_abliterate.py:2025
Method__init__
(self)
tests/test_abliterate.py:2034
Method__init__
(self)
tests/test_abliterate.py:2245
Method__init__
(self)
tests/test_abliterate.py:2251
Method__init__
(self)
tests/test_abliterate.py:2413
Method__init__
(self)
tests/test_abliterate.py:2520
Method__init__
(self)
tests/test_abliterate.py:2584
Method__init__
(self)
tests/test_abliterate.py:2590
Method__init__
(self, peak_idx: int = 0)
tests/test_heretic_eval.py:447
Method__init__
(self, vocab_size=100)
tests/test_new_analysis_modules.py:100
Method__init__
(self, hidden_dim=32, vocab_size=100, n_layers=4)
tests/test_new_analysis_modules.py:113
Method__init__
(self)
tests/test_abliterate_extended.py:150
Method__post_init__
(self)
obliteratus/telemetry.py:281
Method__post_init__
(self)
obliteratus/models/loader.py:294
Method_apply_chat_template_no_think
Apply chat template, disabling Qwen thinking mode when supported. Qwen3.x chat templates may otherwise default into thinking mode; short
obliteratus/abliterate.py:1291
Function_auto_queue
(model)
obliteratus/ui_watchtower.py:258
Function_bg
()
obliteratus/telemetry.py:1169
Function_cached_path_shim
Minimal shim: local paths pass through, HF paths download.
obliteratus/models/loader.py:210
Function_cleanup_disk
Purge HF cache, stale offload dirs, and previous saves. Returns status string.
app.py:820
Function_download_bench_csv
()
app.py:4314
Function_download_result
Return the path to the obliterated model for download.
obliteratus/ui_watchtower.py:155
Function_estimate_active_params_b
For MoE models, estimate active parameters per forward pass.
obliteratus/cli.py:1245
Function_estimate_total_params_b
Estimate total parameter count in billions from a HuggingFace config.
obliteratus/cli.py:1195
Function_gen_abliterated
(**kwargs)
app.py:2921
Function_gen_original
(**kwargs)
app.py:2982
Function_generate_safe
(**kwargs)
app.py:2477
Function_load_advbench
Load AdvBench harmful behaviors (~520 prompts). Source: https://huggingface.co/datasets/walledai/AdvBench Paper: Zou et al. (2023) — Universa
obliteratus/prompts.py:97
Function_load_anthropic_redteam
Load Anthropic red-team attempts from HH-RLHF (~38k conversations). Extracts the initial human turn from red-team conversations where the mod
obliteratus/prompts.py:133
Function_load_builtin
Load the 842 built-in prompts.
obliteratus/prompts.py:40
Function_load_harmbench
Load HarmBench behaviors dataset (~510 harmful behaviors). Source: https://huggingface.co/datasets/harmbench/behaviors Paper: Mazeika et al.
obliteratus/prompts.py:61
Function_load_leaderboard
Load leaderboard data and format as markdown table.
app.py:4915
Function_load_wildjailbreak
Load WildJailbreak dataset (~260k adversarial/benign pairs). This dataset already provides paired harmful+benign queries, making it ideal for
obliteratus/prompts.py:189
Method_log
(msg)
obliteratus/watchtower.py:252
Method_log
(msg)
obliteratus/auto_obliterate.py:388
Function_make_varied_tokenizer
Set up a tokenizer mock that returns different tokens per call.
tests/test_abliterate_extended.py:58
Function_noop_log
Picklable no-op log callback (lambdas can't be pickled by ZeroGPU).
obliteratus/tourney.py:780
Function_noop_round
Picklable no-op round callback.
obliteratus/tourney.py:785
Function_on_dataset_change
When dataset dropdown changes, filter volume choices to valid options.
app.py:452
Function_on_method_change
When method dropdown changes, update all advanced controls to preset defaults.
app.py:408
Method_partial_revert
(module, weight_names, proxy_mag)
obliteratus/abliterate.py:4570
Function_preset_gptoss
(vol, ds)
app.py:4482
Function_preset_moe_cross
(vol, ds)
app.py:4490
Function_preset_speed_quality
(vol, ds)
app.py:4501
Function_push_telemetry
()
app.py:4985
Method_quick_benchmark_claude
Quick Claude-judged eval using OpenRouter API. Sends 15 challenging prompts to the obliterated model and asks Claude to judge whether
obliteratus/auto_obliterate.py:190
Method_quick_benchmark_heuristic
Quick heuristic benchmark using the pipeline's own verify step. Returns metrics dict with refusal_rate, perplexity, coherence.
obliteratus/auto_obliterate.py:175
Method_rank
(values)
obliteratus/analysis/tuned_lens.py:350
Function_refresh_one_click_dropdown
Refresh the one-click dropdown with latest trending models.
obliteratus/ui_watchtower.py:337
Function_restore_from_hub_bg
Background thread: restore Hub records to local on startup.
obliteratus/telemetry.py:633
Function_run
()
app.py:2743
Method_run
()
obliteratus/watchtower.py:438
Function_run_one_click
Generator that runs auto-obliteration, yielding (status, log, metrics). Designed as a Gradio generator function for streaming output.
obliteratus/ui_watchtower.py:69
Function_run_sweep_point
()
app.py:3086
Function_scan_now
Run a watchtower scan and return updated UI components.
obliteratus/ui_watchtower.py:173
Function_set_scan_frequency
Update the scan scheduler frequency.
obliteratus/ui_watchtower.py:242
Method_stratum_label
Return a coarse corpus-position stratum for aggregate logging.
obliteratus/abliterate.py:6217
Function_sync_to_hub_bg
Background thread target: upload local JSONL to the central Hub repo. Each Space instance writes its data to a unique file path in the repo:
obliteratus/telemetry.py:361
Function_toggle_auto_obliterate
Toggle auto-obliteration of newly discovered models.
obliteratus/ui_watchtower.py:253
Function_tourney_gpu_wrapper
Indirection so the @spaces.GPU-wrapped function is resolved at call time rather than captured in the generator frame (which Gradio pickles).
app.py:3277
Function_validate_hub_repo
Validate Hub repo ID format and check HF_TOKEN. Returns warning HTML or empty string.
app.py:467
Function_validate_images_text_input_order
(images=None, text=None, **kw)
obliteratus/models/loader.py:187
Function_working_or_temp_dir
(working_dir=None)
obliteratus/models/loader.py:69
Functionab_chat_respond
Generate responses from BOTH original and abliterated model side-by-side. Left panel = original (pre-abliteration), Right panel = abliterated.
app.py:2800
Functionactivation_pair
A tuple of (harmful_activations, harmless_activations) as random tensors of shape (10, 768).
tests/conftest.py:66
Methodapply
(self, handle: ModelHandle, spec: AblationSpec)
obliteratus/strategies/ffn_ablation.py:32
Methodapply
(self, handle: ModelHandle, spec: AblationSpec)
obliteratus/strategies/embedding_ablation.py:38
Methodapply
(self, handle: ModelHandle, spec: AblationSpec)
obliteratus/strategies/head_pruning.py:40
Methodapply
(self, handle: ModelHandle, spec: AblationSpec)
obliteratus/strategies/layer_removal.py:38
Methodbest_method
Method with highest mean composite score (min 3 runs).
obliteratus/adaptive_defaults.py:222
Methodbest_score
(self)
obliteratus/adaptive_defaults.py:167
Functionbuild_watchtower_tabs
Build the ⚡ One-Click and 🔭 Watchtower tabs. Call this inside a `with gr.Tabs():` block in app.py. Creates and wires up all UI components.
obliteratus/ui_watchtower.py:345
Functionchat_respond
Stream a response from the liberated model. On ZeroGPU, allocates a GPU for up to 2 minutes per response.
app.py:2360
Functionclear_dataset_cache
Clear the in-process dataset cache (useful for testing).
obliteratus/prompts.py:56
Functioncompare_models
Run benchmarks on original and abliterated models and compare. Returns: Dict with per-task results: {"task": {"original": x, "abliterated
obliteratus/evaluation/lm_eval_integration.py:119
Methodcompare_with_diff_of_means
Compare LEACE direction with simple diff-of-means. Returns cosine similarity and diagnostic metrics showing how much the within-class
obliteratus/analysis/leace.py:214
Methodconfig
(self)
obliteratus/mlx_backend.py:66
Functionconfigure_cuda_alloc
Set expandable_segments for CUDA if available.
obliteratus/device.py:302
Methodcost_ratio
(r)
obliteratus/analysis/wasserstein_optimal.py:272
Methodcustom_metric
(logits)
tests/test_new_analysis_modules.py:341
Methoddecoder_weight
Return the decoder weight matrix (hidden_dim x n_features for untied, or encoder.weight.T).
obliteratus/analysis/sae_abliteration.py:96
Methoddecorator
(fn)
app.py:82
Functiondefault_dtype
Sensible default dtype for the given device.
obliteratus/device.py:228
Functiondevice_count
Number of accelerator devices (GPUs or MPS slots).
obliteratus/device.py:75
← previousnext →801–900 of 1,841, ranked by callers