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

Text expansion not supported when using 3rd party models #704

Open
shahkrohan opened this issue Jun 24, 2024 · 2 comments
Open

Text expansion not supported when using 3rd party models #704

shahkrohan opened this issue Jun 24, 2024 · 2 comments
Labels
bug Something isn't working topic:NLP Issue or PR about NLP model support and eland_import_hub_model

Comments

@shahkrohan
Copy link

File "/env/lib/conda/rohan-retrieval/lib/python3.10/site-packages/eland/ml/pytorch/transformers.py", line 665, in init
self._traceable_model = self._create_traceable_model()
File "/env/lib/conda/rohan-retrieval/lib/python3.10/site-packages/eland/ml/pytorch/transformers.py", line 1029, in _create_traceable_model
raise TypeError(
TypeError: Unknown task type text_expansion, must be one of: fill_mask, ner, pass_through, question_answering, text_classification, text_embedding, text_expansion, text_similarity, zero_shot_classification

this is from here. would appreciate if you fixed this ASAP

@pquentin
Copy link
Member

Thanks! It looks like @davidkyle may have missed that in #520? This is indeed the only task type missing in _create_traceable_model.

@pquentin pquentin added bug Something isn't working topic:NLP Issue or PR about NLP model support and eland_import_hub_model labels Jun 25, 2024
@rohankshah04
Copy link

#706

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working topic:NLP Issue or PR about NLP model support and eland_import_hub_model
Projects
None yet
Development

No branches or pull requests

3 participants