Pretergeek commited on
Commit
c271aee
1 Parent(s): 6c1584b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -4
README.md CHANGED
@@ -5,16 +5,26 @@ library_name: transformers
5
  tags:
6
  - mergekit
7
  - merge
8
-
9
  ---
10
- # Untitled Model (1)
 
 
 
 
 
11
 
12
- This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
13
 
14
  ## Merge Details
15
  ### Merge Method
16
 
17
- This model was merged using the passthrough merge method.
 
 
 
 
 
 
18
 
19
  ### Models Merged
20
 
@@ -194,3 +204,16 @@ merge_method: passthrough
194
  dtype: bfloat16
195
 
196
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  tags:
6
  - mergekit
7
  - merge
 
8
  ---
9
+ <p align="center">
10
+ <a href="https://ko-fi.com/pretergeek">Buy me a Ko-Fi</a> •
11
+ <a href="https://patreon.com/Pretergeek">Support my work using Patreon</a>
12
+ </p>
13
+
14
+ # OpenChat-3.5-0106_BlockExpansion-48Layers-End
15
 
16
+ This is NOT your usual frankenmerge created using [mergekit](https://github.com/cg123/mergekit).
17
 
18
  ## Merge Details
19
  ### Merge Method
20
 
21
+ This model was merged using the passthrough merge method, but employing a variation of the Block Expansion method described in the paper [LLaMA Pro: Progressive LLaMA with Block Expansion](https://arxiv.org/abs/2401.02415).
22
+
23
+ The authors of the paper added new layers interleaved in between the original layers of the model, setting the parameters of the o_proj and down_proj layers to zero. This effectively adds layers that will just output their input (as if they were "transparent") allowing the model to remain functional even without further training. These new layers can then be targeted during training or fine-tuning without risking catastrophic forgetting, if you follow the author's training method to freeze the original layers and only train the new layers.
24
+
25
+ I used the same method but added the new layers to the end of the model. My rationale is that the level of abstraction increases with each layer of the model. So, while new layers spread along the original layers will help the model to learn new tasks, adding layers to the end of the model and then re-training/fine-tuning the model on tasks it already performs well could improve the models understanding of those task and perform them better by employing more complex reasoning.
26
+
27
+ This model has not yet received additional training, so it should perform close to the original model. Evaluations are pending and will be added when available.
28
 
29
  ### Models Merged
30
 
 
204
  dtype: bfloat16
205
 
206
  ```
207
+
208
+ ## Citation
209
+ ```
210
+ @misc{wu2024llamaproprogressivellama,
211
+ title={LLaMA Pro: Progressive LLaMA with Block Expansion},
212
+ author={Chengyue Wu and Yukang Gan and Yixiao Ge and Zeyu Lu and Jiahao Wang and Ye Feng and Ying Shan and Ping Luo},
213
+ year={2024},
214
+ eprint={2401.02415},
215
+ archivePrefix={arXiv},
216
+ primaryClass={cs.CL},
217
+ url={https://arxiv.org/abs/2401.02415},
218
+ }
219
+ ```