Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,59 @@
|
|
1 |
-
---
|
2 |
-
license: cc-by-nc-4.0
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-4.0
|
3 |
+
---
|
4 |
+
# This model is experimental and thus results cannot be gauranteed.
|
5 |
+
|
6 |
+

|
7 |
+
# Dendrite-L3-10B
|
8 |
+
|
9 |
+
In a similar vein to [Libra-19B](https://huggingface.co/Envoid/Libra-19B) this model was created by taking all of the layers of one model and stacking along with them the first number of layers (8 in this case) from a donor model but in the reverse order.
|
10 |
+
|
11 |
+
In this case the base model used was [Poppy_Porpoise-DADA-8B](https://huggingface.co/Envoid/Poppy_Porpoise-DADA-8B) and the donor model used was [Llama-3-8B-Instruct-DADA](https://huggingface.co/Envoid/Llama-3-8B-Instruct-DADA)
|
12 |
+
|
13 |
+
It was then finetuned for 10 epochs on the Dendrite dataset at a low learning rate to repair the disorder and integrate the donor layers.
|
14 |
+
|
15 |
+
The following mergekit config was used:
|
16 |
+
```
|
17 |
+
slices:
|
18 |
+
- sources:
|
19 |
+
- model: ./PoppyPorpoiseDADA-8B
|
20 |
+
layer_range: [0, 32]
|
21 |
+
- sources:
|
22 |
+
- model: ./Llama-3-8B-Instruct-DADA
|
23 |
+
layer_range: [7, 8]
|
24 |
+
- sources:
|
25 |
+
- model: ./Llama-3-8B-Instruct-DADA
|
26 |
+
layer_range: [6, 7]
|
27 |
+
- sources:
|
28 |
+
- model: ./Llama-3-8B-Instruct-DADA
|
29 |
+
layer_range: [5, 6]
|
30 |
+
- sources:
|
31 |
+
- model: ./Llama-3-8B-Instruct-DADA
|
32 |
+
layer_range: [4, 5]
|
33 |
+
- sources:
|
34 |
+
- model: ./Llama-3-8B-Instruct-DADA
|
35 |
+
layer_range: [3, 4]
|
36 |
+
- sources:
|
37 |
+
- model: ./Llama-3-8B-Instruct-DADA
|
38 |
+
layer_range: [2, 3]
|
39 |
+
- sources:
|
40 |
+
- model: ./Llama-3-8B-Instruct-DADA
|
41 |
+
layer_range: [1, 2]
|
42 |
+
- sources:
|
43 |
+
- model: ./Llama-3-8B-Instruct-DADA
|
44 |
+
layer_range: [0, 1]
|
45 |
+
merge_method: passthrough
|
46 |
+
dtype: float16
|
47 |
+
```
|
48 |
+
|
49 |
+
Unlike in the case of Libra-19B this models moral alignment seems very much intact.
|
50 |
+
|
51 |
+
In order to get the best results from this model you should uncheck "skip special tokens" on your front-end and add "<|eot_id|>" to your custom stopping strings.
|
52 |
+
|
53 |
+
It has been tested with a numnber of different Llama-3 prompt templates and seems to work well.
|
54 |
+
|
55 |
+
It regained its base assistant personality during the retraining process, however, using assistant style prompt templates and assistant cards in SillyTavern gives it fairly interesting replies.
|
56 |
+
|
57 |
+
It has been tested in RP, assistant and creative writing use cases and at a quick glance seems to work well.
|
58 |
+
|
59 |
+
Training was done using [qlora-pipe](https://github.com/tdrussell/qlora-pipe)
|