File size: 1,448 Bytes
ae168a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3a4081c
ae168a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:
- inflatebot/MN-12B-Mag-Mell-R1
- grimjim/Magnolia-v3-12B
library_name: transformers
tags:
- mergekit
- merge
pipeline_tag: text-generation
---
# Magnolia-Mell-v1-12B

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

An asymmetric gradient SLERP was used to lightly apply MN-12B-Mag-Mell-R1 to Magnolia-v3-12B.

Tested for narrative text completion with temperature=1.0 and minP=0.02. Coherence is fairly high, though there may be occasional slips. If repetition is a problem, raising temperature briefly may help. The model appears to tolerate temperature=2.0 even.

## Merge Details
### Merge Method

This model was merged using the [SLERP](https://en.wikipedia.org/wiki/Slerp) merge method.

### Models Merged

The following models were included in the merge:
* [inflatebot/MN-12B-Mag-Mell-R1](https://huggingface.co/inflatebot/MN-12B-Mag-Mell-R1)
* [grimjim/Magnolia-v3-12B](https://huggingface.co/grimjim/Magnolia-v3-12B)

### Configuration

The following YAML configuration was used to produce this model:

```yaml
base_model: grimjim/Magnolia-v3-12B
dtype: bfloat16
merge_method: slerp
slices:
- sources:
  - model: grimjim/Magnolia-v3-12B
    layer_range: [0,40]
  - model: inflatebot/MN-12B-Mag-Mell-R1
    layer_range: [0,40]
parameters:
  t:
    - filter: self_attn
      value: [0.0,0.09]
    - filter: mlp
      value: [0.09,0.0]
    - value: [0.0,0.09]

```