File size: 1,985 Bytes
5a24cf4
c579289
 
 
 
 
 
 
5a24cf4
 
c579289
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---

base_model:
- meta-llama/Meta-Llama-3-8B-Instruct
- failspy/Meta-Llama-3-8B-Instruct-abliterated-v3
library_name: transformers
tags:
- mergekit
- merge
license: llama3
---

# Llama-3-Instruct-abliteration-OVA-8B

This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).

Below, we explore negative weight merger and propose Orthogonalized Vector Adaptation, or OVA.

Task arithmetic was used to isolate the intervention vector that was applied to create [Instruct-abliterated-v3](https://huggingface.co/failspy/Meta-Llama-3-8B-Instruct-abliterated-v3) by applying a negative weight of -1.0 to remove the baseline [Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) weights. 

The resulting weights comprise an Orthogonalized Vector Adaptation that can subsequently be applied to the base Instruct model using task arithmetic merger, and can in principle be applied similarly via merger to other models derived from fine-tuning the Instruct model.

Built with Meta Llama 3.

## Merge Details
### Merge Method

This model was merged using the [task arithmetic](https://arxiv.org/abs/2212.04089) merge method using [failspy/Meta-Llama-3-8B-Instruct-abliterated-v3](https://huggingface.co/failspy/Meta-Llama-3-8B-Instruct-abliterated-v3) as a base.

### Models Merged

The following models were included in the merge:
* [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct)

### Configuration

The following YAML configuration was used to produce this model:

```yaml

base_model: failspy/Meta-Llama-3-8B-Instruct-abliterated-v3

dtype: bfloat16

merge_method: task_arithmetic

parameters:

  normalize: false

slices:

- sources:

  - layer_range: [0, 32]

    model: failspy/Meta-Llama-3-8B-Instruct-abliterated-v3

  - layer_range: [0, 32]

    model: meta-llama/Meta-Llama-3-8B-Instruct

    parameters:

      weight: -1.0



```