Algomancer / Minimal-Drifting-Models
PublicA minimal implementation of Drifting Models for 2D toy data. Unlike diffusion/flow models that iterate at inference, drifting models evolve the pushforward distribution during training and generate in a single forward pass (1-NFE). The drifting field V governs sample movement: V -> 0 as generated matches data.
A simple script that trains a model to generate 2D patterns like clustered dots and checkerboards using a drifting technique, producing visualizations of data, progress, and drift fields.
How It Works
You stumble upon this neat little project that shows a smart way for computers to learn and recreate fun 2D patterns like circles of dots or checkerboards.
You download the single simple file to your computer to try it out yourself.
You launch the program, and it starts creating example patterns and training a helper to mimic them perfectly.
As it runs, colorful pictures appear showing the target patterns next to what it's creating, getting closer each time.
Special arrow pictures reveal how the creations are gently nudged toward matching the real patterns.
Side-by-side views thrill you as the computer's drawings become indistinguishable from the originals.
You end up with a bunch of beautiful saved images proving the clever one-step creation works wonders.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.