Doubling resolution gives 4x tokens, so attention costs far more.
A CLIP batch holds 8 image-caption pairs. How many negative pairs are in the similarity matrix?
The matrix is 8x8 = 64 entries.
8 diagonal positives leave 64 - 8 = 56 negatives.
The prompt "a street, no cars" produces an image full of cars. Why, and what is the fix?
The text encoder embeds the word "cars", so it pushes the image toward cars.
Move it to the negative prompt field instead.
Symmetric cross-entropy over rows and columns
A learned temperature scales the logits
Bigger batch = more negatives = better training
3. Zero-Shot Classification
Embed a photo of a {class} for every class
Embed the image
Pick the highest cosine similarity
4. Interview Point
336x336 with 14x14 patches? 24 x 24 = 576 tokens
Why large batches? More negatives per positive pair
Zero-shot? Class prompts vs image embedding, take max cosine
Guidance scale up
closer to prompt, less diversity, possible oversaturation
Fewer steps (20-30, DPM++ / Euler)
faster, lower quality
Same seed
same starting noise, reproducible output
Interview Point
What does the denoiser predict in training? The added noise. Why latent space? Far cheaper. What does guidance scale control? Prompt adherence vs diversity.
Lower
Higher, full context
Voice agent = STT + LLM + TTS; their latencies add up
Judged on MOS (naturalness) and intelligibility
Diarization is a separate step: who spoke
Voice cloning
Needs consent from the speaker and should be disclosed to listeners.
Chart hallucination? Crop, transcribe values first, then verify
OCR before a VLM? Text-heavy docs needing exact characters
Resolution and cost? More patches mean more tokens
Put the image first; label multiple images
Crop for fine detail
Request structured output
Verify counts and fine reading
4. Interview Point
Single ASR metric? WER
Diffusion target? the added noise (MSE)
CLIP loss? symmetric cross-entropy over the NxN matrix
Cut image token cost? resize or crop, or OCR first