Expand description
Bundled BGE-M3 sparse-linear projection weights.
The weights file (sparse_linear.safetensors) is embedded at compile time
via include_bytes! and parsed once on first use. All workers share the
same static reference via sparse_linear.
Staticsยง
- SPARSE_
LINEAR ๐ - WEIGHTS_
BYTES ๐ - Bundled sparse-linear projection weights for BGE-M3 sparse embedding.
Functionsยง
- sparse_
linear ๐ - Returns the sparse-linear projection weights used by BGE-M3 sparse embedding.