transformers safetensors gemma text-generation merge mergekit google/gemma-2b google/gemma-2b-it license:apache-2.0 autotrain_compatible endpoints_compatible text-generation-inference region:us
---
license: apache-2.0
tags:
- merge
- mergekit
- google/gemma-2b
- google/gemma-2b-it
---

# Gemma-merged-2B-ties

Gemma-merged-2B-ties is a merge of the following models using [mergekit](https://github.com/cg123/mergekit):
* [google/gemma-2b](https://huggingface.co/google/gemma-2b)
* [google/gemma-2b-it](https://huggingface.co/google/gemma-2b-it)

## 🧩 Configuration

```yaml
models:
  - model: google/gemma-2b
    parameters:
      density: 0.5
      weight: 0.5
  - model: google/gemma-2b-it
    parameters:
      density: 0.5
      weight: 0.5 # weight gradient
merge_method: ties
base_model: google/gemma-2b
parameters:
  normalize: true
  int8_mask: true
dtype: bfloat16

```