Shayde182/rhymeai-gemma-4-gguf
RhymeAI Gemma 4 (E2B / E4B) — on-device lyric assistant models
LoRA fine-tunes of Gemma 4 E2B-it and E4B-it for RhymeAI / Writers Block, a native songwriting app. Trained to follow the app's exact on-device prompt format for four tasks: rhyme-constrained next-line suggestions, passage rewrites, single-word rewrites, and synonyms. Runs fully offline via llama.cpp.
Files
Eval (app's 43-case harness, temp 0.8 / top-k 40 / top-p 0.95, ctx 2048)
Training
QLoRA (r=16, alpha=16, 2 epochs, lr 2e-4 cosine, effective batch 16, prompt-masked loss) on 4,947 synthetic examples generated from original seed lyrics and machine-verified for rhyme + format correctness before training (CMU-dictionary rhyme checking). No copyrighted lyrics and no user data. Trained with Unsloth on a Colab L4; merged and quantized with llama.cpp (llama-export-lora + llama-quantize, Q4KM).
Prompt format: raw Gemma turn markers (<start_of_turn>user\n... / <start_of_turn>model\n), stop string <end_of_turn>.
