Diffusion models turn data into Gaussian noise with a known process and train a network to undo it step by step; flow matching regresses a velocity field instead, so sampling is an ODE solve. This page builds DDPM, DDIM, flow matching and reflow on 2-D data and measures steps against quality.
Qwen2.5-VL spans 3B, 7B and 72B, combining dynamic-resolution vision, video temporal grounding and document parsing with GUI and tool-use capabilities.
LLaVA connects a frozen CLIP ViT-L/14, one linear projection and Vicuna: stage 1 trains only the projection, stage 2 tunes it with the language model on 158K visual instructions written by text-only GPT-4. This post covers the method, rechecks the tables and re-runs stage 1 at small scale.
Flow Matching (Lipman et al., 2022) turns generative modeling into regression: pick a probability path from noise to data, regress its vector field, and never solve an ODE in training. Gaussian paths include diffusion, and OT paths are another choice. Code compares both on a 2D checkerboard.
CLIP trains an image encoder and a text encoder with contrastive learning on 400 million image-text pairs, so a classifier can be defined by a sentence. This post walks through the method, rechecks the paper's numbers and runs zero-shot, few-shot and typographic-attack tests on CIFAR-10.
ViT drops convolutions: it cuts an image into fixed-size patches, projects each into a token, adds position embeddings and feeds a standard Transformer encoder. It trails ResNets on small data but, pre-trained on JFT-300M, reaches 88.55% on ImageNet with about a quarter of BiT-L's compute.
DDPM models generation as fixed forward noising plus learned reverse denoising: the network predicts each step's noise and trains with an unweighted mean squared error, reaching FID 3.17 on CIFAR-10. Code checks the forward closed form, endpoint KL and loss weights on 2D toy data.
SimCLR treats two augmentations of an image as positives and others as negatives with NT-Xent. Ablations establish augmentation composition, nonlinear projection and batch size as central design choices.
ResNet recasts layers as residual functions with identity shortcuts, addressing deep-network degradation. Its 152-layer model reports 3.57% ImageNet top-5 error and residual learning became a default building block.
U-Net combines a context-encoding contracting path, a resolution-restoring expanding path and skip connections. Elastic augmentation enables strong biomedical segmentation with few annotated images.
GANs train a noise-to-sample generator against a real/fake discriminator. The paper derives the optimal discriminator and a JS-divergence equilibrium, while practice uses a non-saturating generator loss.