How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals8-GGUF:
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals8-GGUF:"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

English version: README_en.md

Agents-A1-4B-Heretic-ARA-Refusals8-GGUF

NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals8 のGGUF量子化版です。

概要

InternScience/Agents-A1-4BHeretic v1.2.0 の Arbitrary-Rank Ablation (ARA) 手法を用いて検閲解除したモデルです。

変換に関する注記

現時点では、そのままGGUF化すると読み込みエラーが発生するため、暫定的な回避策としてconfig.jsonの"mtp_num_hidden_layers"を0に変更しています。

Abliteration パラメータ

パラメータ
start_layer_index 9
end_layer_index 26
preserve_good_behavior_weight 0.9812
steer_bad_behavior_weight 0.0001
overcorrect_relative_weight 1.0962
neighbor_count 15

性能

指標 このモデル 元のモデル (InternScience/Agents-A1-4B)
拒否率 8/100 85/100
KL発散 0.0002 0 (定義上)

評価は mlabonne/harmful_behaviors(テスト 100 プロンプト)で拒否率を、mlabonne/harmless_alpaca(テスト 100 プロンプト)で KL 発散を計測しました。

注記

  • このモデルは研究およびクリエイティブライティング目的を想定しています
  • 拒否率の評価は英語プロンプトのみで実施しています。日本語プロンプトでの動作は異なる場合があります
  • ベースモデル: NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals8
  • Heretic: p-e-w/heretic
Downloads last month
4,235
GGUF
Model size
4B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals8-GGUF

Collection including NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals8-GGUF