48 lines
1.2 KiB
Markdown
48 lines
1.2 KiB
Markdown
|
|
---
|
||
|
|
base_model:
|
||
|
|
- cognitivecomputations/dolphin-2.2.1-mistral-7b
|
||
|
|
- mistralai/Mistral-7B-Instruct-v0.2
|
||
|
|
library_name: transformers
|
||
|
|
tags:
|
||
|
|
- mergekit
|
||
|
|
- merge
|
||
|
|
|
||
|
|
---
|
||
|
|
# merge
|
||
|
|
|
||
|
|
This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
|
||
|
|
|
||
|
|
## 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:
|
||
|
|
* [cognitivecomputations/dolphin-2.2.1-mistral-7b](https://huggingface.co/cognitivecomputations/dolphin-2.2.1-mistral-7b)
|
||
|
|
* [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2)
|
||
|
|
|
||
|
|
### Configuration
|
||
|
|
|
||
|
|
The following YAML configuration was used to produce this model:
|
||
|
|
|
||
|
|
```yaml
|
||
|
|
slices:
|
||
|
|
- sources:
|
||
|
|
- model: mistralai/Mistral-7B-Instruct-v0.2
|
||
|
|
layer_range: [0, 32]
|
||
|
|
- model: cognitivecomputations/dolphin-2.2.1-mistral-7b
|
||
|
|
layer_range: [0, 32]
|
||
|
|
merge_method: slerp
|
||
|
|
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
||
|
|
parameters:
|
||
|
|
t:
|
||
|
|
- filter: self_attn
|
||
|
|
value: [0, 0.5, 1]
|
||
|
|
- filter: mlp
|
||
|
|
value: [1, 0.5, 0]
|
||
|
|
- value: 0.5
|
||
|
|
dtype: bfloat16
|
||
|
|
```
|