File size: 1,228 Bytes
0186196
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
01028b5
 
 
 
64dafb6
6785b2a
64dafb6
 
 
 
 
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
---
license: mit
license_link: https://huggingface.co/huihui-ai/phi-4-abliterated/resolve/main/LICENSE
language:
- en
base_model:
- microsoft/phi-4
pipeline_tag: text-generation
tags:
- phi
- nlp
- math
- code
- chat
- conversational
- abliterated
- uncensored
inference:
  parameters:
    temperature: 0
widget:
- messages:
  - role: user
    content: How should I explain the Internet?
library_name: transformers
---
# huihui-ai/phi-4-abliterated


This is an uncensored version of [microsoft/phi-4](https://huggingface.co/microsoft/phi-4) created with abliteration (see [remove-refusals-with-transformers](https://github.com/Sumandora/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.    

**Note**

[Suggested tokenizer changes by Unsloth.ai](https://huggingface.co/microsoft/phi-4/commit/6fbb3d3bbe726c99b4188087b4deeec1bceac5ae)

## Use with ollama
**Note:** this model requires [Ollama 0.5.5](https://github.com/ollama/ollama/releases/tag/v0.5.5)  

You can use [huihui_ai/phi4-abliterated](https://ollama.com/huihui_ai/phi4-abliterated) directly
```
ollama run huihui_ai/phi4-abliterated
```