File size: 1,736 Bytes
28040ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
base_model:
- google/gemma-2-9b-it
- grimjim/Magnolia-v2-Gemma2-8k-9B
- AXCXEPT/EZO-Humanities-9B-gemma-2-it
- grimjim/lemon07r_Gemma-2-Ataraxy-v4c-9B_fixed
library_name: transformers
pipeline_tag: text-generation
tags:
- mergekit
- merge
license: gemma
---
# Magnolia-v4-Gemma2-8k-9B

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

The model has been tested on narrative text generation. Instability was sometimes observed in a prior version when characters were portrayed as emotionally charged, prompting this rebuild around the original Instruct model as a core.

## Merge Details
### Merge Method

This model was merged using the [task arithmetic](https://arxiv.org/abs/2212.04089) merge method using [google/gemma-2-9b-it](https://huggingface.co/google/gemma-2-9b-it) as a base.

### Models Merged

The following models were included in the merge:
* [grimjim/Magnolia-v2-Gemma2-8k-9B](https://huggingface.co/grimjim/Magnolia-v2-Gemma2-8k-9B)
* [AXCXEPT/EZO-Humanities-9B-gemma-2-it](https://huggingface.co/AXCXEPT/EZO-Humanities-9B-gemma-2-it)
* [grimjim/lemon07r_Gemma-2-Ataraxy-v4c-9B_fixed](https://huggingface.co/grimjim/lemon07r_Gemma-2-Ataraxy-v4c-9B_fixed)

### Configuration

The following YAML configuration was used to produce this model:

```yaml
base_model: google/gemma-2-9b-it
dtype: bfloat16
merge_method: task_arithmetic
parameters:
  normalize: true
models:
  - model: google/gemma-2-9b-it
  - model: grimjim/Magnolia-v2-Gemma2-8k-9B
    parameters:
      weight: 0.5
  - model: grimjim/lemon07r_Gemma-2-Ataraxy-v4c-9B_fixed
    parameters:
      weight: 0.15
  - model: AXCXEPT/EZO-Humanities-9B-gemma-2-it
    parameters:
      weight: 0.3

```