transformers safetensors mistral text-generation mergekit merge arxiv:2306.01708 base_model:BioMistral/BioMistral-7B base_model:merge:BioMistral/BioMistral-7B base_model:HuggingFaceH4/zephyr-7b-beta base_model:merge:HuggingFaceH4/zephyr-7b-beta base_model:mistralai/Mistral-7B-v0.1 base_model:merge:mistralai/Mistral-7B-v0.1 autotrain_compatible text-generation-inference endpoints_compatible region:us
---
base_model:
- mistralai/Mistral-7B-v0.1
- BioMistral/BioMistral-7B
- HuggingFaceH4/zephyr-7b-beta
library_name: transformers
tags:
- mergekit
- merge
---
# BioMistral-merged-zephyr

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 [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) as a base.

### Models Merged

The following models were included in the merge:
* [BioMistral/BioMistral-7B](https://huggingface.co/BioMistral/BioMistral-7B)
* [HuggingFaceH4/zephyr-7b-beta](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta)

## 🏆 Evaluation

|Pubmedqa|Medmcqa|USMLE|arc_challenge|Hellaswag|
|---|---|---|---|---|
|76.8|47.21|47.62|55.89|63.43|

### Configuration

The following YAML configuration was used to produce this model:

```yaml
models:
  - model: mistralai/Mistral-7B-v0.1
  - model: HuggingFaceH4/zephyr-7b-beta
    parameters:
      density: 0.5
      weight: 0.5
  - model: BioMistral/BioMistral-7B
    parameters:
      density: 0.5
      weight: 0.5

merge_method: ties
base_model: mistralai/Mistral-7B-v0.1
parameters:
  normalize: false
  int8_mask: true
dtype: float16

```
