Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
---
|
6 |
+
|
7 |
+
Merge AIDC-ai-business/Marcoroni-7B-v3 and rwitz/go-bruins-v2 using slerp merge from https://github.com/cg123/mergekit.
|
8 |
+
|
9 |
+
*config.yaml*
|
10 |
+
```
|
11 |
+
slices:
|
12 |
+
- sources:
|
13 |
+
- model: AIDC-ai-business/Marcoroni-7B-v3
|
14 |
+
layer_range: [0, 32]
|
15 |
+
- model: rwitz/go-bruins-v2
|
16 |
+
layer_range: [0, 32]
|
17 |
+
merge_method: slerp
|
18 |
+
base_model: AIDC-ai-business/Marcoroni-7B-v3
|
19 |
+
parameters:
|
20 |
+
t:
|
21 |
+
- filter: self_attn
|
22 |
+
value: [0, 0.5, 0.3, 0.7, 1]
|
23 |
+
- filter: mlp
|
24 |
+
value: [1, 0.5, 0.7, 0.3, 0]
|
25 |
+
- value: 0.5
|
26 |
+
dtype: float16
|
27 |
+
```
|
28 |
+
|
29 |
+
You can use alpaca template.
|
30 |
+
```
|
31 |
+
template_format = """{system}
|
32 |
+
### Instruction:
|
33 |
+
{prompt}
|
34 |
+
|
35 |
+
### Response:
|
36 |
+
"""
|
37 |
+
```
|