transformers safetensors llama text-generation merge mergekit lazymergekit meta-llama/Llama-2-7b-hf Trelis/Llama-2-7b-chat-hf-function-calling-v3 license:apache-2.0 autotrain_compatible endpoints_compatible text-generation-inference region:us
---
license: apache-2.0
tags:
- merge
- mergekit
- lazymergekit
- meta-llama/Llama-2-7b-hf
- Trelis/Llama-2-7b-chat-hf-function-calling-v3
---

# llama2-7b-function-calling-slerp

llama2-7b-function-calling-slerp is a merge of the following models using [mergekit](https://github.com/cg123/mergekit):
* [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf)
* [Trelis/Llama-2-7b-chat-hf-function-calling-v3](https://huggingface.co/Trelis/Llama-2-7b-chat-hf-function-calling-v3)

## 🧩 Configuration

```yaml
slices:
  - sources:
      - model: meta-llama/Llama-2-7b-hf
        layer_range: [0, 32]
      - model: Trelis/Llama-2-7b-chat-hf-function-calling-v3
        layer_range: [0, 32]
merge_method: slerp
base_model: meta-llama/Llama-2-7b-hf
parameters:
  t:
    - filter: self_attn
      value: [0, 0.5, 0.3, 0.7, 1]
    - filter: mlp
      value: [1, 0.5, 0.7, 0.3, 0]
    - value: 0.5
dtype: bfloat16

```