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