---
title: "LLM2Vec: A Simple AI Approach to Transform Any Decoder-Only LLM into a Text Encoder Achieving SOTA Performance on MTEB in the Unsupervised and Supervised Category"
url: https://daily.dev/posts/llm2vec-a-simple-ai-approach-to-transform-any-decoder-only-llm-into-a-text-encoder-achieving-sota-p-jtqfsyo7x
source_url: https://www.marktechpost.com/2024/04/12/llm2vec-a-simple-ai-approach-to-transform-any-decoder-only-llm-into-a-text-encoder-achieving-sota-performance-on-mteb-in-the-unsupervised-and-supervised-category/
type: article
source: "Machine Learning News"
published: 2024-04-12T22:06:56.305Z
updated: 2024-07-02T02:13:40.789Z
tags: ["embeddings", "nlp", "unsupervised-learning"]
reading_time: 5
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# LLM2Vec: A Simple AI Approach to Transform Any Decoder-Only LLM into a Text Encoder Achieving SOTA Performance on MTEB in the Unsupervised and Supervised Category

**[Machine Learning News](https://daily.dev/sources/mlnews)** · 5 min read · 0 upvotes · 0 comments

## Summary

LLM2Vec is a simple AI approach that transforms any decoder-only LLM into a text encoder, achieving state-of-the-art performance on the Massive Text Embeddings Benchmark (MTEB) in the unsupervised and supervised category. The method uses bidirectional attention, masked next token prediction, and unsupervised contrastive learning to develop robust representations.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.marktechpost.com/2024/04/12/llm2vec-a-simple-ai-approach-to-transform-any-decoder-only-llm-into-a-text-encoder-achieving-sota-performance-on-mteb-in-the-unsupervised-and-supervised-category/>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#embeddings](https://daily.dev/tags/embeddings), [#nlp](https://daily.dev/tags/nlp), [#unsupervised-learning](https://daily.dev/tags/unsupervised-learning)

[View this post on daily.dev](https://daily.dev/posts/llm2vec-a-simple-ai-approach-to-transform-any-decoder-only-llm-into-a-text-encoder-achieving-sota-p-jtqfsyo7x)
