44 lines
1.2 KiB
Markdown
44 lines
1.2 KiB
Markdown
---
|
|
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
|
|
```
|