Vortex5 commited on
Commit
b44cec9
·
verified ·
1 Parent(s): 804cfe5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +126 -21
README.md CHANGED
@@ -6,30 +6,84 @@ library_name: transformers
6
  tags:
7
  - mergekit
8
  - merge
9
-
10
  ---
11
- # merge
12
-
13
- This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
14
-
15
- ## Merge Details
16
- ### Merge Method
17
-
18
- This model was merged using the harmony_forge merge method.
19
-
20
- ### Models Merged
 
 
 
 
 
 
 
 
 
 
 
21
 
22
- The following models were included in the merge:
23
- * [Vortex5/Vermilion-Sage-12B](https://huggingface.co/Vortex5/Vermilion-Sage-12B)
24
- * [SicariusSicariiStuff/Impish_Nemo_12B](https://huggingface.co/SicariusSicariiStuff/Impish_Nemo_12B)
 
 
 
25
 
26
- ### Configuration
 
 
27
 
28
- The following YAML configuration was used to produce this model:
29
-
30
- ```yaml
31
-
32
- merge_method: harmony_forge
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  models:
34
  - model: Vortex5/Vermilion-Sage-12B
35
  - model: SicariusSicariiStuff/Impish_Nemo_12B
@@ -38,5 +92,56 @@ parameters:
38
  blend: 0.7
39
  tokenizer:
40
  source: union
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  tags:
7
  - mergekit
8
  - merge
9
+ - roleplay
10
  ---
11
+ <div style="max-width:1000px;margin:40px auto 24px;padding:0 12px;">
12
+ <div style="
13
+ background: radial-gradient(circle at 30% 50%, rgba(0,40,80,0.35), rgba(0,10,30,0.88));
14
+ border:1px solid rgba(20,120,180,0.35);
15
+ border-radius:12px;
16
+ box-shadow:0 0 25px rgba(0,100,180,0.3), inset 0 0 25px rgba(0,80,140,0.2);
17
+ overflow:hidden;">
18
+ <div style="padding:28px 22px;text-align:center;">
19
+ <h1 style="margin:0;font-size:2.2rem;letter-spacing:2px;text-transform:uppercase;
20
+ background:linear-gradient(90deg,#6de6ff,#005d8c);
21
+ -webkit-background-clip:text;-webkit-text-fill-color:transparent;
22
+ text-shadow:0 0 12px rgba(80,200,255,0.4);
23
+ font-family:ui-sans-serif,system-ui,Segoe UI,Roboto,Inter,Arial;">
24
+ Harmony Bird 12B
25
+ </h1>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ <div style="height:8px;max-width:900px;margin:25px auto 10px;
30
+ background:radial-gradient(circle, rgba(0,60,90,0.25), rgba(0,10,20,0.95));
31
+ border-radius:50%;box-shadow:inset 0 0 10px rgba(0,100,140,0.35);"></div>
32
 
33
+ <div style="max-width:1000px;margin:0 auto 25px;padding:0 12px;text-align:center;">
34
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/6669a3a617b838fda45637b8/t_aOB1_Ae182GNLcvV9dm.png"
35
+ style="width:100%;max-width:960px;border-radius:12px;
36
+ border:1px solid rgba(60,160,200,0.4);
37
+ box-shadow:0 0 22px rgba(60,140,180,0.3), inset 0 0 8px rgba(100,220,255,0.15);" />
38
+ </div>
39
 
40
+ <div style="height:8px;max-width:900px;margin:10px auto 30px;
41
+ background:radial-gradient(circle, rgba(0,60,90,0.25), rgba(0,10,20,0.95));
42
+ border-radius:50%;box-shadow:inset 0 0 10px rgba(0,100,140,0.35);"></div>
43
 
44
+ <!-- 01 // Overview -->
45
+ <div style="max-width:1000px;margin:0 auto 28px;padding:0 12px;">
46
+ <div style="
47
+ background:radial-gradient(circle at 30% 50%, rgba(0,40,80,0.35), rgba(0,10,30,0.88));
48
+ border:1px solid rgba(20,120,180,0.35);
49
+ border-radius:12px;overflow:hidden;
50
+ box-shadow:0 0 25px rgba(0,100,180,0.3), inset 0 0 25px rgba(0,80,140,0.2);">
51
+ <div style="padding:12px 18px;background:linear-gradient(90deg, rgba(0,100,140,0.3), rgba(0,40,80,0.4));
52
+ border-bottom:1px solid rgba(30,160,220,0.15);">
53
+ <h2 style="margin:0;color:#d8f8ff;font-size:1.05rem;letter-spacing:1px;text-transform:uppercase;">
54
+ 01 // Overview
55
+ </h2>
56
+ </div>
57
+ <div style="padding:18px 22px;color:#e8f9ff;">
58
+ <p style="margin:0 0 10px;">
59
+ <strong>Harmony-Bird-12B</strong> is a merged model intended for roleplay and storytelling.
60
+ </p>
61
+ <p style="margin:0;">Built with <a href="https://github.com/arcee-ai/mergekit" target="_blank" style="color:#5ad6ff;text-decoration:none;">MergeKit</a>.</p>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ <!-- 02 // Merge Step 1 -->
66
+ <div style="max-width:1000px;margin:0 auto 28px;padding:0 12px;">
67
+ <div style="background:radial-gradient(circle at 30% 50%, rgba(0,40,80,0.35), rgba(0,10,30,0.88));
68
+ border:1px solid rgba(20,120,180,0.35);border-radius:12px;overflow:hidden;
69
+ box-shadow:0 0 25px rgba(0,100,180,0.3), inset 0 0 25px rgba(0,80,140,0.2);">
70
+ <div style="padding:12px 18px;background:linear-gradient(90deg, rgba(0,100,140,0.3), rgba(0,40,80,0.4));
71
+ border-bottom:1px solid rgba(30,160,220,0.15);">
72
+ <h2 style="margin:0;color:#d8f8ff;font-size:1.05rem;letter-spacing:1px;text-transform:uppercase;">
73
+ 02 // Merge Step 1
74
+ </h2>
75
+ </div>
76
+ <div style="padding:18px 22px;color:#e8f9ff;">
77
+ <p style="margin:0 0 12px;">
78
+ <a href="https://huggingface.co/Vortex5/Vermilion-Sage-12B" target="_blank" style="color:#5ad6ff;text-decoration:none;">Vermilion-Sage-12B</a>
79
+ merges with
80
+ <a href="https://huggingface.co/SicariusSicariiStuff/Impish_Nemo_12B" target="_blank" style="color:#5ad6ff;text-decoration:none;">Impish-Nemo-12B</a>
81
+ using the <code>harmony_forge</code> method (<code>focus=8.0</code>, <code>blend=0.7</code>).
82
+ </p>
83
+ <details>
84
+ <summary style="cursor:pointer;color:#6be3ff;font-weight:600;margin:0 0 6px;">Show YAML</summary>
85
+ <pre style="background:#0a0a0a;color:#fff;padding:14px;border-left:3px solid #3ab8e0;border-radius:8px;
86
+ overflow:auto;font-size:13px;white-space:pre;">merge_method: harmony_forge
87
  models:
88
  - model: Vortex5/Vermilion-Sage-12B
89
  - model: SicariusSicariiStuff/Impish_Nemo_12B
 
92
  blend: 0.7
93
  tokenizer:
94
  source: union
95
+ dtype: bfloat16</pre>
96
+ </details>
97
+ </div>
98
+ </div>
99
+ </div>
100
+ <!-- 03 // What is this merge method? -->
101
+ <div style="max-width:1000px;margin:0 auto 28px;padding:0 12px;">
102
+ <div style="background:radial-gradient(circle at 30% 50%, rgba(0,40,80,0.35), rgba(0,10,30,0.88));
103
+ border:1px solid rgba(20,120,180,0.35);border-radius:12px;overflow:hidden;
104
+ box-shadow:0 0 25px rgba(0,100,180,0.3), inset 0 0 25px rgba(0,80,140,0.2);">
105
+ <div style="padding:12px 18px;background:linear-gradient(90deg, rgba(0,100,140,0.3), rgba(0,40,80,0.4));
106
+ border-bottom:1px solid rgba(30,160,220,0.15);">
107
+ <h2 style="margin:0;color:#d8f8ff;font-size:1.05rem;letter-spacing:1px;text-transform:uppercase;">
108
+ 03 // Custom merge method.
109
+ </h2>
110
+ </div>
111
+ <div style="padding:18px 22px;color:#e8f9ff;">
112
+ <p style="margin:0 0 12px;">
113
+ It is a custom adaptive merge method that blends models through consensus weighting across both **spatial** (parameter alignment) and **frequency** (spectral structure) domains. It is designed for stable, noise-resistant merges that preserve the shared strengths of multiple models while reducing conflicts and outlier effects. It supports standard and task-vector merging (when a `base_model` is provided).
114
+ **How it works:**
115
+ The method first centers all model weights (relative to either a `base_model` or their median) and normalizes their scales to ensure balance. It then analyzes correlations in parameter space (spatial features) and in the frequency domain (via FFT) to measure similarity and coherence between models. Each model receives a *goodness score* based on how well it aligns with others, adjusted by stability and outlier suppression terms.
116
+
117
+ These scores are converted into normalized merge weights using a **softmax** function, which smoothly scales scores so that higher values receive more weight while all weights sum to 1. The `focus` parameter controls how sharply these weights are distributed — low focus blends models evenly, while high focus concentrates more weight on the most consistent ones. The `blend` parameter mixes how much spatial versus frequency information influences the final weighting. The merged parameters are then computed as a weighted sum across models.
118
+
119
+ *Key parameters:*
120
+
121
+ * **focus:** Controls decisiveness of weighting (higher = more selective). Default: `1.0`
122
+ * **blend:** Uses a 0–1 scale to control merge emphasis — 0 represents full reliance on spatial similarity, meaning model weights are compared directly in parameter space. 1 represents full reliance on frequency-domain similarity, where weights are compared by their spectral (FFT) patterns. Default: 0.5 blends both equally for balanced structural and behavioral alignment.
123
 
124
+ By weighting models through adaptive consensus across spatial and frequency domains, Harmony Forge emphasizes aligned, stable patterns—encouraging coherent, balanced merges that often inherit the strongest traits of each source model.
125
+ </div>
126
+ </div>
127
+ </div>
128
+ <!-- 05 // Acknowledgments -->
129
+ <div style="max-width:1000px;margin:0 auto 40px;padding:0 12px;">
130
+ <div style="background:radial-gradient(circle at 30% 50%, rgba(0,40,80,0.35), rgba(0,10,30,0.88));
131
+ border:1px solid rgba(20,120,180,0.35);border-radius:12px;overflow:hidden;
132
+ box-shadow:0 0 25px rgba(0,100,180,0.3), inset 0 0 25px rgba(0,80,140,0.2);">
133
+ <div style="padding:12px 18px;background:linear-gradient(90deg, rgba(0,100,140,0.3), rgba(0,40,80,0.4));
134
+ border-bottom:1px solid rgba(30,160,220,0.15);">
135
+ <h2 style="margin:0;color:#d8f8ff;font-size:1.05rem;letter-spacing:1px;text-transform:uppercase;">
136
+ 05 // Acknowledgments
137
+ </h2>
138
+ </div>
139
+ <div style="padding:18px 22px;color:#e8f9ff;">
140
+ <ul style="list-style:none;padding-left:10px;line-height:1.8;margin:0;">
141
+ <li> <strong><a href="https://huggingface.co/mradermacher" target="_blank" style="color:#6be3ff;text-decoration:none;">Team Mradermacher</a></strong> — Static & imatrix quantizations</li>
142
+ <li> <strong><a href="https://huggingface.co/DeathGodlike" target="_blank" style="color:#6be3ff;text-decoration:none;">DeathGodlike</a></strong> — EXL3 quants</li>
143
+ <li> <strong><span style="color:#6be3ff;">Original model authors and contributors whose work made this model possible.</strong></li>
144
+ </ul>
145
+ </div>
146
+ </div>
147
+ </div>