Closed espdev closed 5 months ago
Hi @espdev , what do you propose for specifying versioning ? PRs are welcome :)
Hi @davidberenstein1957,
It seems the dependency versions currently specified in pyproject.toml are not fully compatible with the package code. I think we need to specify the version ranges of the major dependencies with which the package will definitely work without errors (I hope semver will work). spaCy, sentence-transformers, transformers, onnx/onnxruntime. Also it seems fast-sentence-transformers package is outdated for the current version of sentence-transformers package.
Hello,
I try to use the package with ONNX runtime, but the current version works very unstable and doesn't work in most cases. Also it seems fast-sentence-transformers package is outdated.
I try to run examples from Readme and I get errors.
OS: Ubuntu 20.04
Installing:
SpaCy embeddings. It does not work.
Error:
Sentence-transfomer embeddings. It works.
Hugginface zero-shot classifiers. It does not work.
Error:
Standalone usage without spaCy
It works with the default model:
torch/sentence_transformers/sentence-transformers_paraphrase-multilingual-MiniLM-L12-v2/quantized_true.onnx
The following code does not work if the model is not yet downloaded:
Error:
The second run works without errors.
pip list:
Will the package run more stable without ONNX? Maybe we need to specify the critical dependency versions more strictly? Right now it's working very erratically and it's not clear at what point things might break down.