Skip to content

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

Open
@MehdiMoudden

Description

@MehdiMoudden

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions