Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: HuggingFaceEmbeddings add trust_remote_code of SentenceTransformer #27142 #27143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edenzyj
Copy link

@edenzyj edenzyj commented Oct 6, 2024

Sentence Transformer trust_remote_code did not include in HuggingFaceEmbeddings from langchain_community.embedding.

Description

Add trust_remote_code=True in SentenceTransformer() in file 'libs/community/langchain_community/embeddings/huggingface.py' line 92.

Issue

Fixes #27142

…gFaceEmbeddings from langchain_community.embedding.
Copy link

vercel bot commented Oct 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Oct 6, 2024 10:14am

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. community Related to langchain-community Ɑ: embeddings Related to text embedding models module 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature labels Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature community Related to langchain-community Ɑ: embeddings Related to text embedding models module size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
Status: Triage
1 participant