You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
As of 0.16.0 I am unable to instantiate an instance of HuggingFaceEmbeddingEncoder from unstructured.embed.huggingface due to a missing abstract method (initialize)
To Reproduce
Provide a code snippet that reproduces the issue.
Expected behavior
A clear and concise description of what you expected to happen.
No error
Screenshots
If applicable, add screenshots to help explain your problem.
N/A
Environment Info
Please run python scripts/collect_env.py and paste the output here.
This will help us understand more about the environment in which the bug occurred.
Describe the bug
A clear and concise description of what the bug is.
As of
0.16.0
I am unable to instantiate an instance ofHuggingFaceEmbeddingEncoder
fromunstructured.embed.huggingface
due to a missing abstract method (initialize
)To Reproduce
Provide a code snippet that reproduces the issue.
Returns
TypeError: Can't instantiate abstract class HuggingFaceEmbeddingEncoder without an implementation for abstract method 'initialize'
For full example see: https://github.com/iterative/datachain/blob/main/examples/llm_and_nlp/unstructured-embeddings-gen.py
Expected behavior
A clear and concise description of what you expected to happen.
No error
Screenshots
If applicable, add screenshots to help explain your problem.
N/A
Environment Info
Please run
python scripts/collect_env.py
and paste the output here.This will help us understand more about the environment in which the bug occurred.
I have seen this across Windows, Linux and Mac (https://github.com/iterative/datachain/actions/runs/11395986364)
Additional context
Add any other context about the problem here.
I opened to #3730 close this issue.
The text was updated successfully, but these errors were encountered: