Update README.md
Browse files
README.md
CHANGED
@@ -15,13 +15,15 @@ This is an uncensored version of [NousResearch/Hermes-3-Llama-3.1-8B](https://hu
|
|
15 |
|
16 |
You can see in the following example how Hermes 3 refuses to answer a legitimate question while the abliterated model complies:
|
17 |
|
18 |
-
![image/png](https://cdn-uploads.huggingface.co/production/uploads/61b8e2ba285851687028d395/
|
19 |
|
20 |
-
The recipe is
|
21 |
|
22 |
1. **Extraction**: We extract a LoRA adapter by comparing two models: a censored Llama 3.1 ([meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct)) and an abliterated Llama 3.1 ([mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated](https://huggingface.co/mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated)).
|
23 |
2. **Merge**: We merge this new LoRA adapter using [task arithmetic](https://arxiv.org/abs/2212.04089) to the censored [NousResearch/Hermes-3-Llama-3.1-8B](https://huggingface.co/NousResearch/Hermes-3-Llama-3.1-8B) to abliterate it.
|
24 |
|
|
|
|
|
25 |
See [this article](https://huggingface.co/blog/mlabonne/abliteration) to learn more about abliteration.
|
26 |
|
27 |
## ⚡ Quantization
|
|
|
15 |
|
16 |
You can see in the following example how Hermes 3 refuses to answer a legitimate question while the abliterated model complies:
|
17 |
|
18 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/61b8e2ba285851687028d395/2-ZRBvlZxvIr_Ag_ynNkk.png)
|
19 |
|
20 |
+
The recipe is based on @grimjim's [grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter](https://huggingface.co/grimjim/Llama-3.1-8B-Instruct-abliterated_via_adapter) (special thanks):
|
21 |
|
22 |
1. **Extraction**: We extract a LoRA adapter by comparing two models: a censored Llama 3.1 ([meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct)) and an abliterated Llama 3.1 ([mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated](https://huggingface.co/mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated)).
|
23 |
2. **Merge**: We merge this new LoRA adapter using [task arithmetic](https://arxiv.org/abs/2212.04089) to the censored [NousResearch/Hermes-3-Llama-3.1-8B](https://huggingface.co/NousResearch/Hermes-3-Llama-3.1-8B) to abliterate it.
|
24 |
|
25 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/61b8e2ba285851687028d395/JdYyK-HLHbyBiHvg-Nvsn.png)
|
26 |
+
|
27 |
See [this article](https://huggingface.co/blog/mlabonne/abliteration) to learn more about abliteration.
|
28 |
|
29 |
## ⚡ Quantization
|