File size: 1,270 Bytes
7a3fd58
 
 
9055abb
 
 
772cedd
9055abb
 
 
 
 
 
 
 
7a3fd58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9055abb
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
---
license: apache-2.0
base_model: mistralai/Mistral-7B-Instruct-v0.3
extra_gated_description: >-
  If you want to learn more about how we process your personal data, please read
  our <a href="https://mistral.ai/terms/">Privacy Policy</a>.
tags:
- Text Generation
- Transformers
- Safetensors
- conversational
- text-generation-inference
- abliterated
- uncensored
- Inference Endpoints
---

# huihui-ai/Mistral-7B-Instruct-v0.3-abliterated

This is an uncensored version of [mistralai/Mistral-7B-Instruct-v0.3](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3) created with abliteration (see [remove-refusals-with-transformers](https://github.com/Sumandora/remove-refusals-with-transformers) to know more about it).   

If the desired result is not achieved, you can clear the conversation and try again.


## Generate with `transformers`

If you want to use Hugging Face `transformers` to generate text, you can do something like this.

```py
from transformers import pipeline

messages = [
    {"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},
    {"role": "user", "content": "Who are you?"},
]
chatbot = pipeline("text-generation", model="mistralai/Mistral-7B-Instruct-v0.3-abliterated")
chatbot(messages)
```