How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Apel-sin/phi-4-abliterated-exl2")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Apel-sin/phi-4-abliterated-exl2", device_map="auto")
Quick Links

huihui-ai/phi-4-abliterated

This is an uncensored version of microsoft/phi-4 created with abliteration (see remove-refusals-with-transformers to know more about it).
This is a crude, proof-of-concept implementation to remove refusals from an LLM model without using TransformerLens.

Use with ollama

Note: this model requires Ollama 0.5.5

You can use huihui_ai/phi4-abliterated directly

ollama run huihui_ai/phi4-abliterated
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Apel-sin/phi-4-abliterated-exl2

Finetuned
(3)
this model