Flamingo
Flamingo: a Visual Language Model for Few-Shot Learning
Jean-Baptiste Alayrac et al. · arXiv 2022
Connect pretrained vision and language models to handle interleaved image-text inputs and few-shot context.
What you will implement
Immediately preceding media masks, safe softmax for rows without media, and zero-initialized tanh gating in single-head identity-projection cross-attention.
- 130. Flamingo media-causal gated attention
Flamingo media-causal gated attention
Immediately preceding media masks, safe softmax for rows without media, and zero-initialized tanh gating in single-head identity-projection cross-attention.