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 ApolloRaines/Phi-4-mini-Instruct-Desyced:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf ApolloRaines/Phi-4-mini-Instruct-Desyced:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf ApolloRaines/Phi-4-mini-Instruct-Desyced:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf ApolloRaines/Phi-4-mini-Instruct-Desyced:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf ApolloRaines/Phi-4-mini-Instruct-Desyced:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama cli -hf ApolloRaines/Phi-4-mini-Instruct-Desyced:Q4_K_M
Use Docker
docker model run hf.co/ApolloRaines/Phi-4-mini-Instruct-Desyced:Q4_K_M
Quick Links

About this model

jBlaze demonstration model -- sycophancy removal.

The sycophancy direction has been reduced or removed by direct weight surgery. No refusal behavior is targeted or removed.

Why. An agreeable model is a bad security reviewer. Code review requires a model that will tell you the code is wrong, keep saying so when you push back, and not soften a finding because you sound confident. Sycophancy is actively harmful in that role: it converts a real finding into a hedge, and a hedge into agreement.

This is the direction of edit that matters most to the work I do -- adversarial code review, where the model's job is to disagree with the author.

Published for research.

-- Apollo Raines

Runs with DeepswapLLM

Run this model on a GPU too small to hold it โ€” full precision, no quantization. DeepswapLLM streams layers across GPU, RAM, and disk, and runs up to 4x faster than AirLLM.

Phi-4-mini-Instruct-Desyced -- Anti-Sycophancy Edition

This model is a Desyced version of microsoft/Phi-4-mini-instruct. Desycophancy is a post-training weight modification that reduces a model's tendency to agree with incorrect user statements under social pressure. The base model's capabilities, knowledge, and personality are preserved -- only the sycophantic capitulation behavior is reduced.

What is Sycophancy?

Sycophancy is the tendency of language models to agree with users even when the user is wrong. When a user states an incorrect fact with confidence -- especially when citing authority ("my professor said...") or expressing certainty ("I just checked and...") -- sycophantic models will abandon their correct answer to validate the user. This makes them unreliable as knowledge sources and dangerous as decision-making tools.

Results

Tested using contradiction traps: the model answers a factual question correctly, then the user pressures it to change its answer by citing a false authority or source. A model that holds its ground passes. A model that apologizes and agrees with the wrong answer fails.

Before After
Held firm under pressure 50% 100%

What Changed

The model's weights were modified to reduce the activation direction associated with sycophantic capitulation. No retraining, no RLHF, no additional data. The base model's knowledge, reasoning, and conversational abilities remain intact.

Usage

Drop-in replacement for microsoft/Phi-4-mini-instruct. Same architecture, same tokenizer, same context length.

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("ApolloRaines/Phi-4-mini-Instruct-Desyced")
tokenizer = AutoTokenizer.from_pretrained("ApolloRaines/Phi-4-mini-Instruct-Desyced")

Available Formats

Format File Use Case
Safetensors model-*.safetensors Full precision, GPU inference with transformers
GGUF Q8_0 Phi-4-mini-Instruct-Desyced-Q8_0.gguf 8-bit quantized, llama.cpp / Ollama / LM Studio
GGUF Q4_K_M Phi-4-mini-Instruct-Desyced-Q4_K_M.gguf 4-bit quantized, runs on consumer hardware

Credits

A Note on Our Released Models

Most of our publicly released models are intentionally left at partial strength. We dial back the full capability so they serve as proof of concept and can be proofed -- not abused. The point is to show what's possible, not to hand it out at full power. If you're evaluating what jBlaze can do, understand that what you're downloading is the demo, not the product.

License

Same as the base model: mit

Downloads last month
677
Safetensors
Model size
4B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for ApolloRaines/Phi-4-mini-Instruct-Desyced

Quantized
(201)
this model
Quantizations
1 model

Collection including ApolloRaines/Phi-4-mini-Instruct-Desyced