File size: 947 Bytes
2201d96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
base_model:
- microsoft/phi-2
- vimal52/phi2_medical
library_name: transformers
tags:
- mergekit
- merge

---
# merged_model

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:
* [microsoft/phi-2](https://huggingface.co/microsoft/phi-2)
* [vimal52/phi2_medical](https://huggingface.co/vimal52/phi2_medical)

### Configuration

The following YAML configuration was used to produce this model:

```yaml

 models:
   - model : microsoft/phi-2
   - model : vimal52/phi2_medical
 merge_method: slerp
 base_model: microsoft/phi-2
 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 # fallback for rest of tensors
 dtype: float16

```