{"by":"schopra909","descendants":24,"id":46721488,"kids":[46735929,46726412,46729122,46729954,46728875,46732333,46728587,46725212,46742471,46728936,46722063,46739963],"score":158,"text":"Writeup (includes good&#x2F;bad sample generations): <a href=\"https:&#x2F;&#x2F;www.linum.ai&#x2F;field-notes&#x2F;launch-linum-v2\">https:&#x2F;&#x2F;www.linum.ai&#x2F;field-notes&#x2F;launch-linum-v2</a><p>We&#x27;re Sahil and Manu, two brothers who spent the last 2 years training text-to-video models from scratch. Today we&#x27;re releasing them under Apache 2.0.<p>These are 2B param models capable of generating 2-5 seconds of footage at either 360p or 720p. In terms of model size, the closest comparison is Alibaba&#x27;s Wan 2.1 1.3B. From our testing, we get significantly better motion capture and aesthetics.<p>We&#x27;re not claiming to have reached the frontier. For us, this is a stepping stone towards SOTA - proof we can train these models end-to-end ourselves.<p>Why train a model from scratch?<p>We shipped our first model in January 2024 (pre-Sora) as a 180p, 1-second GIF bot, bootstrapped off Stable Diffusion XL. Image VAEs don&#x27;t understand temporal coherence, and without the original training data, you can&#x27;t smoothly transition between image and video distributions. At some point you&#x27;re better off starting over.<p>For v2, we use T5 for text encoding, Wan 2.1 VAE for compression, and a DiT-variant backbone trained with flow matching. We built our own temporal VAE but Wan&#x27;s was smaller with equivalent performance, so we used it to save on embedding costs. (We&#x27;ll open-source our VAE shortly.)<p>The bulk of development time went into building curation pipelines that actually work (e.g., hand-labeling aesthetic properties and fine-tuning VLMs to filter at scale).<p>What works: Cartoon&#x2F;animated styles, food and nature scenes, simple character motion. What doesn&#x27;t: Complex physics, fast motion (e.g., gymnastics, dancing), consistent text.<p>Why build this when Veo&#x2F;Sora exist? Products are extensions of the underlying model&#x27;s capabilities. If users want a feature the model doesn&#x27;t support (character consistency, camera controls, editing, style mapping, etc.), you&#x27;re stuck. To build the product we want, we need to update the model itself. That means owning the development process. It&#x27;s a bet that will take time (and a lot of GPU compute) to pay off, but we think it&#x27;s the right one.<p>What’s next?\n- Post-training for physics&#x2F;deformations\n- Distillation for speed\n- Audio capabilities\n- Model scaling<p>We kept a “lab notebook” of all our experiments in Notion. Happy to answer questions about building a model from 0 → 1.  Comments and feedback welcome!","time":1769099507,"title":"Show HN: Text-to-video model from scratch (2 brothers, 2 years, 2B params)","type":"story","url":"https://huggingface.co/collections/Linum-AI/linum-v2-2b-text-to-video"}