ai ml4 min read

AlekseyCalvin/LFM3-VL-2B-3D-Coder: Fine-Tuning a Vision-Language Model for 3D Scenes

3 similar posts
  • Unsloth Desktop
  • LiquidAI/LFM3-VL-2B
  • ccore/Qwen3.5-4B-3D-Coder
  • Google Colab Pro
  • NVIDIA A100
  • llama.cpp

AI Summary

This article details the supervised fine-tuning and exploration of AlekseyCalvin/LFM3-VL-2B-3D-Coder, a model derived from LiquidAI/LFM3-VL-2B to generate executable Three.js 3D scenes and GLB-exportable assets. The model utilizes QLoRA and native DFT (Direct Fine-Tuning) via TRL on an NVIDIA A100-SXM4-80GB GPU, handling sequences up to 66K tokens without truncation.

Key Takeaways

  • The base model is LiquidAI/LFM3-VL-2B, fine-tuned using QLoRA with bitsandbytes NF4 and double quantization.
  • Implements native DFT via TRL 1.17.1 (loss_type="dft") with no reinforcement learning stage.
  • Trained on ccore/ThreeJS-3D-Scenes and ccore/ThreeJS-3D-GLB-Assets datasets with no length truncation, reaching up to 66K tokens.

Why it matters

It demonstrates how to effectively specialize smaller vision-language models (under 2B parameters) for complex code generation tasks like 3D scene creation using advanced memory-efficient training configurations such as QLoRA and DFT.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.