transformers safetensors phi text-generation mergekit merge custom_code base_model:microsoft/phi-1 base_model:microsoft/phi-2 autotrain_compatible endpoints_compatible text-generation-inference region:us
---
base_model:
- microsoft/phi-1
- microsoft/phi-2
library_name: transformers
tags:
- mergekit
- merge

---
# merged_2

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 passthrough merge method.

### Models Merged

The following models were included in the merge:
* [microsoft/phi-1](https://huggingface.co/microsoft/phi-1)
* [microsoft/phi-2](https://huggingface.co/microsoft/phi-2)

### Configuration

The following YAML configuration was used to produce this model:

```yaml
dtype: float16
merge_method: passthrough
slices:
- sources:
  - layer_range: [0, 10]
    model:
      model:
        path: microsoft/phi-1
- sources:
  - layer_range: [20, 30]
    model:
      model:
        path: microsoft/phi-2
```
