GGUF
conversational
zerofata commited on
Commit
7a54b81
·
verified ·
1 Parent(s): eae0e6c

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +688 -0
README.md ADDED
@@ -0,0 +1,688 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model:
4
+ - zerofata/G4-MeroMero-26B-A4B
5
+ ---
6
+ <style>
7
+ .gs {
8
+ --bg: #0d0a10;
9
+ --surface: #14101a;
10
+ --edge: #2a1f38;
11
+ --rule: #382850;
12
+ --text: #b8a0cc;
13
+ --dim: #7a6090;
14
+ --bright: #f0e6ff;
15
+ --azure: #c060ff;
16
+ --crimson: #ff4da6;
17
+ --az-glow: rgba(192,96,255,0.10);
18
+ --cr-glow: rgba(255,77,166,0.06);
19
+ --mono: 'JetBrains Mono', monospace;
20
+ --sans: 'Inter', sans-serif;
21
+
22
+ font-family: var(--sans);
23
+ color: var(--text);
24
+ max-width: 900px;
25
+ margin: 0 auto;
26
+ padding: 0 0 60px;
27
+ line-height: 1.7;
28
+ font-size: 1rem;
29
+ background:
30
+ radial-gradient(ellipse at 50% 0%, rgba(192,96,255,0.04) 0%, transparent 50%),
31
+ radial-gradient(ellipse at 50% 100%, rgba(255,77,166,0.02) 0%, transparent 50%),
32
+ var(--bg);
33
+ }
34
+
35
+ /* ── Profile Card ── */
36
+ .gs-profile {
37
+ border-bottom: none;
38
+ position: relative;
39
+ background: var(--surface);
40
+ margin-bottom: 0;
41
+ }
42
+ .gs-profile-art {
43
+ position: relative;
44
+ }
45
+ .gs-profile-art img {
46
+ display: block;
47
+ width: 100%;
48
+ height: 380px;
49
+ object-fit: cover;
50
+ margin-top: 0px;
51
+ }
52
+ .gs-ident {
53
+ position: absolute;
54
+ bottom: 0;
55
+ left: 0;
56
+ right: 0;
57
+ padding: 120px 44px 28px;
58
+ background: linear-gradient(
59
+ to top,
60
+ var(--bg) 0%,
61
+ rgba(13,10,16,0.92) 30%,
62
+ rgba(13,10,16,0.4) 60%,
63
+ transparent 100%
64
+ );
65
+ }
66
+ .gs-profile-info {
67
+ padding: 20px 44px 36px;
68
+ display: flex;
69
+ flex-direction: column;
70
+ gap: 20px;
71
+ }
72
+ .gs-profile-label {
73
+ display: flex;
74
+ align-items: baseline;
75
+ gap: 10px;
76
+ font-family: var(--mono);
77
+ letter-spacing: 0.14em;
78
+ text-transform: uppercase;
79
+ }
80
+ .gs-profile-label .gs-snum {
81
+ font-size: 0.62rem;
82
+ font-weight: 700;
83
+ color: var(--crimson);
84
+ opacity: 1;
85
+ position: static;
86
+ transform: none;
87
+ }
88
+ .gs-profile-label .gs-stitle {
89
+ font-size: 0.62rem;
90
+ color: var(--dim);
91
+ font-weight: 700;
92
+ letter-spacing: 0.14em;
93
+ }
94
+ .gs-profile-label .gs-stitle::before {
95
+ content: none;
96
+ }
97
+ .gs-name {
98
+ font-family: var(--sans);
99
+ font-size: 3.2rem;
100
+ font-weight: 900;
101
+ color: var(--bright);
102
+ letter-spacing: 0.06em;
103
+ line-height: 1;
104
+ margin: 0 0 10px;
105
+ text-shadow: 0 1px 2px rgba(0,0,0,0.6);
106
+ overflow-wrap: break-word;
107
+ }
108
+ .gs-base {
109
+ font-family: var(--mono);
110
+ font-size: 0.68rem;
111
+ color: var(--crimson);
112
+ letter-spacing: 0.14em;
113
+ text-transform: uppercase;
114
+ display: block;
115
+ }
116
+ .gs-profile-bio p {
117
+ margin: 0 0 14px;
118
+ font-size: 0.95rem;
119
+ }
120
+ .gs-profile-bio p:last-child { margin-bottom: 0; }
121
+
122
+ /* ── Sections ── */
123
+ .gs-section {
124
+ padding: 0;
125
+ }
126
+ .gs-shead {
127
+ position: relative;
128
+ display: flex;
129
+ align-items: center;
130
+ gap: 14px;
131
+ padding: 16px 44px 14px;
132
+ margin-bottom: 28px;
133
+ border-top: 2px solid;
134
+ border-image: linear-gradient(90deg, var(--crimson), var(--azure)) 1;
135
+ }
136
+ .gs-snum {
137
+ font-family: var(--mono);
138
+ font-size: 2.2rem;
139
+ font-weight: 900;
140
+ color: var(--crimson);
141
+ letter-spacing: 0.06em;
142
+ opacity: 0.12;
143
+ position: absolute;
144
+ right: 44px;
145
+ top: 50%;
146
+ transform: translateY(-50%);
147
+ line-height: 1;
148
+ }
149
+ .gs-stitle {
150
+ font-size: 1.05rem;
151
+ font-weight: 700;
152
+ letter-spacing: 0.1em;
153
+ text-transform: uppercase;
154
+ color: var(--bright);
155
+ }
156
+ .gs-stitle::before {
157
+ content: '\2726';
158
+ color: var(--crimson);
159
+ font-size: 0.8em;
160
+ margin-right: 8px;
161
+ }
162
+ .gs-sbody {
163
+ padding: 0 44px 44px;
164
+ }
165
+ .gs-sbody p {
166
+ margin: 0 0 14px;
167
+ font-size: 0.95rem;
168
+ }
169
+ .gs-sbody p:last-child { margin-bottom: 0; }
170
+
171
+ /* ── Data panels ── */
172
+ .gs-stack {
173
+ display: grid;
174
+ grid-template-columns: 1fr 1fr;
175
+ gap: 16px;
176
+ }
177
+ .gs-stack .gs-panel:nth-child(3) {
178
+ grid-column: 1 / -1;
179
+ }
180
+ .gs-panel {
181
+ border: 1px solid var(--edge);
182
+ border-left: 3px solid var(--crimson);
183
+ position: relative;
184
+ background: var(--surface);
185
+ box-shadow: 0 0 20px rgba(192,96,255,0.03);
186
+ }
187
+ .gs-panel::before {
188
+ content: '';
189
+ position: absolute;
190
+ top: -1px;
191
+ right: -1px;
192
+ width: 10px;
193
+ height: 10px;
194
+ border-top: 1px solid var(--crimson);
195
+ border-right: 1px solid var(--crimson);
196
+ opacity: 0.5;
197
+ }
198
+ .gs-panel::after {
199
+ content: '';
200
+ position: absolute;
201
+ bottom: -1px;
202
+ right: -1px;
203
+ width: 10px;
204
+ height: 10px;
205
+ border-bottom: 1px solid var(--azure);
206
+ border-right: 1px solid var(--azure);
207
+ opacity: 0.4;
208
+ }
209
+ .gs-panel-head {
210
+ font-family: var(--mono);
211
+ font-size: 0.68rem;
212
+ font-weight: 700;
213
+ letter-spacing: 0.14em;
214
+ text-transform: uppercase;
215
+ color: var(--dim);
216
+ padding: 10px 16px;
217
+ border-bottom: 1px solid var(--edge);
218
+ }
219
+ .gs-panel-head::after {
220
+ content: ' \2726';
221
+ color: var(--crimson);
222
+ opacity: 0.5;
223
+ }
224
+ .gs-row {
225
+ display: grid;
226
+ grid-template-columns: 10ch 1fr;
227
+ align-items: baseline;
228
+ column-gap: 4px;
229
+ padding: 9px 16px;
230
+ border-bottom: 1px solid var(--edge);
231
+ font-size: 0.9rem;
232
+ }
233
+ .gs-row:last-child { border-bottom: none; }
234
+ .gs-key {
235
+ font-family: var(--mono);
236
+ font-size: 0.9rem;
237
+ color: var(--dim);
238
+ }
239
+ .gs-key::after {
240
+ content: ':';
241
+ }
242
+ .gs-val {
243
+ color: var(--bright);
244
+ font-size: 0.9rem;
245
+ }
246
+ .gs-row .gs-val:only-child {
247
+ grid-column: 1 / -1;
248
+ }
249
+
250
+ /* ── Quantizations (compact) ── */
251
+ .gs-section--compact .gs-shead {
252
+ border-top: 1px solid var(--edge);
253
+ border-image-source: none;
254
+ padding: 12px 44px 10px;
255
+ margin-bottom: 18px;
256
+ }
257
+ .gs-section--compact .gs-snum {
258
+ opacity: 0.08;
259
+ }
260
+ .gs-section--compact .gs-stitle::before {
261
+ content: '\2726';
262
+ }
263
+ .gs-section--compact .gs-sbody {
264
+ padding: 0 44px 32px;
265
+ }
266
+ .gs-qrow {
267
+ display: flex;
268
+ gap: 12px;
269
+ flex-wrap: wrap;
270
+ justify-content: center;
271
+ }
272
+ .gs-qpanel {
273
+ background: var(--surface);
274
+ border: 1px solid var(--edge);
275
+ border-left: 3px solid var(--crimson);
276
+ display: flex;
277
+ align-items: center;
278
+ gap: 16px;
279
+ padding: 12px 24px;
280
+ border-radius: 4px;
281
+ position: relative;
282
+ box-shadow: 0 0 20px rgba(192,96,255,0.03);
283
+ }
284
+ .gs-qpanel::before {
285
+ content: '';
286
+ position: absolute;
287
+ top: -1px;
288
+ right: -1px;
289
+ width: 10px;
290
+ height: 10px;
291
+ border-top: 1px solid var(--crimson);
292
+ border-right: 1px solid var(--crimson);
293
+ opacity: 0.5;
294
+ }
295
+ .gs-qpanel::after {
296
+ content: '';
297
+ position: absolute;
298
+ bottom: -1px;
299
+ right: -1px;
300
+ width: 10px;
301
+ height: 10px;
302
+ border-bottom: 1px solid var(--azure);
303
+ border-right: 1px solid var(--azure);
304
+ opacity: 0.4;
305
+ }
306
+ .gs-qtype {
307
+ font-family: var(--mono);
308
+ font-size: 0.58rem;
309
+ font-weight: 700;
310
+ letter-spacing: 0.18em;
311
+ text-transform: uppercase;
312
+ color: var(--crimson);
313
+ flex-shrink: 0;
314
+ }
315
+ .gs-qsep {
316
+ width: 1px;
317
+ height: 16px;
318
+ background: var(--rule);
319
+ flex-shrink: 0;
320
+ }
321
+ .gs-qpanel a {
322
+ color: var(--bright);
323
+ text-decoration: none;
324
+ font-size: 0.9rem;
325
+ border-bottom: 1px solid var(--rule);
326
+ }
327
+ .gs-qpanel a:hover { color: var(--crimson); border-bottom-color: var(--crimson); }
328
+
329
+ /* ── Journal (Creation Process) ── */
330
+ .gs-section--journal .gs-sbody {
331
+ margin: 0 44px;
332
+ padding: 24px 32px 32px;
333
+ background: var(--surface);
334
+ border: 1px solid var(--edge);
335
+ border-left: 4px solid var(--azure);
336
+ position: relative;
337
+ margin-bottom: 0;
338
+ }
339
+ .gs-section--journal .gs-sbody::before {
340
+ content: '';
341
+ position: absolute;
342
+ top: -1px;
343
+ right: -1px;
344
+ width: 12px;
345
+ height: 12px;
346
+ border-top: 1px solid var(--azure);
347
+ border-right: 1px solid var(--azure);
348
+ opacity: 0.4;
349
+ }
350
+ .gs-section--journal .gs-sbody::after {
351
+ content: '';
352
+ position: absolute;
353
+ bottom: -1px;
354
+ left: -1px;
355
+ width: 12px;
356
+ height: 12px;
357
+ border-bottom: 1px solid var(--crimson);
358
+ border-left: 1px solid var(--crimson);
359
+ opacity: 0.3;
360
+ }
361
+ .gs-section--journal .gs-sbody p:first-child {
362
+ font-style: italic;
363
+ color: var(--bright);
364
+ }
365
+
366
+ /* ── Links ── */
367
+ .gs a {
368
+ color: var(--bright);
369
+ text-decoration: none;
370
+ border-bottom: 1px solid var(--rule);
371
+ }
372
+ .gs a:hover { color: var(--crimson); border-bottom-color: var(--crimson); }
373
+
374
+ /* ── Dropdown ── */
375
+ .gs details {
376
+ border: 1px solid var(--edge);
377
+ border-left: 3px solid var(--crimson);
378
+ margin-top: 24px;
379
+ position: relative;
380
+ background: var(--surface);
381
+ box-shadow: 0 0 20px rgba(192,96,255,0.03);
382
+ }
383
+ .gs details::before {
384
+ content: '';
385
+ position: absolute;
386
+ top: -1px;
387
+ right: -1px;
388
+ width: 10px;
389
+ height: 10px;
390
+ border-top: 1px solid var(--crimson);
391
+ border-right: 1px solid var(--crimson);
392
+ opacity: 0.5;
393
+ }
394
+ .gs details::after {
395
+ content: '';
396
+ position: absolute;
397
+ bottom: -1px;
398
+ right: -1px;
399
+ width: 10px;
400
+ height: 10px;
401
+ border-bottom: 1px solid var(--azure);
402
+ border-right: 1px solid var(--azure);
403
+ opacity: 0.4;
404
+ }
405
+ .gs summary {
406
+ list-style: none;
407
+ padding: 11px 16px;
408
+ cursor: pointer;
409
+ font-family: var(--mono);
410
+ font-size: 0.72rem;
411
+ font-weight: 700;
412
+ letter-spacing: 0.12em;
413
+ text-transform: uppercase;
414
+ color: var(--dim);
415
+ user-select: none;
416
+ display: flex;
417
+ align-items: center;
418
+ gap: 10px;
419
+ }
420
+ .gs summary::-webkit-details-marker { display: none; }
421
+ .gs summary::before {
422
+ content: '+';
423
+ color: var(--crimson);
424
+ font-size: 1rem;
425
+ line-height: 1;
426
+ flex-shrink: 0;
427
+ }
428
+ .gs details[open] summary::before { content: '−'; }
429
+ .gs summary:hover { color: var(--bright); }
430
+ .gs-detail-body {
431
+ padding: 22px 18px;
432
+ border-top: 1px solid var(--edge);
433
+ }
434
+ .gs-detail-body p { margin: 0 0 16px; font-size: 0.9rem; }
435
+ .gs-cfg-title {
436
+ font-family: var(--mono);
437
+ font-size: 0.72rem;
438
+ font-weight: 700;
439
+ letter-spacing: 0.1em;
440
+ text-transform: uppercase;
441
+ color: var(--dim);
442
+ margin: 0 0 8px;
443
+ }
444
+
445
+ /* ── Code ── */
446
+ .gs pre {
447
+ background: #080510;
448
+ border: 1px solid var(--edge);
449
+ border-left: 2px solid var(--azure);
450
+ padding: 16px 18px;
451
+ overflow-x: auto;
452
+ font-family: var(--mono);
453
+ font-size: 0.76rem;
454
+ line-height: 1.6;
455
+ color: var(--text);
456
+ margin: 0 0 22px;
457
+ }
458
+ .gs pre:last-child { margin-bottom: 0; }
459
+ .gs pre code { background: none; color: inherit; padding: 0; }
460
+ .gs code {
461
+ font-family: var(--mono);
462
+ font-size: 0.875em;
463
+ color: var(--crimson);
464
+ background: var(--az-glow);
465
+ padding: 2px 5px;
466
+ }
467
+ </style>
468
+ <html lang="en">
469
+ <head>
470
+ <meta charset="UTF-8">
471
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
472
+ <title>Stardom</title>
473
+ <link rel="preconnect" href="https://fonts.googleapis.com">
474
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
475
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&family=JetBrains+Mono:wght@400;700&display=swap" rel="stylesheet">
476
+ </head>
477
+ <body>
478
+ <div class="gs">
479
+
480
+ <div class="gs-profile">
481
+ <div class="gs-profile-art">
482
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/65b19c6c638328850e12d38c/xBv_weuMs5x3i4WFDRksn.png" alt="image">
483
+ <div class="gs-ident">
484
+ <h1 class="gs-name">Mero Mero</h1>
485
+ <span class="gs-base">Gemma4 26B A4B</span>
486
+ </div>
487
+ </div>
488
+ </div>
489
+
490
+ <div class="gs-section">
491
+ <div class="gs-shead">
492
+ <span class="gs-snum">01</span>
493
+ <span class="gs-stitle">Overview</span>
494
+ </div>
495
+ <div class="gs-sbody">
496
+ <p>God, this model was difficult to work with.</p>
497
+ <p>Google cooked, there wasn't a lot to improve but there was a lot to break.</p>
498
+ <p>This model is a finetune that was merged back into the original instruct. It feels a lot like the original instruct. However, reasoning is more structured, using less tokens during RP and this model generally has a slightly less verbose / flowery writing style.</p>
499
+ <p>Main weakness of this model I think is the swipe variety hasn't improved. Logic and repetition I think are roughly on par with the original.</p>
500
+ <p>Supports both thinking and non thinking.</p>
501
+ </div>
502
+ </div>
503
+
504
+
505
+ <div class="gs-section">
506
+ <div class="gs-shead">
507
+ <span class="gs-snum">02</span>
508
+ <span class="gs-stitle">SillyTavern Settings</span>
509
+ </div>
510
+ <div class="gs-sbody">
511
+ <div class="gs-stack">
512
+ <div class="gs-panel">
513
+ <div class="gs-panel-head">Suggested Roleplay Format</div>
514
+ <div class="gs-row"><span class="gs-key">Actions</span><span class="gs-val">In plaintext</span></div>
515
+ <div class="gs-row"><span class="gs-key">Dialogue</span><span class="gs-val">"In quotes"</span></div>
516
+ <div class="gs-row"><span class="gs-key">Thoughts</span><span class="gs-val">*In asterisks*</span></div>
517
+ </div>
518
+ <div class="gs-panel">
519
+ <div class="gs-panel-head">Recommended Samplers</div>
520
+ <div class="gs-row"><span class="gs-key">Temp</span><span class="gs-val">0.8 - 1.0</span></div>
521
+ <div class="gs-row"><span class="gs-key">MinP</span><span class="gs-val">0.05</span></div>
522
+ <div class="gs-row"></span><span class="gs-val"></span></div>
523
+ </div>
524
+ <div class="gs-panel">
525
+ <div class="gs-panel-head">Instruct</div>
526
+ <div class="gs-row"><span class="gs-val"><a href="https://huggingface.co/zerofata/G4-MeroMero-26B-A4B/raw/main/Gemma4-Think.json">Gemma 4 - Think</a></span></div>
527
+ <div class="gs-row"><span class="gs-val"><a href="https://huggingface.co/zerofata/G4-MeroMero-26B-A4B/raw/main/Gemma4-NoThink.json">Gemma 4 - NoThink</a></span></div>
528
+ </div>
529
+ </div>
530
+ </div>
531
+ </div>
532
+
533
+
534
+ <div class="gs-section gs-section--compact">
535
+ <div class="gs-shead">
536
+ <span class="gs-snum">03</span>
537
+ <span class="gs-stitle">Quantizations</span>
538
+ </div>
539
+ <div class="gs-sbody">
540
+ <div class="gs-qrow">
541
+ <div class="gs-qpanel">
542
+ <span class="gs-qtype">GGUF</span>
543
+ <div class="gs-qsep"></div>
544
+ <a href="https://huggingface.co/zerofata/G4-MeroMero-26B-A4B-GGUF">iMatrix</a>
545
+ </div>
546
+ </div>
547
+ </div>
548
+ </div>
549
+
550
+
551
+ <div class="gs-section gs-section--journal">
552
+ <div class="gs-shead">
553
+ <span class="gs-snum">04</span>
554
+ <span class="gs-stitle">Creation Process</span>
555
+ </div>
556
+ <div class="gs-sbody">
557
+ <p>Creation Process: SFT > Merge</p>
558
+ <p>SFT on approx 35 million tokens.</p>
559
+ <p>Despite using 35 million tokens, this dataset is fairly modest in size. Trainable is somewhere in the rough ballpark of 15 million. The extra tokens are from a new multi turn RP dataset that I train last turn only.</p>
560
+ <p>Feels like Google left the instruct model at the razor's edge of overfitting. Finetune it at all and it feels like it'll rapidly lose intelligence, despite taking the writing style nicely. Hard to tell if you're overfitting or underfitting.</p>
561
+ <p>My solution was to blast the model with my data anyway to ensure it picked up the new reasoning format and writing style and then merge that back into the instruct to heal the logic damage. There's still room for a better merge that keeps more of the writing style and potentially using the base model to undo some of the overfitting.</p>
562
+ <p>Trained using Axolotl.</p>
563
+ <details>
564
+ <summary>Mergekit Config</summary>
565
+ <div class="gs-detail-body">
566
+ <pre><code>models:
567
+ &#45; model: google/gemma&#45;4&#45;26B&#45;A4B&#45;it
568
+ parameters:
569
+ weight: 0.5
570
+ &#45; model: ApocalypseParty/G4&#45;26B&#45;SFT&#45;6
571
+ parameters:
572
+ weight: 0.5
573
+ merge_method: linear
574
+ dtype: bfloat16</code></pre>
575
+ </div>
576
+ </details>
577
+ <details>
578
+ <summary>Axolotl Config</summary>
579
+ <div class="gs-detail-body">
580
+ <pre><code>&#35; Gemma 4 26B&#45;A4B MoE QLoRA with ScatterMoE kernels
581
+ &#35;
582
+ &#35; Validated: 50 steps on FineTome&#45;100k, loss 8.8 &#45;> 1.8, single RTX 5090 (32GB)
583
+ &#35; torch_compile=true: 21 GiB peak VRAM, ~230 tok/s, 336s total
584
+ &#35;
585
+ &#35; Key notes:
586
+ &#35; &#45; Max sequence length on 32GB GPU: 2048 (micro_batch_size=1, SDP attention).
587
+ &#35; 4096 seq_len OOMs due to head_dim=512 math SDP materializing full score matrix.
588
+ &#35; Use 48GB+ GPUs for longer sequences or multi&#45;GPU with FSDP.
589
+ &#32;
590
+ base_model: google/gemma&#45;4&#45;26B&#45;A4B&#45;it
591
+ &#32;
592
+ plugins:
593
+ &#45; axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
594
+ &#45; axolotl.integrations.kernels.KernelsPlugin
595
+ &#45; axolotl.integrations.liger.LigerPlugin
596
+ use_kernels: true
597
+ use_scattermoe: true
598
+ cut_cross_entropy: true
599
+ experts_implementation: scattermoe
600
+ liger_layer_norm: true
601
+ liger_rope: true
602
+ liger_rms_norm: true
603
+ liger_glu_activation: true
604
+ liger_rms_norm_gated: true
605
+ strict: false
606
+ &#32;
607
+ datasets:
608
+ &#45; path: ./data/gemma_4_sft_5_masked_20260415_082234.jsonl
609
+ val_set_size: 0.02
610
+ output_dir: ./G4&#45;26B&#45;SFT&#45;6
611
+ &#32;
612
+ sequence_len: 10756
613
+ pad_to_sequence_len: true
614
+ sample_packing: true
615
+ &#32;
616
+ load_in_4bit: false
617
+ &#35;quantize_moe_experts: true
618
+ adapter: lora
619
+ lora_r: 128
620
+ lora_alpha: 128
621
+ peft_use_rslora: true
622
+ lora_dropout: 0.0
623
+ freeze_mm_modules: true
624
+ &#32;
625
+ &#35; Restrict LoRA to text backbone only (skip vision/audio encoders)
626
+ &#35; using regex to match only the text decoder attention projections.
627
+ lora_target_modules: 'model.language_model.layers.[\d]+.(_checkpoint_wrapped_module.)?(mlp|self_attn).(up|down|gate|q|k|v|o)_proj'
628
+ &#32;
629
+ &#35; MoE expert LoRA (3D Parameter tensors, not nn.Linear)
630
+ lora_target_parameters:
631
+ &#45; experts.gate_up_proj
632
+ &#45; experts.down_proj
633
+ &#32;
634
+ lora_mlp_kernel: false
635
+ lora_qkv_kernel: false
636
+ lora_o_kernel: false
637
+ &#32;
638
+ &#35;bnb_config_kwargs:
639
+ &#35; bnb_4bit_use_double_quant: true
640
+ &#32;
641
+ wandb_project: G4&#45;26B&#45;SFT
642
+ wandb_name: G4&#45;26B&#45;SFT&#45;6
643
+ &#32;
644
+ gradient_accumulation_steps: 2
645
+ micro_batch_size: 2
646
+ num_epochs: 2
647
+ optimizer: adamw_torch_fused
648
+ lr_scheduler: constant_with_warmup
649
+ learning_rate: 1e&#45;5
650
+ max_grad_norm: 1.0
651
+ &#32;
652
+ bf16: auto
653
+ tf32: true
654
+ &#32;
655
+ &#35;gradient_checkpointing: true
656
+ &#35;activation_offloading: true
657
+ logging_steps: 1
658
+ &#32;
659
+ &#35; FA2 not supported
660
+ sdp_attention: true
661
+ &#35;flex_attention: true
662
+ &#35;torch_compile: true
663
+ flash_attention: false
664
+ &#32;
665
+ warmup_ratio: 0.1
666
+ evals_per_epoch: 4
667
+ saves_per_epoch: 4
668
+ weight_decay: 0.01
669
+ special_tokens:
670
+ &#32;
671
+ fsdp_config:
672
+ fsdp_version: 2
673
+ offload_params: false
674
+ cpu_ram_efficient_loading: false
675
+ auto_wrap_policy: TRANSFORMER_BASED_WRAP
676
+ transformer_layer_cls_to_wrap: Gemma4TextDecoderLayer
677
+ state_dict_type: FULL_STATE_DICT
678
+ sharding_strategy: FULL_SHARD
679
+ reshard_after_forward: true
680
+ activation_checkpointing: true</code></pre>
681
+ </div>
682
+ </details>
683
+ </div>
684
+ </div>
685
+
686
+ </div>
687
+ </body>
688
+ </html>