Task prefixes for embedding: pair SearchQuery with Document for retrieval
tomaarsen · x · 2026-10-07
Text inputs to Google's new embedding model use task prefixes: SearchQuery, QuestionAnswering, CodeRetrieval, Classification, Clustering and more. For retrieval, pair the query with SearchQuery and corpus text with Document (which adds "title: none"—format real titles manually; no prefix for media). Dimension tradeoff: 128d gives 6x smaller vectors but MMEB v2 drops from 59.01 at 768d to 45.65; the card positions 128d for text-only, while 256d loses far less for mixed modalities.
More from Multimodal
- Reddit users struggle to prompt MOSS Image: more detail kills variation — BarefootCaptain811 · 2026-11-23
- GameWM paper proposes interaction-centric world models to redesign next-gen games around video models — _akhaliq · 2026-11-23
- Indie dev builds Studio for consistent AI characters with Claude as planner, open-sourcing in 3 days — Ill_Ease_6749 · 2026-11-23
- MOSS Image users report persistent over-sharpening even with soft-style LoRAs — Long_Image4145 · 2026-11-23
- Multimodal Flow: HUST and Horizon Robotics unify text and image generation in one process — jiqizhixin · 2026-11-23
- Free t2i dataset with 6,000+ categorized prompts plus ComfyUI testing workflow — LeebLaab · 2026-11-23