Downloads · 30 days
85
5% of all-time downloads
andyoneal/Gemma-4-E4B-Nightcap
Gemma-4-E4B-Nightcap is a text generation model from andyoneal. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
<smallOne part Musica, a generous splash of TIES, and Bella behind the bar. Served after dark.</small
Downloads · 30 days
85
5% of all-time downloads
All-time downloads
1.7K
Public
Parameters
8B
16 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors16 GB · 100%
From the Hugging Face model README
<small>One part Musica, a generous splash of TIES, and Bella behind the bar. Served after dark.</small>
A roleplay / creative-writing merge of three community fine-tunes of Gemma 4 E4B, mixed the boring way: measure the weight deltas first, pick parents that don't step on each other, build once, and blind-test the result against the strongest parent before deciding it's worth your bandwidth.
The goal was a single E4B that keeps Musica's prose and stability while picking up range it doesn't have on its own — grounded slice-of-life dialogue, comic timing, and a persona voice that will answer a direct question directly instead of deflecting into vibes. In blind A/B judging across 24 roleplay scenarios it trades wins evenly with Musica overall, with its stable wins exactly where the recipe aimed: grounded, blunt, character-forward scenes.
| Parent | What it brings | Weight |
|---|---|---|
| AuriAetherwiing/G4-E4B-Musica-v1 | The lead voice — RP/storygen tune (an ArliAI collab), stable and smart for its size | 0.8 |
| ToastyPigeon/Gemma4-E4B-TIES-3mask-r64 | Novel-prose and interactive-fiction texture, trained behind an instruct-preserving gradient mask | 0.225 |
| juiceb0xc0de/bella-bartender-gemma-e4b | A real human voice — bluntness, register-matching, and permission to not end every reply on a pep talk | 0.3 |
Applied as weighted task arithmetic over google/gemma-4-E4B-it: base + 0.8·Δmusica + 0.225·Δties3 + 0.3·Δbella. The multimodal (audio/vision) towers are inherited from base effectively unchanged — all three parents are language-stack tunes.
The build used independent tooling (it streams parents from the Hub and preserves every base tensor, including the phantom KV-shared-layer tensors some E4B re-saves drop), but the recipe is exactly this standard config:
merge_method: task_arithmetic
base_model: google/gemma-4-E4B-it
dtype: bfloat16
models:
- model: AuriAetherwiing/G4-E4B-Musica-v1
parameters:
weight: 0.8
- model: ToastyPigeon/Gemma4-E4B-TIES-3mask-r64
parameters:
weight: 0.225
- model: juiceb0xc0de/bella-bartender-gemma-e4b
parameters:
weight: 0.3
</details>
The premise: most merge quality is decided before anything is built. So instead of a merge→test→re-merge loop, the pool was measured first and exactly one candidate recipe was built and gated.
Every E4B derivative on the Hub (~1,100 repos at the time) was swept down to ten genuinely distinct creative-writing/RP fine-tunes — dropping quant/format re-uploads, code and domain tunes, and uncensored-only edits, then reading the cards of what remained.
Per-tensor weight deltas (Δ = fine-tune − base) were extracted for all ten, over the language stack only (audio/vision towers excluded from all statistics): exact per-tensor delta norms plus a deterministic subsample of coordinates, sampled at identical positions in every model so the candidates can be compared directly.
Measurement did the pruning:
What survived selection was a lead voice (musica — the strongest all-round RP tune in the pool) plus two complements chosen because each brings a direction the lead measurably lacks, and all three are near-orthogonal in delta space — they learned different things, so their contributions add instead of fighting:
| pair | cosine(Δ, Δ) |
|---|---|
| musica ↔ ties3 | 0.017 |
| musica ↔ bella | 0.004 |
| bella ↔ ties3 | 0.0008 |
Delta magnitudes (language stack ℓ₂): ties3 26.6, musica 7.5, bella 1.7 — i.e. bella is a light seasoning by construction, not just by weight.
Candidate weight vectors were swept on the artifacts alone — no builds — against the trained-envelope statistic (below). The recipe kept the lead near full strength (0.8, preserving musica's voice and stability), scaled ties3 down to 0.225 (its raw delta is 3.5× the lead's; at higher weight it dominates the mix), and added bella at 0.3 — deliberately below her full strength, because a single-human-voice tune is a garnish that becomes an identity at high weight. Each parent's documented quirks cap its weight: dilution does not reliably remove a known failure mode, as the four-parent variant below demonstrated.
Two guardrails picked the weights:
As a free integrity check, regressing the built model's delta against the parent subsamples recovers the recipe weights (0.80 / 0.21 / 0.30) — confirming nothing unexpected leaked into the build.
Two independent rounds of 12 roleplay/creative scenarios (fresh seeds per round, identical samplers, per-prompt shuffled A/B, judged blind at Q8_0): 11–13 vs Musica — statistical parity, with stable wins split by territory: this merge on grounded/comedic/blunt scenes, Musica on atmosphere and literary continuation. Per the one-build philosophy, parity against the strongest parent plus added range = ship it, don't start a weight-tuning loop.
</details>