File size: 1,733 Bytes
99e90ff ff951e0 99e90ff ff951e0 |
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 |
---
base_model:
- meta-llama/Llama-2-7b-chat-hf
- allenai/tulu-2-dpo-7b
library_name: transformers
tags:
- mergekit
- merge
license: afl-3.0
---
# svd_franken_merge1
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 svd_franken_merge merge method using [meta-llama/Llama-2-7b-chat-hf](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf) as a base.
### Models Merged
The following models were included in the merge:
* [allenai/tulu-2-dpo-7b](https://huggingface.co/allenai/tulu-2-dpo-7b)
### Configuration
The following YAML configuration was used to produce this model:
```yaml
models:
- model: allenai/tulu-2-dpo-7b
parameters:
weight: 1.0
# - model: EleutherAI/llemma_7b
# parameters:
# weight: 1.0
merge_method: svd_franken_merge
base_model: meta-llama/Llama-2-7b-chat-hf
parameters:
probabilistic: True # use probabilistic SVD algorithm (maybe fastest but little inaccurate) instead of the non probabilistic SVD algorithm (slowest but accurate)
sv_reduction: 1.0 # strict value: "1.0 / number of task vector" if number of task vector is >=2 (percentage of singular components to keep for each TV)
sv_scaling: 1.0 # float (hyperparameter): suggested nearby "number of task vector / 2.0" if number of task vector is >=2 else 1.0 (reduction to the stretching factor of the singular values)
num_iterations: 4 # number of iterations for the probabilistic SVD algorithm (2 is a good start and fastest option but could be inaccurate, 32 is the most accurate but slowest option. I don't recommend going above 32 use SVD probabilistic at False instead)
dtype: float16
``` |