Skip to main content

Module fastembed

Module fastembed 

Source
Expand description

FastEmbedEmbedder — fastembed-rs ONNX-runtime CPU embedder.

Default model: AllMiniLML6V2 (384-dim, ~80 MB ONNX file auto-downloaded on first use to the user’s cache directory).

Heavy first-build (ONNX runtime crate is ~5-10 minutes from cold cache). Subsequent builds reuse the cached compile.

Structs§

FastEmbedEmbedder
fastembed-rs–backed Embedder.

Constants§

DEFAULT_DIM
Output dimension of DEFAULT_MODEL.
DEFAULT_MODEL
Default model: 384-dimensional AllMiniLML6V2.