2025
Contrastive Prompting Enhances Sentence Embeddings in LLMs through Inference-Time Steering
ACL 2025long
Extracting sentence embeddings from large language models (LLMs) is a practical direction, as it requires neither additional data nor fine-tuning. Previous studies usually focus on prompt engineering to guide LLMs to encode the core semantic information of the sentence into the embedding of the last…