# Decoder-to-Encoder
Llm2vec Meta Llama 31 8B Instruct Mntp
MIT
LLM2Vec is a simple method to convert decoder-only large language models into text encoders by enabling bidirectional attention, masked next-token prediction, and unsupervised contrastive learning.
Text Embedding
Transformers English

L
McGill-NLP
386
2
Llm2vec Sheared LLaMA Mntp
MIT
LLM2Vec is a simple solution for transforming decoder-only large language models into text encoders, achieved by enabling bidirectional attention, masked next-token prediction, and unsupervised contrastive learning.
Text Embedding
Transformers English

L
McGill-NLP
2,430
5
Featured Recommended AI Models