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

Unsupported Model: BGEEmbeddings #14127

Closed
1 task done
maziyarpanahi opened this issue Jan 7, 2024 · 0 comments · Fixed by #14133
Closed
1 task done

Unsupported Model: BGEEmbeddings #14127

maziyarpanahi opened this issue Jan 7, 2024 · 0 comments · Fixed by #14133
Assignees
Labels

Comments

@maziyarpanahi
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues and did not find a match.

Who can help?

@maz

What are you working on?

BGEEmbeddings is not working as a pretrained model in Python

Current Behavior

It fails to work in Python, only works in Scala: Unsupported Model: BGEEmbeddings

Expected Behavior

It should work

Steps To Reproduce

document = DocumentAssembler()\ 
    .setInputCol("text")\ 
    .setOutputCol("document")

embeddings = BGEEmbeddings.pretrained("bge_base", "en")\ 
    .setInputCols("document")\ 
    .setOutputCol("embeddings")

Spark NLP version and Apache Spark

3.5.0
5.2.2

Type of Spark Application

Python Application

Java Version

11

Java Home Directory

No response

Setup and installation

No response

Operating System and Version

No response

Link to your project (if available)

No response

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants