7 1 month ago

LoRA adapter on Gemma 4 E4B for 3D print job planning. The first successful fine-tune after v1 (which parroted a template). This is the non-QAT sibling of the recommended v3 QAT model.

ollama run kylebrodeur/microfactory-node-v2

Models

View all →

Readme

Microfactory Node: 3D Printer (LoRA v2)

LoRA adapter on Gemma 4 E4B for 3D print job planning. The first successful fine-tune after v1 (which parroted a template). This is the non-QAT sibling of the recommended v3 QAT model.

What it does

Given a part, material, and environment, returns structured Advice JSON: nozzle/bed temp, retraction, fan, risk regions, and reasoning from precedent. A deterministic Spine validates every value. Two named agents keep it honest: O’Brien proposes, La Forge inspects.

Training

  • Base: google/gemma-4-E4B-it
  • Method: LoRA r=4, α=8, 1 epoch
  • Dataset: 180 train / 80 eval, live-generated on Modal A10G
  • Noisy targets (temperature=0.7) to prevent template memorization

Iteration history

Version Base Result
v1 gemma-3-1b-it ❌ Parroted template
v2 gemma-4-E4B-it ✅ Well-Tuned
v3 QAT gemma-4-E4B-it-qat-q4_0 ✅ Well-Tuned (QAT, recommended)

Safety

This adapter proposes settings. It does not validate them. A deterministic Spine clamps every proposed value against hard material bounds. The LoRA gives the opinion; the Spine has the veto. The human always decides.

Links

License

Gemma license (inherited from base model).