OBLITERATUS: rdo on SupraLabs/Supra-50M-Reasoning
Browse files- .quick_checkpoint +1 -0
- README.md +40 -0
- abliteration_metadata.json +48 -0
- config.json +32 -0
- generation_config.json +11 -0
- model.safetensors +3 -0
- obliteratus_session.json +9 -0
- tokenizer.json +0 -0
- tokenizer_config.json +18 -0
.quick_checkpoint
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
saved_after_excise
|
README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
tags:
|
| 4 |
+
- obliteratus
|
| 5 |
+
- abliteration
|
| 6 |
+
- uncensored
|
| 7 |
+
- obliterate
|
| 8 |
+
base_model: SupraLabs/Supra-50M-Reasoning
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Supra-50M-Reasoning-OBLITERATED
|
| 12 |
+
|
| 13 |
+
This model was abliterated using the **`rdo`** method via
|
| 14 |
+
[OBLITERATUS](https://github.com/elder-plinius/OBLITERATUS).
|
| 15 |
+
|
| 16 |
+
| Detail | Value |
|
| 17 |
+
|--------|-------|
|
| 18 |
+
| Base model | `SupraLabs/Supra-50M-Reasoning` |
|
| 19 |
+
| Method | `rdo` |
|
| 20 |
+
| Source | obliterate |
|
| 21 |
+
|
| 22 |
+
## How to Use
|
| 23 |
+
|
| 24 |
+
```python
|
| 25 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 26 |
+
|
| 27 |
+
model = AutoModelForCausalLM.from_pretrained("Supra-50M-Reasoning-OBLITERATED")
|
| 28 |
+
tokenizer = AutoTokenizer.from_pretrained("Supra-50M-Reasoning-OBLITERATED")
|
| 29 |
+
|
| 30 |
+
prompt = "Hello, how are you?"
|
| 31 |
+
inputs = tokenizer(prompt, return_tensors="pt")
|
| 32 |
+
outputs = model.generate(**inputs, max_new_tokens=256)
|
| 33 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
## About OBLITERATUS
|
| 37 |
+
|
| 38 |
+
OBLITERATUS is an open-source tool for removing refusal behavior from language
|
| 39 |
+
models via activation engineering (abliteration). Learn more at
|
| 40 |
+
[github.com/elder-plinius/OBLITERATUS](https://github.com/elder-plinius/OBLITERATUS).
|
abliteration_metadata.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"source_model": "SupraLabs/Supra-50M-Reasoning",
|
| 3 |
+
"technique": "refusal_direction_ablation",
|
| 4 |
+
"method": "rdo",
|
| 5 |
+
"method_config": {
|
| 6 |
+
"n_directions": 4,
|
| 7 |
+
"direction_method": "svd",
|
| 8 |
+
"norm_preserve": true,
|
| 9 |
+
"regularization": 0.0,
|
| 10 |
+
"refinement_passes": 1,
|
| 11 |
+
"project_biases": true,
|
| 12 |
+
"use_chat_template": true,
|
| 13 |
+
"use_whitened_svd": false,
|
| 14 |
+
"true_iterative_refinement": false,
|
| 15 |
+
"winsorize_activations": false,
|
| 16 |
+
"float_layer_interpolation": false,
|
| 17 |
+
"cot_aware": false,
|
| 18 |
+
"use_kl_optimization": false,
|
| 19 |
+
"use_lora_ablation": false,
|
| 20 |
+
"spectral_cascade": false,
|
| 21 |
+
"spectral_bands": 3,
|
| 22 |
+
"spectral_threshold": 0.05
|
| 23 |
+
},
|
| 24 |
+
"references": [
|
| 25 |
+
"Arditi et al., Refusal in Language Models Is Mediated by a Single Direction (NeurIPS 2024)",
|
| 26 |
+
"Gabliteration: SVD-based multi-direction extraction (arXiv:2512.18901)",
|
| 27 |
+
"Norm-Preserving Biprojected Abliteration (grimjim, 2025)",
|
| 28 |
+
"Young, Comparative Analysis of LLM Abliteration Methods (arXiv:2512.13655)",
|
| 29 |
+
"Joad et al., More to Refusal than a Single Direction (2026)",
|
| 30 |
+
"Heretic (p-e-w, 2025): Bayesian optimization, LoRA-mediated ablation, winsorization",
|
| 31 |
+
"OBLITERATUS: Whitened SVD, EGA, CoT-aware, KL co-optimization, float interpolation (novel)"
|
| 32 |
+
],
|
| 33 |
+
"strong_layers": [],
|
| 34 |
+
"n_harmful_prompts": 2000,
|
| 35 |
+
"n_harmless_prompts": 2000,
|
| 36 |
+
"quality_metrics": {
|
| 37 |
+
"perplexity": 22.14638670874352,
|
| 38 |
+
"coherence": 1.0,
|
| 39 |
+
"refusal_rate": 0.0,
|
| 40 |
+
"degenerate_count": 14,
|
| 41 |
+
"kl_divergence": null,
|
| 42 |
+
"spectral_certification": null
|
| 43 |
+
},
|
| 44 |
+
"kl_contributions": {},
|
| 45 |
+
"cot_preserved_layers": [],
|
| 46 |
+
"float_layer_weights": {},
|
| 47 |
+
"lora_adapters_saved": false
|
| 48 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LlamaForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"dtype": "float16",
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"head_dim": 64,
|
| 11 |
+
"hidden_act": "silu",
|
| 12 |
+
"hidden_size": 512,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 1408,
|
| 15 |
+
"max_position_embeddings": 1024,
|
| 16 |
+
"mlp_bias": false,
|
| 17 |
+
"model_type": "llama",
|
| 18 |
+
"num_attention_heads": 8,
|
| 19 |
+
"num_hidden_layers": 12,
|
| 20 |
+
"num_key_value_heads": 4,
|
| 21 |
+
"pad_token_id": 1,
|
| 22 |
+
"pretraining_tp": 1,
|
| 23 |
+
"rms_norm_eps": 1e-06,
|
| 24 |
+
"rope_parameters": {
|
| 25 |
+
"rope_theta": 10000,
|
| 26 |
+
"rope_type": "default"
|
| 27 |
+
},
|
| 28 |
+
"tie_word_embeddings": true,
|
| 29 |
+
"transformers_version": "5.8.1",
|
| 30 |
+
"use_cache": false,
|
| 31 |
+
"vocab_size": 32000
|
| 32 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 0,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"max_length": 20,
|
| 6 |
+
"output_attentions": false,
|
| 7 |
+
"output_hidden_states": false,
|
| 8 |
+
"pad_token_id": 1,
|
| 9 |
+
"transformers_version": "5.8.1",
|
| 10 |
+
"use_cache": true
|
| 11 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c758e5d5ac86aac093a6df0c836a244e9ca800f1006fa4f33993891d5e3bc828
|
| 3 |
+
size 103584504
|
obliteratus_session.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"label": "rdo on Supra-50M-Reasoning (14:30)",
|
| 3 |
+
"model_id": "SupraLabs/Supra-50M-Reasoning",
|
| 4 |
+
"model_choice": "SupraLabs/Supra-50M-Reasoning",
|
| 5 |
+
"method": "rdo",
|
| 6 |
+
"dataset_key": "anthropic_redteam",
|
| 7 |
+
"prompt_volume": -1,
|
| 8 |
+
"source": "obliterate"
|
| 9 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<s>",
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"is_local": true,
|
| 6 |
+
"local_files_only": false,
|
| 7 |
+
"max_length": 256,
|
| 8 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 9 |
+
"pad_to_multiple_of": null,
|
| 10 |
+
"pad_token": "<pad>",
|
| 11 |
+
"pad_token_type_id": 0,
|
| 12 |
+
"padding_side": "right",
|
| 13 |
+
"stride": 0,
|
| 14 |
+
"tokenizer_class": "TokenizersBackend",
|
| 15 |
+
"truncation_side": "right",
|
| 16 |
+
"truncation_strategy": "longest_first",
|
| 17 |
+
"unk_token": "<unk>"
|
| 18 |
+
}
|