mirror of
https://github.com/hanzoai/ml.git
synced 2026-11-20 23:08:29 +00:00
333 B
333 B
hanzo-ml-modernbert
ModernBERT is a bidirectional encoder-only language model. In this example it is used for the fill-mask task:
Usage
cargo run --example modernbert --release -- --model modern-bert-large --prompt 'The capital of France is [MASK].'
Sentence: 1 : The capital of France is Paris.