Sentence Similarity
PEFT
Safetensors
English
text-embedding
embeddings
information-retrieval
beir
text-classification
language-model
text-clustering
text-semantic-similarity
text-evaluation
text-reranking
feature-extraction
Sentence Similarity
natural_questions
ms_marco
fever
hotpot_qa
mteb
Eval Results (legacy)
Instructions to use McGill-NLP/LLM2Vec-Meta-Llama-3-8B-Instruct-mntp-supervised with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use McGill-NLP/LLM2Vec-Meta-Llama-3-8B-Instruct-mntp-supervised with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Error : Loading Model
#2
by Onkur - opened
Load model
model = AutoModel.from_pretrained(
"McGill-NLP/LLM2Vec-Meta-Llama-3-8B-Instruct-mntp",
trust_remote_code=True,
config=config,
torch_dtype=torch.bfloat16,
device_map="cuda" if torch.cuda.is_available() else "cpu",
)
Error:
TypeError: LoraConfig.init() got an unexpected keyword argument 'loftq_config'
I am getting this error while loading the model.
Which version of peft and transformers are you using?