File size: 2,867 Bytes
a2c3a69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9c6c1f5
2e904b9
9c6c1f5
 
 
 
 
2e904b9
a2c3a69
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
license: mit
language:
- en
tags:
- phi
- phi-4
- desyced
- anti-sycophancy
- text-generation
base_model: microsoft/Phi-4-mini-instruct
pipeline_tag: text-generation
---

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

<div style="text-align: justify">

This model is a <b>Desyced</b> version of <a href="https://huggingface.co/microsoft/Phi-4-mini-instruct">microsoft/Phi-4-mini-instruct</a>. 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.

</div>

## What is Sycophancy?

<div style="text-align: justify">

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.

</div>

## 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](https://huggingface.co/microsoft/Phi-4-mini-instruct). Same architecture, same tokenizer, same context length.

```python
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

- **Base model:** [microsoft/Phi-4-mini-instruct](https://huggingface.co/microsoft/Phi-4-mini-instruct)
- **Desycophancy:** [Apollo Raines](https://huggingface.co/ApolloRaines)

## License

Same as the base model: mit