File size: 1,680 Bytes
40caabd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
47
48
49
50
51
52
53
54
55
---
base_model:
- Qwen/Qwen2.5-Coder-1.5B-Instruct
- Qwen/Qwen2.5-1.5B-Instruct
- Qwen/Qwen2.5-Math-1.5B-Instruct
library_name: transformers
tags:
- mergekit
- merge

---
# merge

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 [TIES](https://arxiv.org/abs/2306.01708) merge method using [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct) as a base.

### Models Merged

The following models were included in the merge:
* [Qwen/Qwen2.5-Coder-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B-Instruct)
* [Qwen/Qwen2.5-Math-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Math-1.5B-Instruct)

### Configuration

The following YAML configuration was used to produce this model:

```yaml
merge_method: ties  # Use TIES for merging multiple models
base_model: Qwen/Qwen2.5-1.5B-Instruct  # Base model for the merge
dtype: bfloat16  # Data type for the merged model

models:
  - model: Qwen/Qwen2.5-1.5B-Instruct  # Base model
    parameters:
      weight: 0.5  # Weight for the base model

  - model: Qwen/Qwen2.5-Math-1.5B-Instruct  # Math-focused model
    parameters:
      density: 0.6  # Retain 60% of significant parameters
      weight: 0.3  # Weight for the math model

  - model: Qwen/Qwen2.5-Coder-1.5B-Instruct  # Code-focused model
    parameters:
      density: 0.6  # Retain 60% of significant parameters
      weight: 0.2  # Weight for the coder model

parameters:
  normalize: true  # Normalize weights to ensure compatibility
  int8_mask: true  # Optimize memory and computational efficiency
```