fastembed-rs
Fastembed-rs provides a Rust-based solution for generating embeddings with ONNX inference, supporting synchronous operations and parallel embeddings using Rayon without Tokio. It integrates @huggingface/tokenizers for fast text encoding and offers high-performing text and image embedding models, like Flag Embedding. The library is lightweight, with no hidden dependencies, and achieves high accuracy, outperforming models like OpenAI Ada-002. It's versatile, with support for custom models and local file inference.