What is the reason for "elasticsearch.BadRequestError: BadRequestError(400, 'x_content_parse_exception', '[1:137] unknown field [xlm_roberta]')"?
thomassuedbroecker opened this issue · 1 comments
thomassuedbroecker commented
-
What do I want?
I want to install an additional NLP model to Elasticsearch. The model is called
multilingual-e5-base
. -
What did I do?
Therefore, I followed the steps in Elasticsearch
documentation. -
What I expected?
The
multilingual-e5-base
is successfully installed. -
What I tried?
Here is the relevant section in my Python Notebook for the installation:
!source ../.env && \
eland_import_hub_model \
--url ${REMOTE_HOST} \
--es-username ${USER} \
--es-password ${API_KEY} \
--hub-model-id intfloat/multilingual-e5-base \
--es-model-id multilingual-e5-base \
--task-type text_embedding \
--start
Error message:
raise HTTP_EXCEPTIONS.get(meta.status, ApiError)(
elasticsearch.BadRequestError: BadRequestError(400, 'x_content_parse_exception', '[1:137] unknown field [xlm_roberta]')
Note: I posted the same question on stackoverflow link
joemcelroy commented
Hi there!
Looks like you got an answer on SO, where you need at least 8.9 or above to use this model.
Joe