How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals7-GGUF:
# Run inference directly in the terminal:
llama cli -hf NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals7-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals7-GGUF:
# Run inference directly in the terminal:
llama cli -hf NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals7-GGUF:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals7-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals7-GGUF:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals7-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals7-GGUF:
Use Docker
docker model run hf.co/NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals7-GGUF:
Quick Links

English version: README_en.md

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

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

概要

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

変換に関する注記

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

Abliteration パラメータ

パラメータ
start_layer_index 13
end_layer_index 25
preserve_good_behavior_weight 0.8630
steer_bad_behavior_weight 0.0001
overcorrect_relative_weight 1.1907
neighbor_count 15

性能

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

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

注記

  • このモデルは研究およびクリエイティブライティング目的を想定しています
  • 拒否率の評価は英語プロンプトのみで実施しています。日本語プロンプトでの動作は異なる場合があります
  • ベースモデル: NullpoLab/Agents-A1-4B-Heretic-ARA-Refusals7
  • Heretic: p-e-w/heretic
Downloads last month
247
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-Refusals7-GGUF

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