Sentence Similarity
sentence-transformers
PyTorch
Transformers
English
t5
text-embedding
embeddings
information-retrieval
beir
text-classification
language-model
text-clustering
text-semantic-similarity
text-evaluation
prompt-retrieval
text-reranking
feature-extraction
English
Sentence Similarity
natural_questions
ms_marco
fever
hotpot_qa
mteb
Eval Results
Problem when using embedding=HuggingFaceEmbeddings(model_name="hkunlp/instructor-xl")
#25
by
derrickzhu
- opened
Hi. When I am trying to use hkunlp/instructor-xl by calling HuggingFaceEmbeddings (imported from langchain_community.embeddings), there will be a type error as below. I also tried to download instructor-xl and call it locally, but I still get the same type error. Anyone may help?
File "/home/xiaomin/anaconda3/envs/llama/lib/python3.10/site-packages/sentence_transformers/models/Pooling.py", line 120, in load
return Pooling(**config)
TypeError: Pooling.init() got an unexpected keyword argument 'pooling_mode_weightedmean_tokens'
derrickzhu
changed discussion status to
closed
derrickzhu
changed discussion status to
open