Prism Lyric 1 Mini

Prism Lyric 1 Mini is a small song-lyric writer fine-tuned from Qwen3-4B. You give it a short brief (genre, mood, theme, perspective, and one of three fixed section structures) and it writes a complete, titled set of lyrics with bracketed section tags, ready to hand to a songwriter or to an AI music generator that reads [Verse 1] / [Chorus] tags.

Part of the Prism family of single-purpose specialist models, from a small, independent, nonprofit-spirited AI lab that works in the open.

Available formats

Everything below lives in this one repository: pick the format that matches your runtime.

Format File / folder Precision Size Works with
MLX model.safetensors (repo root) mixed: tuned layers 8-bit, the rest 4-bit 3.07 GB mlx-lm / MLX on Apple Silicon
GGUF prism_lyric_1_mini_Q4_K_M.gguf Q4_K_M (4-bit) 2.50 GB llama.cpp, Ollama, LM Studio
GGUF prism_lyric_1_mini_Q8_0.gguf Q8_0 (8-bit) 4.28 GB llama.cpp, Ollama, LM Studio

The three structures

# Structure
1 Verse - Chorus - Verse - Chorus - Bridge - Chorus - Outro
2 Verse - Pre-Chorus - Chorus - Verse - Pre-Chorus - Chorus - Bridge - Chorus
3 Intro - Verse - Chorus - Instrumental - Verse - Chorus - Outro

How to prompt it

Use exactly this system prompt and this user-message layout (the model was trained on it; Extra: lines are optional and can repeat):

System: You are Prism Lyric, a songwriter. You write complete, singable song lyrics in exactly the section structure the user asks for, using bracketed section tags on their own lines ([Verse 1], [Chorus], [Pre-Chorus], [Bridge], [Intro], [Instrumental], [Outro]). Start with a 'Title:' line. Output only the title and the lyrics, with no commentary.

User:
Write song lyrics.
Structure 1: Verse - Chorus - Verse - Chorus - Bridge - Chorus - Outro
Genre: indie folk
Mood: wistful
Theme: a grandfather's pocketknife found in a coat he left behind
Perspective: first person
from mlx_lm import load, generate
model, tok = load("VertexAGI/prism-lyric-1-mini")
msgs = [{"role": "system", "content": SYSTEM}, {"role": "user", "content": USER}]   # the two strings above
text = tok.apply_chat_template(msgs, add_generation_prompt=True, tokenize=False)
print(generate(model, tok, prompt=text, max_tokens=1000))

For llama.cpp / Ollama / LM Studio use the GGUF files and the same two messages (default Qwen3 chat template; the output may start with an empty think block, strip it). We sampled at temperature 0.7, top-p 0.9.

Results (held-out set)

36 hand-written briefs (12 per structure) that were never used to build the training data. The training briefs were generated separately, and the evaluation briefs were written by hand and never shown to any teacher.

Qwen3-4B base Prism Lyric 1 Mini Much larger reference model
Exactly the requested structure (code check) 8.3% 80.6% 10.7%
Mean soft craft score (0-1, code check) 0.744 0.916 0.926
Average words per song 285 264 430

The structure check is code, not a judge: exact tag order, line counts per section, repeated chorus, no stray markdown or foreign-script characters.

Lyric quality (LLM judges). Two judge models ranked the base, this model and a much larger reference model on each brief (anonymised, shuffled, "do not reward length"). Between the base and Prism Lyric 1 Mini, the tuned model was ranked higher in 23 of 36 comparisons by Nemotron-3 Ultra and 17 of 20 by Mistral Large 4 (which answered only 20 of the 36 briefs; the rest of its calls failed or timed out and were not counted). Both judges agreed on 15 of the 20 briefs they both ranked in the tuned model's favour, and on 2 in the base's. The larger reference model was ranked above Prism Lyric 1 Mini in every comparison, so this is a clear step up from the base and not a substitute for a large model. The tuned model's songs are slightly shorter than the base's (264 vs 285 words), so the result is not a length effect. LLM judges are noisy and can favour their own family; read some of the songs yourself.

Shipped builds, same briefs (structure check): MLX 8-bit/4-bit mixed 91.7%, GGUF Q8_0 91.7%, GGUF Q4_K_M 80.6%. (The 80.6% above was measured on the unmerged LoRA; sampling is random, so a few percentage points of run-to-run noise is expected.)

Known weaknesses (please read)

  • Hooks can be lazy. Choruses sometimes repeat one line several times, or reuse a clause across sections.
  • Imagery is uneven. There are concrete, fresh lines, and there is filler and the occasional line that does not make sense.
  • Mostly English. Briefs in other languages come out with grammar mistakes.
  • Briefs with unusual formats are followed loosely. For example "dialogue between two people" tends to come out as one voice.
  • It is a draft writer. Treat the output as a first draft for a human or an AI music generator, not finished lyrics.
  • Validation loss was lowest after the first 200 steps and drifted up slightly afterwards (1.661 at step 200, 1.697 at the end), so it is mildly overfit to the training style.

Training

Base mlx-community/Qwen3-4B-4bit (from Qwen/Qwen3-4B)
Method LoRA, rank 16, scale 20, 16 layers, lr 5e-5, 2 epochs (744 steps, batch 4), mask-prompt loss, MLX on Apple Silicon
Data 1,567 best-of-N winners (1,489 train / 78 validation). For each brief, candidate songs came from two teacher models (Nemotron-3 Ultra and Laguna XS 2.1), passed a code structure check, and were ranked by a two-judge panel; only winners were kept. The teachers' craft guide was never part of the training prompt.
Briefs ~2,400 generated premises across genres/moods/perspectives (training), separate from the 36 hand-written evaluation briefs
Shipped weights The LoRA is merged at fp16 into the 16 adapted layers and re-quantized at 8-bit; every other layer stays at the base model's original 4-bit. (A plain 4-bit merge re-quantizes the fine-tune away.)

License

Apache-2.0, inherited from Qwen3-4B. The training text was generated by the teacher models named above and filtered by code and judges.

Downloads last month
511
Safetensors
Model size
4B params
Tensor type
U32
Β·
BF16
Β·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for VertexAGI/prism-lyric-1-mini

Finetuned
Qwen/Qwen3-4B
Adapter
(1,275)
this model

Space using VertexAGI/prism-lyric-1-mini 1

Collection including VertexAGI/prism-lyric-1-mini