---
base_model:
- HuggingFaceH4/zephyr-7b-beta
- meta-llama/Llama-2-7b-chat-hf
library_name: transformers
tags:
- mergekit
- merge

---
# zephyr-llama2-7b-ties

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 [TIES](https://arxiv.org/abs/2306.01708) merge method using [HuggingFaceH4/zephyr-7b-beta](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta) as a base.

### Models Merged

The following models were included in the merge:
* [meta-llama/Llama-2-7b-chat-hf](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf)

### Configuration

The following YAML configuration was used to produce this model:

```yaml
models:
  - model: HuggingFaceH4/zephyr-7b-beta
  - model: meta-llama/Llama-2-7b-chat-hf
    parameters:
        density: 0.1
        weight:   # weight gradient
        - filter: mlp
          value: 0.1
        - value: 0
merge_method: ties
base_model: HuggingFaceH4/zephyr-7b-beta
parameters:
  normalize: true
  int8_mask: true
dtype: float16
```