candding 0.1.0

Pure candle embeddings for Rust with no ONNX: dense, sparse, multi-vector and rerank models today, image models on the roadmap
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! ModernBERT encoder as `Alibaba-NLP/gte-modernbert-base` publishes it: rotary positions over two bases,
//! alternating global and local-window attention, a fused `Wqkv` and a GeGLU pre-norm block.

mod attention;
mod config;
mod embeddings;
mod layer;
mod mlp;
mod model;

pub use config::ModernBertConfig;
pub use model::ModernBertModel;