lucidrains/flamingo-pytorch
Implementation of 🦩 Flamingo, state-of-the-art few-shot visual question answering attention net out of Deepmind, in Pytorch observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1588
- days_rel: n/a
- days_push: 1415
- n_releases_24m: 0
Adoption not part of the score
1269 stars · 66 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PyTorch implementation of DeepMind's Flamingo visual language model architecture, providing the Perceiver Resampler and Gated Cross-Attention blocks for few-shot visual question answering. It is a research building block meant to be inserted into a large language model so text can attend to image embeddings.
Use cases
- implement the Flamingo architecture in PyTorch
- add visual question answering to a large language model
- resample image embeddings with a perceiver resampler
- build a multimodal vision-language model from scratch
- insert gated cross attention between text and media embeddings
- experiment with few-shot visual language model training
When to choose
- you want a lightweight, pip-installable PyTorch implementation of Flamingo's core components
- you are building a custom multimodal LLM and need the perceiver resampler or gated cross-attention blocks
- you want readable research code to study or adapt the Flamingo architecture
When to avoid
- you need a fully trained, ready-to-use visual question answering model with pretrained weights
- you want a complete production multimodal pipeline rather than architectural components
- you need a framework-agnostic or non-PyTorch solution
Facets
library · maturity active
deep-learning machine-learning llm-training transformers artificial-intelligence deep-learning large-language-models computer-vision python flamingo visual-question-answering perceiver-resampler gated-cross-attention vision-language-model research-implementation pytorch multimodal natural-language-processing
2 sources
- readme: https://github.com/lucidrains/flamingo-pytorch · fetched 2026-08-28 · 05ba2deb3dda
- registry_pypi: https://pypi.org/pypi/flamingo-pytorch/json · fetched 2026-08-29 · 600b018ead33
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lucidrains/flamingo-pytorch | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="lucidrains/flamingo-pytorch")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem