File size: 2,187 Bytes
7ea94b0
 
 
 
 
 
 
 
 
 
 
 
ff631fa
 
42cdcc9
 
 
 
c302bb1
 
692a62d
 
 
 
7ea94b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
base_model: []
library_name: transformers
tags:
- mergekit
- merge

---
# merge

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

Thank you to [MatchaSpeed](https://huggingface.co/matchaaaaa) for picking out the models to go into this merge. You're awesome! 🤗

The models in this merge were chosen for their attention to detail and/or their creativity. 

Based on each model's individual strength, weights were applied to prioritize the model's intelligence (self-attention weights) or style/creativity (multi-layer perceptron weights).

GGUF versions available courtesy of BackyardAI https://huggingface.co/backyardai/BlackMagic-7B-GGUF 

# Usage

Recommended prompt format is Alpaca, as this is most widely accepted by the component models.

## Merge Details
### Merge Method

This model was merged using the [task arithmetic](https://arxiv.org/abs/2212.04089) merge method using Mistral-7B-v0.1 as a base.

### Models Merged

The following models were included in the merge:
* fearlessdots/WizardLM-2-7B-abliterated
* Gryphe/MythoMist-7b
* Sao10K/Frostwind-v2.1-m7
* senseable/Westlake-7b-v2
* maywell/PiVoT-0.1-Evil-a
* Undi95/Toppy-M-7B

### Configuration

The following YAML configuration was used to produce this model:

```yaml
models:
  - model: fearlessdots/WizardLM-2-7B-abliterated
    parameters:
      weight: 1.0
  - model: Undi95/Toppy-M-7B
    parameters:
      weight: 
        - filter: self_attn
          value: 0.8
        - value: 0.5
  - model: senseable/Westlake-7b-v2
    parameters:
      weight:
        - filter: self_attn
          value: 0.6
        - value: 0.4
  - model: maywell/PiVoT-0.1-Evil-a
    parameters:
      weight: 
        - filter: mlp
          value: 0.2
        - value: 0.0
  - model: Sao10K/Frostwind-v2.1-m7
    parameters:
      weight: 
        - filter: self_attn
          value: 0.2
        - filter: mlp
          value: 0.8
        - value: 0.5
  - model: Gryphe/MythoMist-7b
    parameters:
      weight: 
        - filter: mlp
          value: 0.6
        - value: 0.0
base_model: TeeZee/Mistral-7B-v0.1-fp32
merge_method: task_arithmetic
dtype: float32
```