Error Instantiating EmbeddingModel with ONNX Model intfloat/multilingual-e5-large #21388
Labels
model:transformer
issues related to a transformer model: BERT, GPT2, Hugging Face, Longformer, T5, etc.
Describe the issue
I am encountering an error while trying to instantiate the EmbeddingModel using the ONNX model intfloat/multilingual-e5-large. The error message is as follows:
Failed to instantiate [org.springframework.ai.embedding.EmbeddingModel]: Factory method 'embeddingClient' threw exception with message: data did not match any variant of untagged enum PreTokenizerWrapper at line 69 column 3
I am unsure why this error is occurring. Below are the relevant details and configuration:
Configuration
To reproduce
Urgency
High
Could someone provide guidance on resolving this issue or point out what might be wrong with the configuration?
Platform
Linux
OS Version
Ubuntu 20.04
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
pip install onnxruntime
ONNX Runtime API
Python
Architecture
X86
Execution Provider
Default CPU
Execution Provider Library Version
N/A
The text was updated successfully, but these errors were encountered: