5 releases

0.2.2 Feb 28, 2024
0.2.1 Feb 28, 2024
0.2.0 Feb 19, 2024
0.1.1 Dec 21, 2023
0.1.0 Dec 16, 2023

#888 in Machine learning


Used in kalosm

MIT/Apache and LGPL-3.0

535KB
12K SLoC

Kalosm Language

This crate is a collection of language processing utilities for the Kalosm project.

There are two main traits in this crate: prelude::ModelExt for large language model (that implement prelude::Model) and prelude::Embedder for text embedding model.

Those two traits interact with the context that this crate provides. Many different types in this crates can be converted to a prelude::Document with the prelude::IntoDocument or prelude::IntoDocuments trait:

Dependencies

~71–110MB
~2M SLoC