TypeError: Pooling.__init__() got an unexpected keyword argument 'include_prompt'
#13
by
Rageshhf
- opened
when iam trying to use Snowflake/snowflake-arctic-embed-m with
embedding_model="Snowflake/snowflake-arctic-embed-m"
embeddings = HuggingFaceEmbeddings(model_name=embedding_model)
iam getting the error
TypeError: Pooling.init() got an unexpected keyword argument 'include_prompt'
I believe you need Sentence Transformers v2.7.0 or higher:
pip install -U sentence-transformers
- Tom Aarsen
spacemanidol
changed discussion status to
closed