Skip to content

McGill-NLP

LLM2Vec-Sheared-LLaMA-mntp

McGill-NLP/LLM2Vec-Sheared-LLaMA-mntp

LLM2Vec-Sheared-LLaMA-mntp is a sentence similarity model from McGill-NLP. Use it when you need a score for how close two texts are. It is set up for transformers. The card lists the license as mit.

LLM2Vec is a simple recipe to convert decoder-only LLMs into text encoders. It consists of 3 simple steps: 1) enabling bidirectional attention, 2) masked next token prediction, and 3) unsupervised contrastive learning…

Downloads · 30 days

249

0% of all-time downloads

All-time downloads

333K

Public

Repo size

30.5 MB

Likes

6

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.safetensors30 MB · 93%

At a glance

Task
Sentence Similarity
Library
transformers
License
mit
Model type
llama
Access
Public
Created
Apr 4, 2024
Updated
May 21, 2024
SHA
eb4ee4c1
Task
Sentence Similarity
Library
transformers
Type
llama
License
mit
Languages
en
Created
Apr 4, 2024
Updated
May 21, 2024