# Merged

This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit), but using my experimental branch [swapping](https://github.com/Ar57m/mergekit/tree/swapping) 

The "Other" branch is where I did something wrong, so in the "main" I did it right(I hope 😅).

## Merge Details
### Merge Method

This model was merged using the task_swapping merge method not sure if I did it right and how the model was impacted, using [NousResearch/Yarn-Mistral-7b-128k](https://huggingface.co/NousResearch/Yarn-Mistral-7b-128k) as a base.


### Models Merged

The following models were included in the merge:
* [senseable/WestLake-7B-v2](https://huggingface.co/senseable/WestLake-7B-v2)

### Configuration

The following YAML configuration was used to produce this model:

```yaml
base_model:
  model:
    path: NousResearch/Yarn-Mistral-7b-128k
dtype: bfloat16
merge_method: task_swapping
slices:
- sources:
  - layer_range: [0, 32]
    model:
      model:
        path: senseable/WestLake-7B-v2
    parameters:
      weight: 0.666
      diagonal_offset: 2
  - layer_range: [0, 32]
    model:
      model:
        path: NousResearch/Yarn-Mistral-7b-128k
```
{"license": "apache-2.0", "tags": ["mergekit", "merge"], "base_model": ["senseable/WestLake-7B-v2", "NousResearch/Yarn-Mistral-7b-128k"]}
transformers safetensors gguf mistral text-generation mergekit merge custom_code base_model:senseable/WestLake-7B-v2 base_model:NousResearch/Yarn-Mistral-7b-128k license:apache-2.0 autotrain_compatible endpoints_compatible text-generation-inference region:us