elasticsearch-labs icon indicating copy to clipboard operation
elasticsearch-labs copied to clipboard

Import issue cross-encoder/ms-marco-MiniLM-L-6-v2

Open MehdiMoudden opened this issue 10 months ago • 0 comments

Hello guys,

When i want to import the model cross-encoder/ms-marco-MiniLM-L-6-v2 for rerank, I had the issues below:

eland_import_hub_model: error: argument --task-type: invalid choice: 'text_similarity' (choose from 'text_embedding', 'question_answering', 'zero_shot_classification', 'ner', 'text_classification', 'fill_mask')

I was using text_similarity as task type during the import as documented on your example: https://github.com/elastic/elasticsearch-labs/blob/main/supporting-blog-content/re-ranking-elasticsearch-hosted/re-ranking-elasticsearch-hosted.ipynb

Regards,

MehdiMoudden avatar Dec 27 '24 11:12 MehdiMoudden