<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Abliteration on Negi AI Lab</title><link>https://ai.negi-lab.com/tags/abliteration/</link><description>Recent content in Abliteration on Negi AI Lab</description><image><title>Negi AI Lab</title><url>https://ai.negi-lab.com/images/og-default.png</url><link>https://ai.negi-lab.com/images/og-default.png</link></image><generator>Hugo -- 0.154.5</generator><language>ja</language><lastBuildDate>Mon, 27 Apr 2026 00:28:23 +0900</lastBuildDate><atom:link href="https://ai.negi-lab.com/tags/abliteration/index.xml" rel="self" type="application/rss+xml"/><item><title>LLMの検閲解除手法AbliterationをPythonで実装する方法</title><link>https://ai.negi-lab.com/posts/python-llm-abliteration-tutorial-uncensored/</link><pubDate>Mon, 27 Apr 2026 00:00:00 +0900</pubDate><guid>https://ai.negi-lab.com/posts/python-llm-abliteration-tutorial-uncensored/</guid><description>&lt;p&gt;&lt;strong&gt;所要時間:&lt;/strong&gt; 約45分 | &lt;strong&gt;難易度:&lt;/strong&gt; ★★★★☆&lt;/p&gt;
&lt;h2 id="この記事で作るもの"&gt;この記事で作るもの&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Llama-3やQwenなどのベースモデルから「拒絶反応（Refusal）」を引き起こす特定の重み成分を特定し、数学的に除去するPythonスクリプト&lt;/li&gt;
&lt;li&gt;特定のプロンプトに対して「申し訳ありませんが、その質問には答えられません」と回答するモデルを、正直に回答するように改造する手順&lt;/li&gt;
&lt;li&gt;前提知識：Pythonの基礎、PyTorchの基本的な操作、HuggingFace Transformersの使用経験&lt;/li&gt;
&lt;li&gt;必要なもの：VRAM 16GB以上のGPU（RTX 3060 12GBでも小規模モデルなら可）、Python 3.10以上&lt;/li&gt;
&lt;/ul&gt;
&lt;div style="border:1px solid #e0e0e0;border-radius:8px;padding:16px;margin:20px 0;background:#fafafa"&gt;
&lt;p style="margin:0 0 4px;font-size:13px;color:#888"&gt;📦 この記事に関連する商品&lt;/p&gt;</description></item></channel></rss>