49 lines
1.1 KiB
Markdown
49 lines
1.1 KiB
Markdown
---
|
|
base_model:
|
|
- daryl149/llama-2-7b-chat-hf
|
|
- arcee-ai/Patent-Instruct-7b
|
|
library_name: transformers
|
|
tags:
|
|
- mergekit
|
|
- merge
|
|
|
|
---
|
|
# merge
|
|
|
|
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 SLERP merge method.
|
|
|
|
### Models Merged
|
|
|
|
The following models were included in the merge:
|
|
* [daryl149/llama-2-7b-chat-hf](https://huggingface.co/daryl149/llama-2-7b-chat-hf)
|
|
* [arcee-ai/Patent-Instruct-7b](https://huggingface.co/arcee-ai/Patent-Instruct-7b)
|
|
|
|
### Configuration
|
|
|
|
The following YAML configuration was used to produce this model:
|
|
|
|
```yaml
|
|
|
|
slices:
|
|
- sources:
|
|
- model: arcee-ai/Patent-Instruct-7b
|
|
layer_range: [0, 32]
|
|
- model: daryl149/llama-2-7b-chat-hf
|
|
layer_range: [0, 32]
|
|
merge_method: slerp
|
|
base_model: daryl149/llama-2-7b-chat-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
|
|
```
|