medium10 pts · first answer countstransformersembeddingsattention
Pooling a decoder model into one vector
You want a sentence embedding from a decoder-only LLM's hidden states. Why is taking the first token's hidden state a poor choice?
Discussion 0
Join free to post in the discussion.
Related questions
- What text embeddings areAI Engineer (LLM & Generative AI)
- Comparing two embeddingsAI Engineer (LLM & Generative AI)
- Dot product of two vectorsAI Engineer (LLM & Generative AI)
- What LLM pretraining learnsAI Engineer (LLM & Generative AI)
- What semantic search adds over keywordsAI Engineer (LLM & Generative AI)
- What an embedding dimension isAI Engineer (LLM & Generative AI)
- Long chunks and embedding limitsAI Engineer (LLM & Generative AI)
- Arabic questions, English documentsAI Engineer (LLM & Generative AI)