grimjim commited on
Commit
e0f84a9
1 Parent(s): 3e4207a

Initial release

Browse files
.gitattributes CHANGED
@@ -4,6 +4,7 @@
4
  *.bz2 filter=lfs diff=lfs merge=lfs -text
5
  *.ckpt filter=lfs diff=lfs merge=lfs -text
6
  *.ftz filter=lfs diff=lfs merge=lfs -text
 
7
  *.gz filter=lfs diff=lfs merge=lfs -text
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
  *.joblib filter=lfs diff=lfs merge=lfs -text
 
4
  *.bz2 filter=lfs diff=lfs merge=lfs -text
5
  *.ckpt filter=lfs diff=lfs merge=lfs -text
6
  *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gguf filter=lfs diff=lfs merge=lfs -text
8
  *.gz filter=lfs diff=lfs merge=lfs -text
9
  *.h5 filter=lfs diff=lfs merge=lfs -text
10
  *.joblib filter=lfs diff=lfs merge=lfs -text
Llama-3.1-8B-Instruct-abliterated_via_adapter.Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b51cd8c1d4865a1f098f8cefb53d7e53483208c83aa6584d0576715e46abdaa0
3
+ size 4920734816
Llama-3.1-8B-Instruct-abliterated_via_adapter.Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dae7272776730f5c1bd61e489c0ce9079c187fea5f5c0fb598e536f50b878bf8
3
+ size 5732988000
Llama-3.1-8B-Instruct-abliterated_via_adapter.Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0fe37c7c0850c19c7449c75e355f130fd7c7ffaaab7597c21d9dc35b52e30a9
3
+ size 6596007008
Llama-3.1-8B-Instruct-abliterated_via_adapter.Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83220aed42b2902bc083a6a086c643c2b959d0f12a1a76adb5e7ef28857405b3
3
+ size 8540771424
README.md CHANGED
@@ -1,3 +1,44 @@
1
  ---
 
 
 
 
 
 
 
2
  license: llama3.1
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model:
3
+ - meta-llama/Meta-Llama-3.1-8B-Instruct
4
+ - grimjim/Llama-3-Instruct-abliteration-LoRA-8B
5
+ library_name: transformers
6
+ tags:
7
+ - mergekit
8
+ - merge
9
  license: llama3.1
10
+ pipeline_tag: text-generation
11
  ---
12
+ # Llama-3.1-8B-Instruct-abliterated_via_adapter-GGUF
13
+
14
+ This repo contains select GGUF quants of a model that is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
15
+
16
+ A LoRA was applied to "abliterate" refusals in [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct). The result appears to work despite the LoRA having been derived from Llama 3 instead of Llama 3.1, which implies that there is significant feature commonality between the 3 and 3.1 models.
17
+
18
+ The LoRA was extracted from [failspy/Meta-Llama-3-8B-Instruct-abliterated-v3](https://huggingface.co/failspy/Meta-Llama-3-8B-Instruct-abliterated-v3) and uses [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) as a base.
19
+
20
+ Built with Llama.
21
+
22
+ ## Merge Details
23
+ ### Merge Method
24
+
25
+ This model was merged using the [task arithmetic](https://arxiv.org/abs/2212.04089) merge method using [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct) + [grimjim/Llama-3-Instruct-abliteration-LoRA-8B](https://huggingface.co/grimjim/Llama-3-Instruct-abliteration-LoRA-8B) as a base.
26
+
27
+ ### Configuration
28
+
29
+ The following YAML configuration was used to produce this model:
30
+
31
+ ```yaml
32
+ base_model: meta-llama/Meta-Llama-3.1-8B-Instruct+grimjim/Llama-3-Instruct-abliteration-LoRA-8B
33
+ dtype: bfloat16
34
+ merge_method: task_arithmetic
35
+ parameters:
36
+ normalize: false
37
+ slices:
38
+ - sources:
39
+ - layer_range: [0, 32]
40
+ model: meta-llama/Meta-Llama-3.1-8B-Instruct+grimjim/Llama-3-Instruct-abliteration-LoRA-8B
41
+ parameters:
42
+ weight: 1.0
43
+
44
+ ```