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. | |
## 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] | |
``` | |