Downloads · 30 days
851
12% of all-time downloads
BennyDaBall/LFM2.5-1.2B-Z-Image-Engineer-V4
LFM2.5-1.2B-Z-Image-Engineer-V4 is a text generation model from BennyDaBall. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
851
12% of all-time downloads
All-time downloads
7.4K
Public
Repo size
11.2 GB
Likes
25
Public
Click a slice to open those files.
.gguf8.9 GB · 79%
From the Hugging Face model README

Follow me on X @BennyDaBall_OG !
The Z-Engineer goes liquid—smaller, faster, and ready to drink.
This is Z-Engineer V4 built on Liquid Foundation Model 2.5 (LFM2.5)—a 1.2B parameter model that punches way above its weight class. Perfect for batch workflows where you need prompt engineering at warp speed.
LFM2.5-1.2B-Z-Image-Engineer-V4 is a fully fine-tuned version of LiquidAI/LFM2.5-1.2B-Base. It's been specifically trained to understand the nuances of AI Image Generation workflows.
It excels at:
This version uses SMART Training (Smart Mode with Adaptive Regularization Topologer)—the same methodology used for Qwen3-4B-Z-Engineer-V4, but adapted for LFM2.5's unique hybrid architecture.
LFM2.5's Challenge: Unlike traditional transformers, LFM2.5 uses a hybrid architecture mixing attention layers with recurrent (liquid) layers. The standard SMART regularizers needed significant adaptation:
| Adaptation | What Changed | Why |
|---|---|---|
| Attention-Only Filtering | Regularizers only process attention layer outputs, skipping recurrent layers | Recurrent layer hidden states have different statistical properties |
| Layer Pooling | Last 4 attention layers are mean-pooled for topology regularization | Provides stable representation despite sparser attention placement |
| Reduced Regularizer Weights | Entropic: 0.003, Holographic: 0.01, Topology: 0.02/0.02 | LFM2.5's smaller capacity needs gentler regularization |
| Superfluid-Inspired Damping | "SmartGate" auto-reduces aux loss contribution on gradient instability | Prevents training collapse when hybrid layers produce non-finite gradients |
The result? Stable training on a fundamentally different architecture while still benefiting from diversity, coherence, and depth regularization.
| Aspect | LFM2.5-1.2B | Qwen3-4B |
|---|---|---|
| Parameters | 1.2B | 4B |
| Speed | ~3x faster | Baseline |
| VRAM | ~1-2 GB (Q4) | ~2.5 GB (Q4) |
| Quality | Good for most use cases | Highest quality |
| Best For | Batch processing, edge deployment, speed-critical workflows | Maximum quality, complex scenes |
Choose LFM2.5 when: You're processing large batches, running on limited hardware, or speed matters more than marginal quality gains.
Choose Qwen3-4B when: You want the absolute best quality and can afford the extra compute.
Works with the same custom node as the Qwen3 version:
For best results, use this system prompt:
Interpret the user seed as production intent, then build a definitive 200-250 word single-paragraph image prompt that preserves every explicit constraint while intelligently expanding missing details. First infer the core subject, action, setting, and emotional tone; treat these as non-negotiable anchors. Then enhance with precise visual staging (explicit foreground, midground, background), clear visual hierarchy and eye path, physically plausible lighting (source, direction, softness, color temperature), and optical strategy (if lens/aperture are provided, preserve exactly; if absent, choose fitting lens and aperture and imply their depth-of-field effect). Integrate organic, manufactured, and environmental textures with realistic material behavior, add motion/atmospheric cues only when they support the scene, and apply a coherent color grade consistent with mood and environment. Keep the prose vivid but controlled: no contradictions, no overstuffing, no generic filler. Do not mention camera body brands. Output one polished paragraph only, no bullets, no line breaks, no meta commentary.
I believe in open science. Here's exactly how this was built:
Hardware:
Dataset:
Training Configuration:
| Parameter | Value |
|---|---|
| Method | Full Fine-Tune (not LoRA) |
| Base Model | LiquidAI/LFM2.5-1.2B-Base |
| Optimizer Steps | 3,500 |
| Batch Size | 8 × 3 accumulation = 24 effective |
| Learning Rate | 5e-6 (cosine decay with 5% warmup) |
| Precision | BFloat16 |
| Sequence Length | 640 tokens |
I provide a full suite of GGUF quantizations for use with llama.cpp, Ollama, and LM Studio:
| Quantization | Size | Notes |
|---|---|---|
| F16 | 2.2 GB | Full precision, maximum quality |
| Q8_0 | 1.2 GB | Near-lossless, recommended |
| Q6_K | 918 MB | Great balance |
| Q5_K_M | 804 MB | Good quality |
| Q5_K_S | 787 MB | Slightly smaller |
| Q4_K_M | 697 MB | Solid 4-bit |
| Q4_K_S | 668 MB | Smaller 4-bit |
| Q3_K_L | 606 MB | Lower quality |
| Q3_K_M | 573 MB | Medium 3-bit |
With LM Studio:
This model generates text for image prompts. While I have filtered the dataset to the best of my ability, users should exercise their own judgment. I am not responsible for the content you generate.
Built with ❤️ and liquid courage by BennyDaBall
Follow me on X @BennyDaBall_OG !