|
--- |
|
base_model: |
|
- Qwen/Qwen2.5-32B |
|
- Qwen/Qwen2.5-32B-Instruct |
|
- Qwen/Qwen2.5-Coder-32B |
|
- Qwen/Qwen2.5-Coder-32B-Instruct |
|
library_name: transformers |
|
tags: |
|
- mergekit |
|
- merge |
|
license: apache-2.0 |
|
language: |
|
- en |
|
- zh |
|
pipeline_tag: text-generation |
|
--- |
|
 |
|
*This series aims to unify the **official models** of **Qwen**.* |
|
|
|
*The **unified model** obtained by merging the **code** model and the **instruction** model through the **SCE** method* |
|
### Configuration |
|
|
|
The following YAML configuration was used to produce this model: |
|
```yaml |
|
models: |
|
- model: Qwen/Qwen2.5-32B-instruct |
|
parameters: |
|
density: 1 |
|
weight: 1 |
|
lambda: 0.9 |
|
merge_method: della |
|
base_model: Qwen/Qwen2.5-32B |
|
parameters: |
|
density: 1 |
|
weight: 1 |
|
lambda: 0.9 |
|
normalize: true |
|
int8_mask: true |
|
dtype: bfloat16 |
|
name: Qwen2.5-32B-YOYO |
|
``` |
|
```yaml |
|
models: |
|
- model: Qwen/Qwen2.5-Coder-32B-instruct |
|
parameters: |
|
density: 1 |
|
weight: 1 |
|
lambda: 0.9 |
|
merge_method: della |
|
base_model: Qwen/Qwen2.5-Coder-32B |
|
parameters: |
|
density: 1 |
|
weight: 1 |
|
lambda: 0.9 |
|
normalize: true |
|
int8_mask: true |
|
dtype: bfloat16 |
|
name: Qwen2.5-Coder-32B-YOYO |
|
``` |
|
```yaml |
|
merge_method: sce |
|
models: |
|
# Pivot model |
|
- model: Qwen/Qwen2.5-Coder-32B |
|
# Target models |
|
- model: YOYO-AI/Qwen2.5-32B-YOYO |
|
- model: YOYO-AI/Qwen2.5-Coder-32B-YOYO |
|
base_model: Qwen/Qwen2.5-Coder-32B |
|
parameters: |
|
select_topk: 1 |
|
dtype: bfloat16 |
|
tokenizer_source: base |
|
normalize: true |
|
int8_mask: true |
|
``` |