eland icon indicating copy to clipboard operation
eland copied to clipboard

Text expansion not supported when using 3rd party models

Open shahkrohan opened this issue 1 year ago • 2 comments
trafficstars

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

shahkrohan avatar Jun 24 '24 18:06 shahkrohan

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

pquentin avatar Jun 25 '24 12:06 pquentin

#706

rohankshah04 avatar Jun 25 '24 20:06 rohankshah04

Closed by #740

davidkyle avatar Dec 16 '24 09:12 davidkyle