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
pgml.embed trust_remote_code #1169
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A user on Discord submitted the following query with subsequent error:
We are currently using
sentence_transformers
andInstructorEmbedding
Python packages for thepgml.embed
function. This model gets dispatched to thesentence_transformers
package which does not appear to support thetrust_remote_code
keyword.Huggingface shows, for this model, to use
transformers.AutoModel
. We should probably add this in, but how do we determine which model should use which package? Can they all usetransformers
? These questions need answering.The text was updated successfully, but these errors were encountered: