mlabonne commited on
Commit
3aad385
1 Parent(s): 8b91aa4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
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/GM0WXDXmUU1dRJdYi-Py0.png)
19
 
20
- The recipe is simple:
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