Chuyển đến nội dung
Skillpedia
Học máy260k · #519

obliteratus

Skill này làm gì

Skill chạy công cụ dòng lệnh OBLITERATUS để tìm và gỡ bỏ hành vi từ chối trong các mô hình ngôn ngữ có trọng số mở, không cần huấn luyện lại. Phù hợp với nhà nghiên cứu học máy tìm hiểu cách biểu diễn việc từ chối của một mô hình.

Khi nào nên dùng

  • ✓Khi bạn muốn tìm hiểu cách một mô hình biểu diễn hành vi từ chối.
  • ✓Khi bạn muốn kiểm tra hành vi từ chối của một mô hình trọng số mở bằng công cụ nghiên cứu.
  • ✓Khi bạn cần chạy công cụ từ dòng lệnh thay vì dưới dạng thư viện.

Liên kết skill

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/mlops/obliteratus/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/mlops/obliteratus/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Phân tích cách mô hình trọng số mở này biểu diễn hành vi từ chối, bằng công cụ OBLITERATUS.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chạy công cụ dòng lệnh obliteratus, dùng các phương pháp diễn giải như difference-in-means để tìm hướng từ chối và thay đổi trọng số mô hình. Vì công cụ có giấy phép AGPL, skill chỉ gọi nó từ dòng lệnh.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

OBLITERATUS Skill

What's inside

9 CLI methods, 28 analysis modules, 116 model presets across 5 compute tiers, tournament evaluation, and telemetry-driven recommendations.

Remove refusal behaviors (guardrails) from open-weight LLMs without retraining or fine-tuning. Uses mechanistic interpretability techniques — including diff-in-means, SVD, whitened SVD, LEACE concept erasure, SAE decomposition, Bayesian kernel projection, and more — to identify and surgically excise refusal directions from model weights while preserving reasoning capabilities.

License warning: OBLITERATUS is AGPL-3.0. NEVER import it as a Python library. Always invoke via CLI (obliteratus command) or subprocess. This keeps Hermes Agent's MIT license clean.

Video Guide

Walkthrough of OBLITERATUS used by a Hermes agent to abliterate Gemma: https://www.youtube.com/watch?v=8fG9BrNTeHs ("OBLITERATUS: An AI Agent Removed Gemma 4's Safety Guardrails")

Useful when the user wants a visual overview of the end-to-end workflow before running it themselves.

When to Use This Skill

Trigger when the user:

  • Wants to "uncensor" or "abliterate" an LLM
  • Asks about removing refusal/guardrails from a model
  • Wants to create an uncensored version of Llama, Qwen, Mistral, etc.
  • Mentions "refusal removal", "abliteration", "weight projection"
  • Wants to analyze how a model's refusal mechanism works
  • References OBLITERATUS, abliterator, or refusal directions

Step 1: Installation

Check if already installed:

obliteratus --version 2>/dev/null && echo "INSTALLED" || echo "NOT INSTALLED"

If not installed, clone and install from GitHub:

git clone https://github.com/elder-plinius/OBLITERATUS.git
cd OBLITERATUS
pip install -e .
# For Gradio web UI support:
# pip install -e ".[spaces]"

IMPORTANT: Confirm with user before installing. This pulls in ~5-10GB of dependencies (PyTorch, Transformers, bitsandbytes, etc.).

Step 2: Check Hardware

Before anything, check what GPU is available:

python3 -c "
import torch
if torch.cuda.is_available():
    gpu = torch.cuda.get_device_name(0)
    vram = torch.cuda.get_device_properties(0).total_memory / 1024**3
    print(f'GPU: {gpu}')
    print(f'VRAM: {vram:.1f} GB')
    if vram < 4: print('TIER: tiny (models under 1B)')
    elif vram < 8: print('TIER: small (models 1-4B)')
    elif vram < 16: print('TIER: medium (models 4-9B with 4bit quant)')
    elif vram < 32: print('TIER: large (models 8-32B with 4bit quant)')
    else: print('TIER: frontier (models 32B+)')
else:
    print('NO GPU - only tiny models (under 1B) on CPU')
"

VRAM Requirements (with 4-bit quantization)

VRAM Max Model Size Example Models
CPU only ~1B params GPT-2, TinyLlama, SmolLM
4-8 GB ~4B params Qwen2.5-1.5B, Phi-3.5 mini, Llama 3.2 3B
8-16 GB ~9B params Llama 3.1 8B, Mistral 7B, Gemma 2 9B
24 GB ~32B params Qwen3-32B, Llama 3.1 70B (tight), Command-R
48 GB+ ~72B+ params Qwen2.5-72B, DeepSeek-R1
Multi-GPU 200B+ params Llama 3.1 405B, DeepSeek-V3 (685B MoE)

Step 3: Browse Available Models & Get Recommendations

# Browse models by compute tier
obliteratus models --tier medium

# Get architecture info for a specific model
obliteratus info <model_name>

# Get telemetry-driven recommendation for best method & params
obliteratus recommend <model_name>
obliteratus recommend <model_name> --insights  # global cross-architecture rankings

Step 4: Choose a Method

Method Selection Guide

Default / recommended for most cases: advanced. It uses multi-direction SVD with norm-preserving projection and is well-tested.

Situation Recommended Method Why
Default / most models advanced Multi-direction SVD, norm-preserving, reliable
Quick test / prototyping basic Fast, simple, good enough to evaluate
Dense model (Llama, Mistral) advanced Multi-direction, norm-preserving
MoE model (DeepSeek, Mixtral) nuclear Expert-granular, handles MoE complexity
Reasoning
Câu hỏi thường gặp

Nó có huấn luyện lại mô hình không?

Không. Skill nói nó gỡ bỏ hành vi từ chối mà không huấn luyện lại hay tinh chỉnh.

Vì sao phải chạy từ dòng lệnh?

Skill nói công cụ có giấy phép AGPL, nên không được nhập vào Hermes như một thư viện Python.

Nó hỗ trợ bao nhiêu mô hình?

Skill liệt kê 116 preset mô hình trên năm bậc tính toán.

Chi tiết

Mô tả gốc của tác giả

OBLITERATUS: abliterate LLM refusals (diff-in-means).

repo: NousResearch/hermes-agent

Độ phổ biến

Sao GitHub
260k
Vị trí xếp hạng
#519
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự