We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With Opensearch v2.15.0, When deploying local ONNX model "gte-large-en-v1.5", I got an error of:
v2.15.0
input mismatch, looking for: [input_ids, attention_mask, token_type_ids]
The model zip file can be downloaded from: https://github.com/magda-io/embedding_models/releases/tag/gte-large-en-v1.5
The model can be registered & downloaded properly. But when deploy, the error above will be produced.
However, a smaller version of similar model "gte-base-en-v1.5" can be deployed (and create emebedings) properly with no issue.
The working model can be found here: https://github.com/magda-io/embedding_models/releases/tag/gte-base-en-v1.5
Plugins
Following the guide here: https://opensearch.org/docs/latest/ml-commons-plugin/custom-local-models/
POST /_plugins/_ml/models/_register { "name": "gte-large-en-v1.5", "version": "1.5.0", "model_group_id": "wlcnb4kBJ1eYAeTMHlV6", "description": "gte-large-en-v1.5", "function_name": "TEXT_EMBEDDING", "model_format": "ONNX", "model_content_size_in_bytes": 1271086226, "model_content_hash_value": "72e4037cd3e2a2499a3c92759159982982871a40715ca7c38f583934aa17306b", "model_config": { "model_type": "BertModel", "embedding_dimension": 768, "framework_type": "sentence_transformers" }, "url": "https://github.com/magda-io/embedding_models/releases/download/gte-large-en-v1.5/model.zip" }
Be able to successfully deploy the ONNX format model without error.
Plugins Running the official Docker image with no additional plugins installed.
Screenshots If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Hello, Same error with "Snowflake/snowflake-arctic-embed-m" https://huggingface.co/Snowflake/snowflake-arctic-embed-m
Sorry, something went wrong.
[Triage - attendees 1 2 3 4 5] @opensearch-project/admin Could you please move this to the ml-commons repository?
dhrubo-os
No branches or pull requests
Describe the bug
With Opensearch
v2.15.0
, When deploying local ONNX model "gte-large-en-v1.5", I got an error of:The model zip file can be downloaded from: https://github.com/magda-io/embedding_models/releases/tag/gte-large-en-v1.5
The model can be registered & downloaded properly. But when deploy, the error above will be produced.
However, a smaller version of similar model "gte-base-en-v1.5" can be deployed (and create emebedings) properly with no issue.
The working model can be found here: https://github.com/magda-io/embedding_models/releases/tag/gte-base-en-v1.5
Related component
Plugins
To Reproduce
Following the guide here: https://opensearch.org/docs/latest/ml-commons-plugin/custom-local-models/
Expected behavior
Be able to successfully deploy the ONNX format model without error.
Additional Details
Plugins
Running the official Docker image with no additional plugins installed.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: