transformers safetensors gpt2 text-generation mergekit merge arxiv:2203.05482 base_model:openai-community/gpt2 autotrain_compatible endpoints_compatible text-generation-inference region:us
---
base_model:
- openai-community/gpt2
library_name: transformers
tags:
- mergekit
- merge

---
# merged

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 [linear](https://arxiv.org/abs/2203.05482) merge method.

### Models Merged

The following models were included in the merge:
* [openai-community/gpt2](https://huggingface.co/openai-community/gpt2)

### Configuration

The following YAML configuration was used to produce this model:

```yaml
dtype: float16
merge_method: linear
slices:
- sources:
  - layer_range: [0, 12]
    model:
      model:
        path: openai-community/gpt2
    parameters:
      weight: 1.0
  - layer_range: [0, 12]
    model:
      model:
        path: openai-community/gpt2
    parameters:
      weight: 1.0
```
