C ausal2 V ec: Improving Decoder-only LLM s as Embedding Models through a Contextual Token
Ailiang Lin · Zhuoyun Li · Yusong Wang · Kotaro Funakoshi · Manabu Okumura
摘要
Decoder-only large language models (LLMs) have been increasingly adopted to build embedding models for diverse tasks. To overcome the inherent limitations of causal attention in representation learning, many existing methods modify the attention mechanism to be bidirectional, potentially undermin...