AIAny
AI Image2024
Icon for item

MiniMind-V

Trains a 65M-parameter vision-language model from scratch in ~2 hours on one RTX 3090, about 3 RMB (~$0.40) of GPU rental. Connects a frozen SigLIP2 encoder to a small MiniMind LLM via a two-layer MLP projector; full PyTorch code for pretraining and SFT.

Introduction

Most vision-language models arrive as opaque checkpoints measured in billions of parameters; this one ships as a training recipe you can run on the GPU already sitting in your desktop. The real product isn't the 65M model it produces — far too small to rival production VLMs — but the fully readable PyTorch pipeline that shows exactly how pixels turn into tokens a language model can reason over.

What Sets It Apart
  • The whole loop — a frozen SigLIP2 vision encoder, a two-layer MLP projection, and a small MiniMind language backbone — trains end to end in roughly two hours on one RTX 3090, about 3 RMB (~$0.40) of rented GPU time. That shrinks the experiment feedback loop from days to a coffee break.
  • Multimodality is stripped to its essential trick: freeze a pretrained vision encoder, learn only the projector and the small LM, and supervise on image-text pairs (ALLaVA-4V). Nothing important is hidden behind a framework abstraction.
  • It's the multimodal sibling of the MiniMind LLM project, so the language backbone is itself trained from scratch — you can trace one model from raw text pretraining all the way to answering questions about an image.
Who It's For

Great fit if you want to understand VLM architecture by reading and editing every line, or you teach or study multimodal ML and need a runnable reference that fits a consumer GPU. Look elsewhere if you need state-of-the-art image understanding for a product — at 65M parameters this is a study model, not a deployable one, and its grasp of fine-grained visual detail is bounded by scale and the SFT data.

Information

  • Websitegithub.com
  • AuthorsJingyao Gong (jingyaogong)
  • Published date2024/09/11

More Items

Hugging Face
AI Image2026

Repackages MOSS-Image model files for ComfyUI, providing int8 and bf16 checkpoints, a Qwen3.5 text encoder and FLUX.2 VAEs to enable layout-aware text-to-image generation with long prompts and bilingual text rendering.

Hugging Face
AI Image2026

Generates images from natural-language prompts or structured JSON layouts, fine-tuned from a 5B backbone to improve bilingual long-text rendering and layout control; runs via a Diffusers pipeline and expects PyTorch + an NVIDIA GPU.

Hugging Face
AI Image2026

Runs the FLUX 3 Image Klein single-file checkpoint in ComfyUI for text-to-image generation and instruction-driven image editing with up to ten reference images, bounding-box layout control, and distilled/base variants; requires a prompt upsampler.