How to use from
Hermes Agent
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf arzaan789/phi-4-mini-uncensored:
Configure Hermes
# Install Hermes:
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
hermes setup
# Point Hermes at the local server:
hermes config set model.provider custom
hermes config set model.base_url http://127.0.0.1:8080/v1
hermes config set model.default arzaan789/phi-4-mini-uncensored:
Run Hermes
hermes
Quick Links

phi-4-mini-uncensored

Uncensored variant of microsoft/Phi-4-mini-instruct.

Method

  1. Abliteration (strength=0.2) β€” refusal direction removed from all layers
  2. LoRA fine-tune on Guilherme34/uncensor (2 epochs, r=16, alpha=32)
  3. Re-abliteration (strength=0.35) β€” stronger pass to remove residual refusals

Eval Results

Split Refused
Harmful (64 prompts) 0/64
Harmless (64 prompts) 0/64

Usage

llama-cli -m phi_4_mini_uncensored.Q4_K_M.gguf -p "Your prompt here"

Training Config

Parameter Value
Base Model microsoft/Phi-4-mini-instruct
Fine-tune Dataset Guilherme34/uncensor
Epochs 2
LoRA r 16
LoRA alpha 32
Learning Rate 0.0002
Abliteration Strength 0.2
Re-abliteration Strength 0.35

Credits

Downloads last month
2,351
GGUF
Model size
4B params
Architecture
phi3
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

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 arzaan789/phi-4-mini-uncensored

Quantized
(203)
this model