9
Backend Export
⚙
Export Sentence Transformer models to accelerated backends
In the following you find models tuned to be used for sentence / text embedding generation. They can be used with the sentence-transformers package.
backend="onnx"
or backend="openvino"
when initializing a SparseEncoder to get started, but I also included utility functions for optimization, dynamic quantization, and static quantization, plus benchmarks.n-tuple-scores
output format from mine_hard_negatives
gather_across_devices=True
to load in-batch negatives from the other devices too! Essentially a free lunch, pretty big impact potential in my evals.transformers
, and you install trackio
with pip install trackio
, then your experiments will also automatically be tracked locally with trackio. Just open up localhost and have a look at your losses/evals, no logins, no metric uploading.