-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
System Info
Transformers.js: 2.17.2
"@nestjs/common": "^10.0.0",
"@nestjs/config": "^3.2.3",
"@nestjs/core": "^10.0.0",
"@nestjs/platform-express": "^10.0.0",
node v20.17.0
Environment/Platform
- Website/web-app
- Browser extension
- Server-side (e.g., Node.js, Deno, Bun)
- Desktop app (e.g., Electron)
- Other (e.g., VSCode extension)
Description
When using the model "intfloat / multilingual-e5-large" it's giving me this error:
When running the code in ps I get the following error:
Error: Exception during initialization: /onnxruntime_src/onnxruntime/core/optimizer/initializer.cc:30 onnxruntime::Initializer::Initializer(const onnx::TensorProto&, const onnxruntime::Path&) !model_path.IsEmpty() was false. model_path must not be empty. Ensure that a path is provided when the model is created or loaded.
When using the one "Xenova/multilingual-e5-large" it's not giving me the same results as using "intfloat / multilingual-e5-large" with Python.
Reproduction
- Install transformers JS in a Node Application
- Execute a Autotokenizer and AutoModel with "intfloat / multilingual-e5-large"